Skip to content

API: BuildCommands and missing fields to build v3 API #11179

@agjohnson

Description

@agjohnson

On the new dashboard, the build detail view is still using the v2 API. I would like to eventually rely on APIv3 on the dashboard, as that is the stronger API. I encountered the following data from the v2 API was not implemented in the V3 API however:

  • BuildCommands don't seem to be implemented -- this is the largest blocker
  • docs_url
  • commit_url
  • builder (for debugging only, not super important)

I did find I need the following changes once I can use the APIv3 build enpoint:

  • add ?expand=config for the config object

It would help if we could expand the notifications on the build APIv3 call and save the extra polling calls. Without this, that view needs to poll two APIs every two seconds while the build is still active.

For now, I can use the notification API v2 endpoints.

Metadata

Metadata

Labels

AcceptedAccepted issue on our roadmapImprovementMinor improvement to code

Type

No type

Projects

Status

Planned

Relationships

None yet

Development

No branches or pull requests

Issue actions