Skip to content

[misskey.io] include 'withFiles', 'sinceDate' and 'untilDate' parameters in API requests #8516

@yuyu0111

Description

@yuyu0111

According to the API documentation, you can pass the optional parameters withFiles (boolean), sinceDate (integer) and untilDate (integer) to further filter the results of a query.

Currently, if you want to download images from a user without withFiles, for example, gallery-dl will check every note but only download the notes with files, which could take a while in some cases.

https://misskey.io/api-doc#tag/users/operation/users___notes

You can use the following link to test the API: https://api-doc.misskey.io/api-7254111
You can also use this JSON body for testing:

{
    "userId": "9gngvlozsc",
    "withReplies": false,
    "withRenotes": false,
    "limit": 10,
    "withFiles": true,
    "sinceDate": 1759409072027,
    "untilDate": 1761649111628
}

Removing any of the previously mentioned parameters in the test JSON will return a different response.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions