Public api PipelineBasic Entity should hold more keys
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Now the keys this entity holds are rather limited, eventhough we have more data available without extra preloads or a lot of computational effort.
I propose adding the following:
- created_at
- started_at
- finished_at
- tag
- before_sha
- duration
- scheduled (bool, check if pipeline.pipeline_schedule_id.present?`)
- triggered (idem)
- auto_cancelled (idem)
Now, we expose only:
- id
- sha
- ref
- status
/cc @dosuken123 @grzesiek @bikebilly
Edited by 🤖 GitLab Bot 🤖