-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add /users/<user>/messages #18
Comments
See scratchfoundation/scratch-www#1487 for a PR that uses these. |
/users/<user>/messages/admin is probably used for private notifications from administrators; I can document it, but I can't seem to get any results (it just returns an empty array, regardless of the number of alerts the account has). Maybe it's a totally new feature? (If so, I wonder what'll happen to old alerts. Probably I'm just testing it wrong.) |
Old alerts are all gone/hidden, and not returned from the API. |
@towerofnix Your "Authorisation" page says that the auth token is for the Scratch site; not the API -- but your example demonstrates the opposite |
@joker314 I'd appreciate you opening another issue for that rather than commenting here. It seems not relevant to this issue, but maybe I'm misunderstanding? In any case, I'm not sure I see what you mean?
These are all true (API endpoints are the ones that require you to authenticate; the token is gotten from scratch.mit.edu; that example URL works). |
Oh I see, I misunderstood. Never mind |
I got a Scratcher invite on a test account.
Invitee ID is 17629253, dunno what that means though. "Unread" stayed at 1, even after clicking "Click here to learn more!". Btw, request to become a Scratcher is After becoming a Scratcher, |
Can you clarify what this means? thanks! |
invite object: datetime_created, id. Can be dismissed like normal admin messages probably.
The text was updated successfully, but these errors were encountered: