Mark all APIs that do not require authentication (#142)
This commit is contained in:
parent
115f73f005
commit
00103cbf95
1 changed files with 13 additions and 0 deletions
|
@ -292,6 +292,7 @@ Returns the local representation of the followed account, as an [Account](#accou
|
||||||
GET /api/v1/instance
|
GET /api/v1/instance
|
||||||
|
|
||||||
Returns the current [Instance](#instance).
|
Returns the current [Instance](#instance).
|
||||||
|
|
||||||
Does not require authentication.
|
Does not require authentication.
|
||||||
|
|
||||||
### Media
|
### Media
|
||||||
|
@ -386,6 +387,8 @@ Returns [Results](#results).
|
||||||
If `q` is a URL, Mastodon will attempt to fetch the provided account or status.
|
If `q` is a URL, Mastodon will attempt to fetch the provided account or status.
|
||||||
Otherwise, it will do a local account and hashtag search.
|
Otherwise, it will do a local account and hashtag search.
|
||||||
|
|
||||||
|
Does not require authentication.
|
||||||
|
|
||||||
### Statuses
|
### Statuses
|
||||||
|
|
||||||
#### Fetching a status:
|
#### Fetching a status:
|
||||||
|
@ -394,18 +397,24 @@ Otherwise, it will do a local account and hashtag search.
|
||||||
|
|
||||||
Returns a [Status](#status).
|
Returns a [Status](#status).
|
||||||
|
|
||||||
|
Does not require authentication.
|
||||||
|
|
||||||
#### Getting status context:
|
#### Getting status context:
|
||||||
|
|
||||||
GET /api/v1/statuses/:id/context
|
GET /api/v1/statuses/:id/context
|
||||||
|
|
||||||
Returns a [Context](#context).
|
Returns a [Context](#context).
|
||||||
|
|
||||||
|
Does not require authentication.
|
||||||
|
|
||||||
#### Getting a card associated with a status:
|
#### Getting a card associated with a status:
|
||||||
|
|
||||||
GET /api/v1/statuses/:id/card
|
GET /api/v1/statuses/:id/card
|
||||||
|
|
||||||
Returns a [Card](#card).
|
Returns a [Card](#card).
|
||||||
|
|
||||||
|
Does not require authentication.
|
||||||
|
|
||||||
#### Getting who reblogged/favourited a status:
|
#### Getting who reblogged/favourited a status:
|
||||||
|
|
||||||
GET /api/v1/statuses/:id/reblogged_by
|
GET /api/v1/statuses/:id/reblogged_by
|
||||||
|
@ -421,6 +430,8 @@ Query parameters:
|
||||||
|
|
||||||
Returns an array of [Accounts](#account).
|
Returns an array of [Accounts](#account).
|
||||||
|
|
||||||
|
Does not require authentication.
|
||||||
|
|
||||||
#### Posting a new status:
|
#### Posting a new status:
|
||||||
|
|
||||||
POST /api/v1/statuses
|
POST /api/v1/statuses
|
||||||
|
@ -474,6 +485,8 @@ Query parameters:
|
||||||
`max_id` and `since_id` are usually get from the `Link` header.
|
`max_id` and `since_id` are usually get from the `Link` header.
|
||||||
|
|
||||||
Returns an array of [Statuses](#status), most recent ones first.
|
Returns an array of [Statuses](#status), most recent ones first.
|
||||||
|
|
||||||
|
'public' and 'tag' timelines do not require authentication.
|
||||||
___
|
___
|
||||||
|
|
||||||
## Entities
|
## Entities
|
||||||
|
|
Loading…
Reference in a new issue