-
Notifications
You must be signed in to change notification settings - Fork 14
API Documentation
Here is a general outline for how you could structure the API documentation page
Provide a brief overview of the API
Contents
List and describe the different API endpoints, including expected parameters and expected responses. You may want to organize the endpoints by category or function
Provide examples of making requests to the API and the corresponding responses you can expect. This can help users understand how to use the API and how to interpret the response
List and describe any error codes that the API may return. Explain what each error code means and how to troubleshoot it. You may wish to link troubleshooting tips to the troubleshooting page
Error Code | Meaning | Troubleshooting |
---|---|---|
400 | The 400 bad request error is an HTTP status code that describes an error caused by an invalid request. Thus, the server can't understand and process it. | Most HTTP error 400 bad requests are caused by malformed request syntax, invalid request message framing, or deceptive request routing. |
Provide recommendations and best practices for using the API, such as how to optimize performance and avoid common pitfalls
Provide links to any additional resources that may be useful to users, Swagger UI (may want this up top too), forums, and support channels (slack)
Are we missing anything? Found a typo? Let us know!