Fix #525 - Add instance information API
This commit is contained in:
parent
0989cb79ff
commit
c618b153be
1 changed files with 4 additions and 5 deletions
|
@ -19,7 +19,7 @@ API overview
|
|||
- Who reblogged/favourited a status
|
||||
- Following/unfollowing accounts
|
||||
- Blocking/unblocking accounts
|
||||
- Getting site information
|
||||
- Getting instance information
|
||||
- Creating OAuth apps
|
||||
- [Entities](#entities)
|
||||
- Status
|
||||
|
@ -227,12 +227,11 @@ Returns the updated relationship to the user.
|
|||
|
||||
Returns the updated relationship to the user.
|
||||
|
||||
### Getting site information
|
||||
### Getting instance information
|
||||
|
||||
**GET /api/v1/site**
|
||||
**GET /api/v1/instance**
|
||||
|
||||
Returns an object containing the `title`, character limit (`max_chars`), and an object of `links` for the site.
|
||||
Does not require authentication.
|
||||
Returns an object containing the `title`, `description`, `email` and `uri` of the instance. Does not require authentication.
|
||||
|
||||
# Muting and unmuting users
|
||||
|
||||
|
|
Loading…
Reference in a new issue