Update Status method docs to include unauthenticated limits
Not sure if this follows the correct style or is precisely where these limits should be noted, but the intent is to save others time by documenting these hardcoded limits:
99be47f8b9/app/controllers/api/v1/statuses_controller.rb (L21-L24)
Related: https://github.com/mastodon/mastodon/issues/25892
This commit is contained in:
parent
d9f99fa667
commit
6b60613dba
|
@ -455,7 +455,7 @@ GET /api/v1/statuses/:id/context HTTP/1.1
|
|||
View statuses above and below this status in the thread.
|
||||
|
||||
**Returns:** [Context]({{< relref "entities/context" >}})\
|
||||
**OAuth:** Public for public statuses. User token + `read:statuses` for private statuses.\
|
||||
**OAuth:** Public for public statuses limited to 40 ancestors and 60 descendants with a maximum depth of 20. User token + `read:statuses` for up to 4,096 ancestors, 4,096 descendants, unlimited depth, and private statuses.\
|
||||
**Version history:**\
|
||||
0.0.0 - added
|
||||
|
||||
|
|
Loading…
Reference in New Issue