-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
tried with
gallery-dl --print-traffic https://misskey.io/@sin_pentagram (NSFW)
after 100 notes, it says
send: b'POST /api/users/notes HTTP/1.1\r\nHost: misskey.io\r\nUser-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0) Gecko/20100101 Firefox/143.0\r\nAccept: /\r\nAccept-Language: en-US,en;q=0.5\r\nAccept-Encoding: gzip, deflate, br\r\nReferer: https://misskey.io/\r\nContent-Type: application/json\r\nCookie: __cf_bm=1y.cRu69ekPD0KJ6DgdIUfS3G5xyh1QKa53ZKasLZl4-1758683767-1.0.1.1-P9RbCglbWzRzRA9TftL8jRIQ2zAyx0z1ch2fsUPjCVroCq3qWo2vdaqocrNcut1maWdt.KrA_z5fxK1kMvC7FyqtVjqsvCAeGNwXcJ9CQxw\r\nContent-Length: 64\r\n\r\n'
send: b'{"userId":"9bz2c1a4um","limit":100,"untilId":"9zmdtot9nk96026a"}'
reply: 'HTTP/1.1 500 Internal Server Error\r\n'
looking into its document
https://misskey.io/api-doc#tag/users/operation/users___notes
https://api-doc.misskey.io/api-7254111
and tried some combination with curl, It seems that "withRenotes" is not optional when "untilId" is present.
the response seems right using the request body below:
{
"userId": "9bz2c1a4um",
"withRenotes": false,
"limit": 100,
"untilId": "9zmdtot9nk96026a"
}