Result records List
/v1alpha2/parents/{parent}/results/{result_uid}/records
Common Parameters
parent(in path):stringrequiredParent name refers to the namespace name or workspace name.
result_uid(in path):stringrequiredResult UID is the server assigned identifier of the result.
filter(in query):stringThis query can be used to pass CEL Expressions to filter the response. See more details here.
order_by(in query):stringThis query can be used to order the response based on parameters. More details can be found here. Note: Add
%20instead of space when adding an optional direction qualifier, e.gcreated_by%20asc.page_size(in query):integerNumber of response to fetch in one request. This query can be used for pagination.
page_token(in query):stringIt can be used to fetch the next set of responses when the response is paginated. It corresponds to
NextPageTokenin the response.
get Get list of records
Records 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 Records without knowing the exact Result name.
Response
200object: List of Records with nextPageToken.Properties:records:[]RecordnextPageToken:string
Record
Record belonging to a Result. Typically will be Tekton TaskRun/PipelineRun, but may also include other execution information e.g alternative configs, DSLs, input payloads, post-execution actions etc.
id:stringDEPRECATED: use uid instead.
uid:stringServer assigned identifier of the Record.
etag:stringThe etag for this record. If this is provided on update, it must match the server's etag.
name:stringResource name, must be rooted in parent result
createdTime:stringDEPRECATED: use createTime instead.
createTime:stringServer assigned timestamp for when the record was created.
updatedTime:stringDEPRECATED: use updateTime instead.
updateTime:stringServer assigned timestamp for when the record was updated.
data: AnyAny represents lossely typed data to be stored within a Record.
Any
Any represents lossely typed data to be stored within a Record.
value:stringJSON encoded data.
type:stringIt is unique identifier if the data type stored in the value. This is used as a type to hint to determine how to unmarshal values. Limited to 128 characters. Currently RecordType can be one of the following:
- PipelineRun Record:
tekton.dev/v1beta1.PipelineRun(older records) ortekton.dev/v1.PipelineRun - TaskRun Record:
tekton.dev/v1beta1.TaskRun(older records) ortekton.dev/v1.TaskRun - Log Record:
results.tekton.dev/v1alpha2.Log(older records) orresults.tekton.dev/v1alpha3.Log
- PipelineRun Record:
RecordType
It is unique identifier if the data type stored in the value. This is used as a type to hint to determine how to unmarshal values. Limited to 128 characters. Currently RecordType can be one of the following:
- PipelineRun Record:
tekton.dev/v1beta1.PipelineRun(older records) ortekton.dev/v1.PipelineRun - TaskRun Record:
tekton.dev/v1beta1.TaskRun(older records) ortekton.dev/v1.TaskRun - Log Record:
results.tekton.dev/v1alpha2.Log(older records) orresults.tekton.dev/v1alpha3.Log