Milestones
Get milestones data in JSON format.
Get all milestones
GET https://api.dinkumapi.com/v0/milestones
Gets all milestones.
Get milestone by id
GET https://api.dinkumapi.com/v0/milestones/{id}
Gets a milestone by its id.
Path params
id | The id of the milestone. |
Get all milestones
GET https://api.dinkumapi.com/v0/milestones
[
{
"id": 1,
"name": "Amber Cash",
"description": "Here is a milestone for selling amber.",
"levels": [
{
"count": 1,
"permit_points": 250
},
{
"count": 10,
"permit_points": 250
},
{
"count": 20,
"permit_points": 250
},
{
"count": 50,
"permit_points": 250
}
],
"image_url": "https://api.dinkumapi.com/images/milestones/amber-cash.png"
},
{},
{}
]
Get milestone by id
GET https://api.dinkumapi.com/v0/milestones/{id}
{
"id": 7,
"name": "Bucket Head",
"description": "A bucket on your head! You bloody galah. You're having a laugh. Here is a milestone for rockin' a bucket on your head.",
"levels": [
{
"count": 1,
"permit_points": 250
}
],
"image_url": "https://api.dinkumapi.com/images/milestones/bucket-head.png"
}