-
Notifications
You must be signed in to change notification settings - Fork 0
Band Names
Henrique Tedeschi edited this page May 31, 2020
·
2 revisions
For this section, you will find all information to use bandnames.
Make sure you have included the Authorization header with your token to use the API properly. To request a Token go to parksandrecapi.com and follow the steps to request one.
| Header | Required | Values/Examples |
|---|---|---|
| Authorization | Required | Bearer {token} |
| Method | Endpoint |
|---|---|
| GET | /api/v1/bandnames |
| GET | /api/v1/bandnames/{name} |
| GET | /api/v1/bandnames/ping |
When reaching this endpoint, the response will be like this:
[
{
"name": "A.D. and the D Bags",
"__v": 0
},
{
"name": "The Andy Andy Andies",
"__v": 0
},
...
]Parameters to be included:
| Parameter | Type | Required | Example |
|---|---|---|---|
| name | string | optional | andy |
When reaching this endpoint, the response will be like this:
[
{
"name": "The Andy Andy Andies",
"__v": 0
},
{
"name": "Andy Dwyer Experience",
"__v": 0
}
]When reaching this endpoint, the response will be like this:
{
"success": true,
"date": "2020-05-31T19:31:15.522Z"
}Created by Henrique Tedeschi. See the Disclaimer.