List Logs given the Result UID
Changed onLogs 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.
Request
- Base URLhttps://localhost:8080/apis/results.tekton.dev
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
List of Records with next_page_token.
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 fromobjecttostringfor 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
- breaking
- warning
added the new
tekton.dev/v1.PipelineRunenum value to the///response property for the response status - warning
added the new
tekton.dev/v1.TaskRunenum value to the///response property for the response status
- warning