- Name: api_docs_format
- Date: 2015-05-25
- Issue: Retrospring/api-docs#1
Outlines basic API documentation format.
To propose a format that uniformly marks out the layout of all API documentation.
stored in /lang/version/namespace.md
# /version/path/to/namespace/
Description of the API namespace
## formats
- Default API response formats
- `json`
- `xml`
- ...
## endpoints
### [METHOD endpoint](namespace/endpoint.md)
`METHOD https://retrospring.net/version/path/to/namespace/endpoint.json`
Short description of the API endpoint
##### last revised on: revision date
stored in /lang/version/namespace/endpoint.md
# METHOD /version/path/to/namespace/endpoint
Description of the API endpoint and what it entails
## additional formats
- Endpoint specific formats
## request parameters
- List of request parameters
## caveats
- throttling, oauth, etc
## responses
- list of responses, each headered
## error codes
- list of error codes
##### last revised on: revision date
stored in /lang/version/payload/name.md
# PayloadName
Description of the payload
## example
code block of example response
##### last revised on: revision date
Strip _ from the ending code block tags
Revision date should be either DD/MM/YYYY HH:MM
or YYYY/MM/DD HH:MM
unless specified otherwise, UTC+0 time, 24-hour.
None as of yet
None as of yet