For simplicity I have abbreviated $BUCKET
. For instance a Repository
get's published a lot of times so it has many $BUCKET
s (called Status::RepositoryPublished
currently). Checks for a certain Package
commit would need the same pattern. On the other hand a BsRequest
only get's created once, so it is the $BUCKET
.
This is how we are currently would do it. We have some special $BUCKET
called _status.
Repository
- GET
/build/:project_name/:repository_name/_status
->Status::Check
s for latest$BUCKET
forRepository
- GET
/build/:project_name/:repository_name/_status/:bucket_id
-> ListStatus::Check
s for$BUCKET
- PUT
/build/:project_name/:repository_name/_status/:bucket_id
-> CreateStatus::Check
s for$BUCKET