{ "opencollection": "1.0.0", "info": { "name": "Tournament activity submission API", "version": "v2" }, "items": [ { "info": { "name": "submission", "type": "folder" }, "items": [ { "info": { "name": "List submissions.", "type": "http" }, "http": { "method": "GET", "url": "http://api.hub.crunchdao.com/v4/competitions/:competitionIdentifier/projects/:userLogin/:projectIdentifier/submissions", "params": [ { "name": "competitionIdentifier", "value": "", "type": "path" }, { "name": "userLogin", "value": "", "type": "path" }, { "name": "projectIdentifier", "value": "", "type": "path" }, { "name": "message", "value": "", "type": "query", "description": "Filter on the message. Allow for a pattern (%)." }, { "name": "type", "value": "", "type": "query", "description": "Filter for submission with a specific type. `NOTEBOOK` are converted to `CODE`, so will return nothing." }, { "name": "valid", "value": "", "type": "query", "description": "Filter for valid submissions. Pending submissions are ignored." }, { "name": "gpuRequirement", "value": "", "type": "query", "description": "Filter for gpu requirement." }, { "name": "hasModel", "value": "", "type": "query", "description": "Filter for submissions with a model." }, { "name": "page", "value": "", "type": "query", "description": "Zero-based page index (0..N)" }, { "name": "size", "value": "", "type": "query", "description": "The size of the page to be returned" }, { "name": "sort", "value": "", "type": "query", "description": "Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported." } ] }, "docs": "List submissions." }, { "info": { "name": "Create a submission.", "type": "http" }, "http": { "method": "POST", "url": "http://api.hub.crunchdao.com/v4/competitions/:competitionIdentifier/projects/:userLogin/:projectIdentifier/submissions", "params": [ { "name": "competitionIdentifier", "value": "", "type": "path" }, { "name": "userLogin", "value": "", "type": "path" }, { "name": "projectIdentifier", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create a submission." }, { "info": { "name": "Get the next encrypted submission id.", "type": "http" }, "http": { "method": "GET", "url": "http://api.hub.crunchdao.com/v4/competitions/:competitionIdentifier/projects/:userLogin/:projectIdentifier/submissions/next-encryption-id", "params": [ { "name": "competitionIdentifier", "value": "", "type": "path" }, { "name": "userLogin", "value": "", "type": "path" }, { "name": "projectIdentifier", "value": "", "type": "path" }, { "name": "pushToken", "value": "", "type": "query" } ] }, "docs": "Get the next encrypted submission id." }, { "info": { "name": "List submissions.", "type": "http" }, "http": { "method": "GET", "url": "http://api.hub.crunchdao.com/v3/competitions/:competitionIdentifier/projects/:userLogin/:projectIdentifier/submissions", "params": [ { "name": "competitionIdentifier", "value": "", "type": "path" }, { "name": "userLogin", "value": "", "type": "path" }, { "name": "projectIdentifier", "value": "", "type": "path" } ] }, "docs": "List submissions." }, { "info": { "name": "Show a submission.", "type": "http" }, "http": { "method": "GET", "url": "http://api.hub.crunchdao.com/v3/competitions/:competitionIdentifier/projects/:userLogin/:projectIdentifier/submissions/:submissionNumber", "params": [ { "name": "competitionIdentifier", "value": "", "type": "path" }, { "name": "userLogin", "value": "", "type": "path" }, { "name": "projectIdentifier", "value": "", "type": "path" }, { "name": "submissionNumber", "value": "", "type": "path" } ] }, "docs": "Show a submission." }, { "info": { "name": "List runtime options for a submission.", "type": "http" }, "http": { "method": "GET", "url": "http://api.hub.crunchdao.com/v3/competitions/:competitionIdentifier/projects/:userLogin/:projectIdentifier/submissions/:submissionNumber/runtime-options", "params": [ { "name": "competitionIdentifier", "value": "", "type": "path" }, { "name": "userLogin", "value": "", "type": "path" }, { "name": "projectIdentifier", "value": "", "type": "path" }, { "name": "submissionNumber", "value": "", "type": "path" }, { "name": "page", "value": "", "type": "query", "description": "Zero-based page index (0..N)" }, { "name": "size", "value": "", "type": "query", "description": "The size of the page to be returned" }, { "name": "sort", "value": "", "type": "query", "description": "Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported." } ] }, "docs": "List runtime options for a submission." }, { "info": { "name": "List a submission's files.", "type": "http" }, "http": { "method": "GET", "url": "http://api.hub.crunchdao.com/v3/competitions/:competitionIdentifier/projects/:userLogin/:projectIdentifier/submissions/:submissionNumber/files", "params": [ { "name": "competitionIdentifier", "value": "", "type": "path" }, { "name": "userLogin", "value": "", "type": "path" }, { "name": "projectIdentifier", "value": "", "type": "path" }, { "name": "submissionNumber", "value": "", "type": "path" } ], "auth": { "type": "apikey", "key": "apiKey", "value": "{{apiKey}}", "placement": "query" } }, "docs": "List a submission's files." }, { "info": { "name": "Render a submission's file.", "type": "http" }, "http": { "method": "GET", "url": "http://api.hub.crunchdao.com/v3/competitions/:competitionIdentifier/projects/:userLogin/:projectIdentifier/submissions/:submissionNumber/files/render", "params": [ { "name": "competitionIdentifier", "value": "", "type": "path" }, { "name": "userLogin", "value": "", "type": "path" }, { "name": "projectIdentifier", "value": "", "type": "path" }, { "name": "submissionNumber", "value": "", "type": "path" }, { "name": "fileName", "value": "", "type": "query" }, { "name": "light", "value": "", "type": "query" } ], "auth": { "type": "apikey", "key": "apiKey", "value": "{{apiKey}}", "placement": "query" } }, "docs": "Render a submission's file." }, { "info": { "name": "Download a submission's file.", "type": "http" }, "http": { "method": "GET", "url": "http://api.hub.crunchdao.com/v3/competitions/:competitionIdentifier/projects/:userLogin/:projectIdentifier/submissions/:submissionNumber/files/download", "params": [ { "name": "competitionIdentifier", "value": "", "type": "path" }, { "name": "userLogin", "value": "", "type": "path" }, { "name": "projectIdentifier", "value": "", "type": "path" }, { "name": "submissionNumber", "value": "", "type": "path" }, { "name": "fileName", "value": "", "type": "query" }, { "name": "inline", "value": "", "type": "query" } ], "auth": { "type": "apikey", "key": "apiKey", "value": "{{apiKey}}", "placement": "query" } }, "docs": "Download a submission's file." } ] } ], "bundled": true }