Changed status and statusId to be slices instead of single values
Motivation
This is to allow wharf-cmd-watchdog to query for non-finished builds, as any finished builds are in either status Completed or Failed, which the API didn't support querying for before this PR.
We use the multi collection format, meaning to specify multiple values you specify the query parameter multiple times, such as:
GET /api/build?status=Scheduling&status=Running
Because of this, the parameter only gains functionality and doesn't break backwards.
CHANGELOG.md
file, according to docs: https://iver-wharf.github.io/#/development/changelogs/writing-changelogsSummary
status
andstatusId
to be slices instead of single valuesMotivation
This is to allow wharf-cmd-watchdog to query for non-finished builds, as any finished builds are in either status
Completed
orFailed
, which the API didn't support querying for before this PR.We use the
multi
collection format, meaning to specify multiple values you specify the query parameter multiple times, such as:Because of this, the parameter only gains functionality and doesn't break backwards.