Fix #525 - Add instance information API
This commit is contained in:
parent
0989cb79ff
commit
c618b153be
|
@ -19,7 +19,7 @@ API overview
|
||||||
- Who reblogged/favourited a status
|
- Who reblogged/favourited a status
|
||||||
- Following/unfollowing accounts
|
- Following/unfollowing accounts
|
||||||
- Blocking/unblocking accounts
|
- Blocking/unblocking accounts
|
||||||
- Getting site information
|
- Getting instance information
|
||||||
- Creating OAuth apps
|
- Creating OAuth apps
|
||||||
- [Entities](#entities)
|
- [Entities](#entities)
|
||||||
- Status
|
- Status
|
||||||
|
@ -227,12 +227,11 @@ Returns the updated relationship to the user.
|
||||||
|
|
||||||
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.
|
Returns an object containing the `title`, `description`, `email` and `uri` of the instance. Does not require authentication.
|
||||||
Does not require authentication.
|
|
||||||
|
|
||||||
# Muting and unmuting users
|
# Muting and unmuting users
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue