Challenges
Challenges_list
Query Parameters
end_date__gt?string
Format
date
end_date__gte?string
Format
date
end_date__lt?string
Format
date
end_date__lte?string
Format
date
end_date__month?number
end_date__year?number
id?integer
is_published?boolean
order_by?string
Which field to use when ordering the results.
page?integer
A page number within the paginated result set.
size?integer
Number of results to return per page.
start_date__gt?string
Format
date
start_date__gte?string
Format
date
start_date__lt?string
Format
date
start_date__lte?string
Format
date
start_date__month?number
start_date__year?number
status?string
DRAFT
- DRAFTUPCOMING
- UPCOMINGONGOING
- ONGOINGCOMPLETED
- COMPLETED
Value in
"COMPLETED" | "DRAFT" | "ONGOING" | "UPCOMING"
Response Body
curl -X GET "https://loading/api/v1/challenges?end_date__gt=2019-08-24&end_date__gte=2019-08-24&end_date__lt=2019-08-24&end_date__lte=2019-08-24&end_date__month=0&end_date__year=0&id=0&is_published=true&order_by=string&page=0&size=0&start_date__gt=2019-08-24&start_date__gte=2019-08-24&start_date__lt=2019-08-24&start_date__lte=2019-08-24&start_date__month=0&start_date__year=0&status=COMPLETED"
{
"items": [
[
{
"id": 0,
"status": "string",
"tag": "string",
"title": "string",
"icon": "string",
"subtitle": "string",
"start_date": "2019-08-24",
"end_date": "2019-08-24",
"categories": [
"string"
],
"example_proof_url": "string",
"is_published": true,
"created": "2019-08-24T14:15:22Z",
"updated": "2019-08-24T14:15:22Z"
}
]
],
"page": 1,
"pages": 16,
"size": 100,
"total": 1531
}