Created Info API (markdown)
parent
221695f65d
commit
90b6ff9d4e
1 changed files with 23 additions and 0 deletions
23
Info-API.md
Normal file
23
Info-API.md
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
# Info API
|
||||||
|
|
||||||
|
_Last Updated 2017-04-23_
|
||||||
|
|
||||||
|
The Info API consists of endpoints which are useful lookup tables for various sections of the app.
|
||||||
|
|
||||||
|
## Ages Endpoint
|
||||||
|
|
||||||
|
### `GET /api/info/ages`
|
||||||
|
|
||||||
|
Returns a JSON object. ID is used during User Registration for Customers.
|
||||||
|
|
||||||
|
```
|
||||||
|
{
|
||||||
|
ages : [
|
||||||
|
{
|
||||||
|
id : <age_range id>
|
||||||
|
string : <age_range display string>
|
||||||
|
}
|
||||||
|
...
|
||||||
|
]
|
||||||
|
}
|
||||||
|
```
|
Reference in a new issue