Update a request's title, sentToClientPhaseId, isArchived, sceneType and/or externalId, with the
request identified by its UUID. Fields left out of the body are not changed. Returns 204 No Content on success.
All checks run before any write, and all fields are written in one transaction, so a rejected call changes
nothing.
Access: the caller must belong to an organization producing the request and hold a workspace Admin or
Project Manager role on its project. Annotation Managers can't edit requests. Otherwise the call returns 403,
or 404 when the caller cannot see the request.
Archiving: isArchived: true archives the request's input batch and turns automatic allocation off for
the request. isArchived: false reopens an archived input batch, and leaves a batch that isn't archived as it
is. Unarchiving does not turn automatic allocation back on.
External id: externalId updates the external id of the request, the external id must be unique in the
project. An archived request can be renamed.
Scene type: sceneType can only be set while the request has no inputs. Allowed values:
lidars_and_cameras, lidars_and_cameras_sequence, cameras, cameras_sequence,
aggregated_lidars_and_cameras_sequence.
Errors:
- 400 when the body sets no field, or
sceneType is not one of the allowed values.
- 400 when
title is blank or longer than 255 characters, or externalId is blank, has surrounding
whitespace or control characters, or is longer than 255 characters. Every invalid field is reported in the
same response.
- 400 when
isArchived or externalId is set and the request shares its input batch with other requests.
- 400 when
sentToClientPhaseId is not a phase of the request's workflow, or the request has a classic
workflow.
- 400 when
sceneType is set and the request already has inputs.
- 403 when the caller can see the request but may not update it.
- 404 when no request has the UUID, or the caller cannot see it.
- 409 when another input batch in the project, archived ones included, already has
externalId. The message
names the oldest request in that batch, if it has one. Nothing is written.
- 409 when the request's workflow changed while
sentToClientPhaseId was being set. Nothing is written.