Delete a branch
Removes an empty branch from the app. A branch that still has releases or targets is refused with FAILED_PRECONDITION: delete them first. An unknown branch is NOT_FOUND.
The caller needs write access to the app's bucket (a signed-in person's token carrying upl:uploads:manage); a read-only token gets PERMISSION_DENIED, and so does an API key.
Header Parameters
Define the version of the Connect protocol
1Define the timeout, in ms
Request Body
application/json
1 <= length1 <= lengthResponse Body
application/json
application/json
curl -X POST "https://updater.xeonr.io/xeonr.updater.v1.UpdaterService/DeleteBranch" \ -H "Connect-Protocol-Version: 1" \ -H "Content-Type: application/json" \ -d '{}'{}Delete an artifact from a draft release POST
Deletes one artifact, by platform and filename, from a draft release, along with its checksums in the release manifest. Artifacts of published releases cannot be deleted (`FAILED_PRECONDITION`); an unknown release is `NOT_FOUND`. The caller needs write access to the app's bucket (a signed-in person's token carrying `upl:uploads:manage`); a read-only token gets `PERMISSION_DENIED`, and so does an API key.
Delete a distribution POST
Removes the distribution from the app and deletes its hosted file, if it has one. An unknown distribution is `NOT_FOUND`. The caller needs write access to the app's bucket (a signed-in person's token carrying `upl:uploads:manage`); a read-only token gets `PERMISSION_DENIED`, and so does an API key.