Adds site metadata access to the API

This commit is contained in:
Kibigo 2017-02-27 04:06:25 -08:00
parent b505ee3ee2
commit c00bfd1972
1 changed files with 8 additions and 0 deletions

View File

@ -19,6 +19,7 @@ API overview
- Who reblogged/favourited a status
- Following/unfollowing accounts
- Blocking/unblocking accounts
- Getting site information
- Creating OAuth apps
- [Entities](#entities)
- Status
@ -207,6 +208,13 @@ Returns the updated relationship to the user.
Returns the updated relationship to the user.
### Getting site information
**GET /api/v1/site**
Returns an object containing the `title`, character limit (`max_chars`), and an object of `links` for the site.
Does not require authentication.
### OAuth apps
**POST /api/v1/apps**