osu-web icon indicating copy to clipboard operation
osu-web copied to clipboard

v2 endpoints return error

Open cyperdark opened this issue 2 years ago • 7 comments

/beatmapsets/{beatmapset}/favourites

{"error":"Invalid action"}

image

/me/download-quota-check

{"error":null}

image

/notifications/mark-read

returning empty string and notifications still unreaded

""

image

cyperdark avatar May 10 '22 04:05 cyperdark

what's the status code? also all those endpoints are lazer only

nanaya avatar May 10 '22 04:05 nanaya

/beatmapsets/{beatmapset}/favourites 422

/me/download-quota-check 404

/notifications/mark-read 204

i know that they lazerr only, other endpoints return json data or mark as read (chat message)

cyperdark avatar May 10 '22 07:05 cyperdark

/beatmapsets/{beatmapset}/favourites 422

as per status and error message, invalid parameter was specified (or more like it's missing required parameter).

/me/download-quota-check 404

there's a bug here.

/notifications/mark-read 204

the parameter has been changed and documentation hasn't been updated to reflect it. The response is still 204 because that's all it returns.

nanaya avatar May 10 '22 07:05 nanaya

oh /beatmapsets/{beatmapset}/favourites should have action query parameter, i thought its was returning list of beatmap favourites but its favorite or unfavorite specified beatmap

cyperdark avatar May 10 '22 12:05 cyperdark

/me/download-quota-check working, and i fixed issue with /beatmapsets/{beatmapset}/favourites but /notifications/mark-read are not mark notification as readed image

cyperdark avatar May 12 '22 01:05 cyperdark

but /notifications/mark-read are not mark notification as readed

I don't know what you're expecting trying the same parameter after I said

the parameter has been changed and documentation hasn't been updated to reflect it

nanaya avatar May 12 '22 06:05 nanaya

ah, sorry (forgot about that)

cyperdark avatar May 13 '22 05:05 cyperdark