Results

Update result given the UID

patch/v1alpha2/parents/{parent}/results/{result_uid}

Request body

annotationsobject

Arbitrary user provided labels for the result.

uidstring required

server assigned identified of the Results

namestring required

User assigned identifier of the Result. Encodes Parent information.

created_timestring date-time

DEPRECATED: Use create_time instead

create_timestring date-time

Server assigned timestamp for when the result was created.

updated_timestring date-time

DEPRECATED: Use update_time instead

update_timestring date-time

Server assigned timestamp for when the result was updated.

idstring

DEPRECATED: use uid instead

etagstring

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

Example request

{
  "uid": "0e0536c1-eccc-4727-9f99-5bb26ce3db90",
  "name": "default/results/2be47d31-4d7f-4762-9616-969f2d7d9cc3",
  "summary": {
    "record": "default/results/2be47d31-4d7f-4762-9616-969f2d7d9cc3/records/2be47d31-4d7f-4762-9616-969f2d7d9cc3",
    "type": "pipelines.tekton.dev/PipelineRun"
  },
  "id": "0e0536c1-eccc-4727-9f99-5bb26ce3db90",
  "etag": "0e0536c1-eccc-4727-9f99-5bb26ce3db90-1675088191880127798"
}

Response

Default response

annotationsobject

Arbitrary user provided labels for the result.

uidstring required

server assigned identified of the Results

namestring required

User assigned identifier of the Result. Encodes Parent information.

created_timestring date-time

DEPRECATED: Use create_time instead

create_timestring date-time

Server assigned timestamp for when the result was created.

updated_timestring date-time

DEPRECATED: Use update_time instead

update_timestring date-time

Server assigned timestamp for when the result was updated.

idstring

DEPRECATED: use uid instead

etagstring

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

Example response

{
  "uid": "0e0536c1-eccc-4727-9f99-5bb26ce3db90",
  "name": "default/results/2be47d31-4d7f-4762-9616-969f2d7d9cc3",
  "summary": {
    "record": "default/results/2be47d31-4d7f-4762-9616-969f2d7d9cc3/records/2be47d31-4d7f-4762-9616-969f2d7d9cc3",
    "type": "pipelines.tekton.dev/PipelineRun"
  },
  "id": "0e0536c1-eccc-4727-9f99-5bb26ce3db90",
  "etag": "0e0536c1-eccc-4727-9f99-5bb26ce3db90-1675088191880127798"
}

Changes

Changed in 3 of the 5 revisions of this API.82020

  • 278d1aed13c1422See the full diff
    • added the new required request property /

      new-required-request-property

    • added the new required request property /

      new-required-request-property

    • removed the required property / from the response with the status

      response-required-property-removed

    • removed the required property / from the response with the status

      response-required-property-removed

    • removed the request property /

      request-property-removed

    • removed the request property /

      request-property-removed

    • added the required property / to the response with the status

      response-required-property-added

    • added the required property / to the response with the status

      response-required-property-added

    • removed the request property

      request-property-removed

    • removed the request property

      request-property-removed

    • removed the request property

      request-property-removed

    • removed the request property

      request-property-removed

    • removed the optional property from the response with the status

      response-optional-property-removed

    • removed the optional property from the response with the status

      response-optional-property-removed

    • removed the optional property from the response with the status

      response-optional-property-removed

    • removed the optional property from the response with the status

      response-optional-property-removed

    • added the new optional request property

      new-optional-request-property

    • added the new optional request property

      new-optional-request-property

    • added the new optional request property

      new-optional-request-property

    • added the new optional request property

      new-optional-request-property

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added

  • 8fb26784c7aa41010See the full diff
    • added the new required request property /

      new-required-request-property

    • added the new required request property /

      new-required-request-property

    • removed the required property / from the response with the status

      response-required-property-removed

    • removed the required property / from the response with the status

      response-required-property-removed

    • removed the request property

      request-property-removed

    • removed the request property

      request-property-removed

    • removed the request property /

      request-property-removed

    • removed the request property /

      request-property-removed

    • removed the request property

      request-property-removed

    • removed the request property

      request-property-removed

    • removed the optional property from the response with the status

      response-optional-property-removed

    • removed the optional property from the response with the status

      response-optional-property-removed

    • removed the optional property from the response with the status

      response-optional-property-removed

    • removed the optional property from the response with the status

      response-optional-property-removed

    • added the new optional request property

      new-optional-request-property

    • added the new optional request property

      new-optional-request-property

    • added the new optional request property

      new-optional-request-property

    • added the new optional request property

      new-optional-request-property

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added

    • added the required property / to the response with the status

      response-required-property-added

    • added the required property / to the response with the status

      response-required-property-added