curl --request GET \
--url https://backend.swap.coffee/v1/contests/{id}
{
"id": 123,
"info": {
"title": "<string>",
"description": "<string>",
"references": [
{
"ref_name": "<string>",
"ref_url": "<string>"
}
],
"conditions": [
{
"type": "unique",
"args": [
"<string>"
]
}
],
"rewards": [
{
"reward": "<string>",
"place": 123,
"place_from": 123,
"place_to": 123
}
],
"start_time_unix": 123,
"end_time_unix": 123,
"image_url": "<string>",
"total_reward": "<string>",
"hidden": true
}
}
curl --request GET \
--url https://backend.swap.coffee/v1/contests/{id}
{
"id": 123,
"info": {
"title": "<string>",
"description": "<string>",
"references": [
{
"ref_name": "<string>",
"ref_url": "<string>"
}
],
"conditions": [
{
"type": "unique",
"args": [
"<string>"
]
}
],
"rewards": [
{
"reward": "<string>",
"place": 123,
"place_from": 123,
"place_to": 123
}
],
"start_time_unix": 123,
"end_time_unix": 123,
"image_url": "<string>",
"total_reward": "<string>",
"hidden": true
}
}
Contest information
The response is of type object
.