Отправить ноутбук через API (выведено)
Устаревший
Retired: notebooks are not submitted through the API. A notebook is submitted by running it in its workspace: open the workspace and use «Submit notebook». The notebook runs in a clean environment (in a code competition, on the hidden test without network) and the predictions it writes are submitted.
After the token is checked, this operation answers 410 with
error_code notebook_submissions_moved_to_workspace_runs. It reads
no body and calls no service.
Авторизация
apiToken StackMoreLayers API token. Send as
Authorization: Bearer sml_pat_live_<prefix>.<secret>.
In: header
Параметры пути
Stable notebook workspace identifier.
1 <= length <= 255Заголовки
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
application/json
application/json
application/json
curl -X POST "https://example.com/workspaces/string/submissions/"{ "error_code": "permission_denied", "message": "string", "request_id": "string"}