All recipes
Api-Versioning
When and how to version your API ?
Beginner
Design asynchronous API
How to design asynchronous API
Advanced
Batch processing
Update many resources in a single request (a.k.a. a batch)
Advanced
Complex filter
I need a way to handle calls that contains many parameters in URL
Medium
Create a resource with an already known id
How to create a resource when the id is already known?
Beginner
API Error format
How to format the response body in case of an API error?
Beginner
Beware of chatty errors
How error messages can lead to security issues ?
Beginner
File upload through API
How to upload a file through a REST API?
Medium
Internationalize your API
How to design API resources that depends on the requested language or country
Medium
Light and complex resources
I need a light version and a complete version of the same resource
Beginner
Partial update of a resource
How to update only a few fields of a resource?
Beginner
Resource existence
How to check a resource existence ?
Beginner
Resources depending on an authenticated user
Should I expose resources depending on the user authenticated by an access token?
Medium
Self-generated documentation
Why use self-generated documentation for our API ?
Beginner
Made with ❤️ by the WOAPI team @OCTO.
Repository:
Cookbook API
(opens new window)