Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request PATCH \ --url https://backend.swap.coffee/v1/contests/{id} \ --header 'Content-Type: application/json' \ --header 'X-Api-Key: <api-key>' \ --data ' { "title": "<string>", "description": "<string>", "references": [ { "ref_name": "<string>", "ref_url": "<string>" } ], "conditions": [ { "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": [ { "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 } }
Show child attributes
in seconds
Updated contest information with id