Skip to content
Athena User Guide
Esc
↑↓navigate↵open⌘Jpreview

Publish a challenge, now or at a release time

POST/api/admin/challenges/{id}/show
Path parameters
idstringrequired
Request body
requiredapplication/json
releaseAtstring<date-time> | null
Show properties
Any of:
string<date-time>
string<date-time>
null
null
Responses
200

Success

okbooleanrequired
statusstringrequired
releaseAtstring<date-time> | nullrequired
Show properties
Any of:
string<date-time>
string<date-time>
null
null
400

Bad request

errorstringrequired
401

Unauthorized

errorstringrequired
404

Not found

errorstringrequired
409

Conflict

Any of:
object
errorstringrequired
object
errorstringrequired
422

Validation failed

typestringrequired
onstringrequired
summarystring
messagestring
foundany
propertystring
expectedstring
500

Unhandled server error

errorstringrequired
Try it
Server
Parameters
Bodyapplication/json
Request
curl -X POST '/api/admin/challenges/string/show' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "releaseAt": "2019-08-24T14:15:22Z"
}'
Response
{
  "ok": true,
  "status": "shown",
  "releaseAt": "2019-08-24T14:15:22Z"
}