音楽で楽しみましょう!-Let's have fun with music!-
Signed-off-by: Shin'ya Minazuki <shinyoukai@laidback.moe>
This commit is contained in:
parent
7c3206bf83
commit
54c6d22102
517 changed files with 637 additions and 639 deletions
|
|
@ -1,12 +1,12 @@
|
|||
# Funkwhale API
|
||||
# FunQuail API
|
||||
|
||||
This is the Funkwhale API. Check out our [API explorer](https://docs.funkwhale.audio/swagger/) for interactive documentation.
|
||||
This is the FunQuail API. Check out our [API explorer](https://funquail.laidback.moe/docs/swagger/) for interactive documentation.
|
||||
|
||||
## OAuth Authentication
|
||||
|
||||
Funkwhale uses the OAuth [authorization grant flow](https://tools.ietf.org/html/rfc6749#section-4.1) for external apps. This flow is a secure way to authenticate apps that requires a user's explicit consent to perform actions. You can use our demo server at <https://demo.funkwhale.audio> for testing purposes.
|
||||
FunQuail uses the OAuth [authorization grant flow](https://tools.ietf.org/html/rfc6749#section-4.1) for external apps. This flow is a secure way to authenticate apps that requires a user's explicit consent to perform actions. You can use our demo server at <https://demo.funkwhale.audio> for testing purposes.
|
||||
|
||||
To authenticate with the Funkwhale API:
|
||||
To authenticate with the FunQuail API:
|
||||
|
||||
1. Create an application by sending a `POST` request to `api/v1/oauth/apps`. Include your scopes and redirect URI (use `urn:ietf:wg:oauth:2.0:oob`
|
||||
to get an authorization code you can copy)
|
||||
|
|
@ -15,7 +15,7 @@ To authenticate with the Funkwhale API:
|
|||
4. Use your access token to authenticate your calls with the following format: `Authorization: Bearer <token>`
|
||||
5. Refresh your access token by sending a refresh request to `/api/v1/oauth/token`
|
||||
|
||||
For more detailed instructions, see [our API authentication documentation](https://docs.funkwhale.audio/developers/authentication.html).
|
||||
For more detailed instructions, see [our API authentication documentation](https://funquail.laidback.moe/docs/developers/authentication.html).
|
||||
|
||||
## Application token authentication
|
||||
|
||||
|
|
@ -23,7 +23,7 @@ If you have an account on your target pod, you can create an application at `/se
|
|||
|
||||
## Rate limiting
|
||||
|
||||
Funkwhale supports rate-limiting as of version 0.2.0. Pod admins can choose to rate limit specific endpoints to prevent abuse and improve the stability of the service. If the server drops a request due to rate-limiting, it returns a `429` status code.
|
||||
FunQuail supports rate-limiting as of version 0.2.0. Pod admins can choose to rate limit specific endpoints to prevent abuse and improve the stability of the service. If the server drops a request due to rate-limiting, it returns a `429` status code.
|
||||
|
||||
Each API call returns HTTP headers to pass the following information:
|
||||
|
||||
|
|
@ -32,8 +32,8 @@ Each API call returns HTTP headers to pass the following information:
|
|||
- How many more requests in the scope can be made within the rate-limit timeframe (`X-RateLimit-Remaining`)
|
||||
- How much time does the client need to wait to send another request (`Retry-After`)
|
||||
|
||||
For more information, check our [rate limit documentation](https://docs.funkwhale.audio/developer/api/rate-limit.html)
|
||||
For more information, check our [rate limit documentation](https://funquail.laidback.moe/docs/developer/api/rate-limit.html)
|
||||
|
||||
## Resources
|
||||
|
||||
For more information about API usage, refer to [our API documentation](https://docs.funkwhale.audio/api.html).
|
||||
For more information about API usage, refer to [our API documentation](https://funquail.laidback.moe/docs/api.html).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue