StackMoreLayersДокументация
APIReference

Получить статус загрузки эталонных ответов фазы

GET
/competitions/{competition_id}/phases/{phase_id}/ground-truth/upload-status/

Poll with the upload_ref returned by either upload operation. The upload must belong to this competition and phase. A processing result with ground_truth_binding_outcome_unknown requires operator recovery; it does not authorize a replacement upload.

АвторизацияBearer <token>

StackMoreLayers API token. Send as Authorization: Bearer sml_pat_live_<prefix>.<secret>.

In: header

Параметры пути

competition_id*integer

Numeric competition identifier.

Range1 <= value
phase_id*integer

Numeric phase identifier.

Range1 <= value

Параметры запроса

upload_ref*string
Match^gtu_[0-9a-f]{32}$

Ответ

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/competitions/1/phases/1/ground-truth/upload-status/?upload_ref=string"
{  "state": "processing",  "reason_code": "string",  "safe_message": "string"}