Delete a target
Removes a target from the app. A target still referenced by a release on its branch is refused with FAILED_PRECONDITION: move or delete those releases first. An unknown target 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/DeleteTarget" \ -H "Connect-Protocol-Version: 1" \ -H "Content-Type: application/json" \ -d '{}'{}Delete a draft release POST
Deletes a draft release and its uploaded artifacts. Published releases cannot be deleted (`FAILED_PRECONDITION`): rescind them instead. 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.
Get an app's hostnames POST
Returns every hostname the app answers on, read from its upl bucket's aliases: the slug's own hostname first (`pixel.upl.im` on production, `upl.fyi` elsewhere), then the others in upl's order. Each carries its `kind` (`slug`, `subdomain` or `custom`), whether it is the primary one, and its `status`; a custom domain also carries its verification time, any verification error and the `cname_target` its CNAME must point at. `public_url` is `https://` and the primary hostname, where the download page lives. Needs a signed-in person who can read the bucket in upl; the download page's `client_credentials` token gets `PERMISSION_DENIED`, and so does an API key.