Skip to content
getgeolens.com

Reupload Commit

POST
/datasets/{dataset_id}/reupload/{job_id}/commit
curl --request POST \
--url https://example.com/api/datasets/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/reupload/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/commit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "srid_override": 1, "token": "example" }'

Commit a re-upload, queuing the background swap task.

dataset_id
required
Dataset Id
string format: uuid
job_id
required
Job Id
string format: uuid
Media type application/json
ReuploadCommitRequest
object
srid_override
Any of:
integer
>= 1 <= 998999
token
Any of:
string
<= 1000 characters
Example generated
{
"srid_override": 1,
"token": "example"
}

Successful Response

Media type application/json
ReuploadCommitResponse
object
job_id
required
Job Id
string format: uuid
status
required
Status
string
message
required
Message
string
Example generated
{
"job_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"status": "example",
"message": "example"
}

Validation Error

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