mirror of
https://github.com/mastodon/documentation
synced 2025-04-11 22:56:17 +02:00
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
|
||||
- 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…
x
Reference in New Issue
Block a user