Logs

List Logs given the Result UID

Changed on

Logs can be read across Results by specifying - as the result_uid or across parents by specifying - as the parent. (e.g., default/results/- or -/results/-). This can be used to read and filter matching Logs without knowing the exact Result name.

get/v1alpha2/parents/{parent}/results/{result_uid}/logs

Request

Response

List of Records with next_page_token.

next_page_tokenstring required

Example response

{
  "records": [
    {
      "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=="
      }
    }
  ]
}

Changes

    • breaking

      the /// response's property type changed from object to string for status

    • breaking

      removed the required property from the response with the status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the required property to the response with the status

    • warning

      added the new tekton.dev/v1.PipelineRun enum value to the /// response property for the response status

    • warning

      added the new tekton.dev/v1.TaskRun enum value to the /// response property for the response status