Mark all APIs that do not require authentication (#142)

This commit is contained in:
happycoloredbanana 2017-04-27 12:15:33 +03:00 committed by wxcafé
parent 115f73f005
commit 00103cbf95
1 changed files with 13 additions and 0 deletions

View File

@ -292,6 +292,7 @@ Returns the local representation of the followed account, as an [Account](#accou
GET /api/v1/instance
Returns the current [Instance](#instance).
Does not require authentication.
### Media
@ -386,6 +387,8 @@ Returns [Results](#results).
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.
Does not require authentication.
### Statuses
#### Fetching a status:
@ -394,18 +397,24 @@ Otherwise, it will do a local account and hashtag search.
Returns a [Status](#status).
Does not require authentication.
#### Getting status context:
GET /api/v1/statuses/:id/context
Returns a [Context](#context).
Does not require authentication.
#### Getting a card associated with a status:
GET /api/v1/statuses/:id/card
Returns a [Card](#card).
Does not require authentication.
#### Getting who reblogged/favourited a status:
GET /api/v1/statuses/:id/reblogged_by
@ -421,6 +430,8 @@ Query parameters:
Returns an array of [Accounts](#account).
Does not require authentication.
#### Posting a new status:
POST /api/v1/statuses
@ -474,6 +485,8 @@ Query parameters:
`max_id` and `since_id` are usually get from the `Link` header.
Returns an array of [Statuses](#status), most recent ones first.
'public' and 'tag' timelines do not require authentication.
___
## Entities