Skip to content

Poll one durable Modal upload publication

POST
/v1/datasets/upload/publication/status
curl --request POST \
--url https://example.com/v1/datasets/upload/publication/status \
--header 'Content-Type: application/json' \
--data '{ "operation_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "repo_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "name": "example" }'

Return credential-free progress or the exact terminal receipts.

x-api-key
string | null
Media type application/json
GetUploadPublicationBody
object
operation_id
required
string format: uuid
repo_id
required
string format: uuid
name
required
string
Example generated
{
"operation_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"repo_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"name": "example"
}

Successful Response

Media type application/json
Example generated
example

Validation Error

Media type application/json
HTTPValidationError
object
detail
Array<object>
ValidationError
object
loc
required
Location
Array<string | integer>
msg
required
Message
string
type
required
Error Type
string
input
ctx
Context
object
Example generated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example",
"input": "example",
"ctx": {}
}
]
}