curl --request PATCH \
--url https://backend.swap.coffee/v1/contests/{id} \
--header 'Content-Type: application/json' \
--data '{
"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
}'
{
"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 PATCH \
--url https://backend.swap.coffee/v1/contests/{id} \
--header 'Content-Type: application/json' \
--data '{
"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
}'
{
"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 PATCH \
--url https://backend.swap.coffee/v1/contests/{id} \
--header 'Content-Type: application/json' \
--data '{
"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
}'
{
"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 PATCH \
--url https://backend.swap.coffee/v1/contests/{id} \
--header 'Content-Type: application/json' \
--data '{
"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
}'
{
"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
}
}