Создать сабмит из зарегистрированного источника
Creates a submission from a stored file only: a file is scored from
storage, so a request whose source_kind names anything else is
refused with 400 stored_file_required. Send a local prediction file
through the opaque submission upload workflow
(submission-uploads/, its content, then complete/).
Авторизация
apiToken StackMoreLayers API token. Send as
Authorization: Bearer sml_pat_live_<prefix>.<secret>.
In: header
Параметры пути
Numeric competition identifier.
1 <= valueПараметры запроса
1-based page number.
1 <= value1Items per page.
1 <= value <= 20050Restrict the result to a single phase of this competition.
1 <= valueЗаголовки
Opaque client-generated key. A retry with the same key and body returns the original result instead of repeating the effect.
^[!-~]+$8 <= length <= 128Тело запроса
application/json
Типы TypeScript
Use the request body type in TypeScript.
Ответ
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/competitions/1/submissions/" \ -H "Content-Type: application/json" \ -d '{ "phase_id": 1 }'{ "submission_id": 0, "status": "string", "runner_job_id": "string", "replayed": true}