Skip to content

Datasets_ListRepairProposals

GET
/v1/accounts/{account}/datasets/{dataset}/repairProposals
curl --request GET \
--url https://api.qualia.dev/v1/accounts/example/datasets/example/repairProposals \
--header 'X-API-Key: <X-API-Key>'

Lists the pose and jaw repairs the checks propose on the takes of a handheld (UMI) upload, or of a merged dataset’s member uploads, oldest first: the open ones and the rejected ones. Each is a ready RepairPoses add, named under parent, and says whether the upload’s published repairs hold it already (applied). FAILED_PRECONDITION on a mixture, and on an upload merged into a dataset (list it through the merged dataset), as RepairPoses refuses them.

account
required
string

The account id.

dataset
required
string

The dataset id.

pageSize
integer format: int32

At most this many proposals; 0 means 100, the maximum is 500.

pageToken
string

From a previous response’s next_page_token.

OK

Media type application/json

Response for Datasets.ListRepairProposals.

object
repairProposals

One page of proposals, oldest first.

Array<object>

A pose or jaw repair a check proposes on a handheld (UMI) take, named under the dataset it was read through: the take’s upload, or a merged dataset holding it. Its take keeps at most one open proposal per hand, target and frames.

object
name

Accounts/{account}/datasets/{dataset}/repairProposals/{repair_proposal}

string
repair

The repair, as a RepairPoses add on the dataset it was read through: its episode named there, with the take_identity (and for a STEP the repair_identity) the check’s run read.

object
episode
required

The take: accounts/{account}/datasets/{dataset}/episodes/{episode}, an episode of the request’s dataset (on a merged dataset, its episode name, as SampleEpisodeSeries read it). A split piece’s frames are its own and are moved onto its take’s; a cut piece cannot be repaired.

string
hand
required

LEFT or RIGHT.

string format: enum
Allowed values: SIDE_UNSPECIFIED SIDE_LEFT SIDE_RIGHT
kind

What it does: required on adds, not read on removes.

string format: enum
Allowed values: KIND_UNSPECIFIED INTERPOLATE UNDO_FILL STEP
target
required

What it edits.

string format: enum
Allowed values: TARGET_UNSPECIFIED POSITION ROTATION JAW
startFrame
required

The frames [start_frame, end_frame) of the take as recorded, not of a trimmed window (add a trim’s start, window_start_seconds times fps, to a trimmed read’s frames). An interpolation starts at 1 or later and ends before the take’s last frame: its anchors are the frames either side. A step’s is the frame it starts at, 2 or later and before the take’s last frame.

string
endFrame
required

The end of the frames, exclusive. A step’s is start_frame + 1, on adds and removes alike: its key is its frame.

string
takeIdentity

Required on adds, not read on removes: the SampleEpisodeSeriesResponse.take_identity of the read the repair was drawn on. An add without one is INVALID_ARGUMENT.

string
shift

A POSITION step’s shift in metres, x, y and z: exactly three numbers on a position step’s add, empty otherwise. Not read on removes.

Array<number>
turn

A ROTATION step’s turn, a rotation vector (axis times angle) in radians composed on the left of the hand’s rotation: exactly three numbers on a rotation step’s add, empty otherwise. Not read on removes.

Array<number>
repairIdentity

Required on STEP adds, not read otherwise: the SampleEpisodeSeriesResponse.repair_identity of the read the step was measured on. A step is measured with the take’s earlier steps applied, so one whose take’s repairs changed since is ABORTED; a STEP add without it is INVALID_ARGUMENT. A STEP the upload already holds with the same values is not checked: its retry is a no-op.

string
check

The check that proposed it, by its code.

string
reason

Why the check proposes it, in its words.

string
state

Where it stands.

string format: enum
Allowed values: STATE_UNSPECIFIED PROPOSED REJECTED
applied

The upload’s published repairs hold this repair (its key, kind and values): accepted and landed, or made by hand. Removing it is a RepairPoses remove.

boolean
createTime

When the check proposed it.

string format: date-time
nextPageToken

Empty on the last page.

string
Example
{
"repairProposals": [
{
"repair": {
"hand": "SIDE_UNSPECIFIED",
"kind": "KIND_UNSPECIFIED",
"target": "TARGET_UNSPECIFIED"
},
"state": "STATE_UNSPECIFIED"
}
]
}

Default error response

Media type application/json
One of:
API error

A refusal from the API itself.

object
code
required

The gRPC code name in upper case, e.g. NOT_FOUND.

string
message
required
string
retryable
required

Whether the same call may succeed if retried.

boolean
details
required

Empty, except when a dataset copy or move is refused: then one google.rpc.ErrorInfo with the refusal’s reason code, its domain and, in metadata, the datasets it names.

Array<object>
object
Example generated
{
"code": "example",
"message": "example",
"retryable": true,
"details": [
{}
]
}