v1

latestOpenAPI 3.0.0Apache 2.02026-07-1713824.2 KB
Records

Create record with given uid

post/v1alpha2/parents/{parent}/results/{result_uid}/records/{record_uid}

Request body

idstring

DEPRECATED: use uid instead.

uidstring required

Server assigned identifier of the Record.

etagstring

The etag for this record. If this is provided on update, it must match the server's etag.

namestring required

Resource name, must be rooted in parent result

created_timestring date-time

DEPRECATED: use create_time instead.

create_timestring date-time

Server assigned timestamp for when the record was created.

updated_timestring date-time

DEPRECATED: use update_time instead.

update_timestring date-time

Server assigned timestamp for when the record was updated.

Example request

{
  "uid": "bc19969d-14ef-483c-b8c7-a83523cb5669",
  "etag": "bc19969d-14ef-483c-b8c7-a83523cb5669-1675088191915705326",
  "name": "default/results/2be47d31-4d7f-4762-9616-969f2d7d9cc3/records/293d2bf0-e673-30c6-b5ca-4f35f020effc",
  "data": {
    "value": "VGhpcyBpcyBhbiBleG1hcGxlIG9mIHJlY29yZCBkYXRhCg=="
  }
}

Response

Default response

idstring

DEPRECATED: use uid instead.

uidstring required

Server assigned identifier of the Record.

etagstring

The etag for this record. If this is provided on update, it must match the server's etag.

namestring required

Resource name, must be rooted in parent result

created_timestring date-time

DEPRECATED: use create_time instead.

create_timestring date-time

Server assigned timestamp for when the record was created.

updated_timestring date-time

DEPRECATED: use update_time instead.

update_timestring date-time

Server assigned timestamp for when the record was updated.

Example response

{
  "uid": "bc19969d-14ef-483c-b8c7-a83523cb5669",
  "etag": "bc19969d-14ef-483c-b8c7-a83523cb5669-1675088191915705326",
  "name": "default/results/2be47d31-4d7f-4762-9616-969f2d7d9cc3/records/293d2bf0-e673-30c6-b5ca-4f35f020effc",
  "data": {
    "value": "VGhpcyBpcyBhbiBleG1hcGxlIG9mIHJlY29yZCBkYXRhCg=="
  }
}