Skip to content

Proposal: Create API endpoint to derive runs for a job_version #1709

@phixMe

Description

@phixMe

In the current specification of the API, there is no way to derive the runs for a particular job version.

The API to list a particular version of a job defined as `/api/v1/namespaces/{namespace}/jobs/{job}/versions/{version} returns only the latest run for the job version. It is very likely users will want to be able to see all the runs instead of just the most recent one.

New Endpoint:

/api/v1/namespaces/{namespace}/jobs/{job}/versions/{version}/runs

Query Params

limit: The number of results to return from the offset
offset: The initial position from which to return results

Response

{
   runs: RunSchema[]
}

Note: Namespace and Job aren't really required since we have the job_version UUID, but we wish to follow the conventions of our existing specification.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Todo

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions