Update a target
Replaces the target's name and public flag (both are written as sent) and returns the updated target. The target stays on its branch.
An unknown target is NOT_FOUND; a name used by another target is ALREADY_EXISTS. 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 <= length1 <= length <= 64Response Body
application/json
application/json
curl -X POST "https://updater.xeonr.io/xeonr.updater.v1.UpdaterService/UpdateTarget" \ -H "Connect-Protocol-Version: 1" \ -H "Content-Type: application/json" \ -d '{}'{
"target": "map[branchId:br_4f1a9c2e7b3d5a60 createdAt:2026-10-01T09:30:00Z id:tgt_9e2b7c4a1f3d6e05 name:production public:true]"
}Update a release's targets or notes POST
Changes the targets a release is offered on and its notes, on drafts and published releases alike; the version cannot change. `target_ids` replaces the list when it is non-empty and is ignored when empty, while `notes` is always written as sent, so send the current notes to keep them. When the targets change, the artifacts' storage privacy follows: private unless one of the targets is public. Returns the updated release. A rescinded release is `FAILED_PRECONDITION`; an unknown release or target is `NOT_FOUND`; a target on another branch is `INVALID_ARGUMENT`. The caller needs write access to the app's bucket: a signed-in person's token carrying `upl:uploads:manage`, or a team API key. A read-only token (the download page's `client_credentials` token, or one without that scope) gets `PERMISSION_DENIED`. An updater-cli team API key (carrying `updater:apps:read` and `updater:releases:edit`) may call this for an app its team owns (and, for a bound key, one of its apps); a key for another team's app gets `NOT_FOUND`.
Start an artifact upload POST
Requests an upload slot from upl for one file of a draft release and returns its `upload_request_id` with either multipart `parts` (each with its own presigned URL, uploadable in parallel) or a single `upload_url`. PUT the bytes, then call `ConfirmArtifact`; nothing is recorded on the release until then. `platform` must be an electron id (`darwin`, `win32`, `win32-squirrel`, `linux`, `universal`) or a binary `<goos>-<goarch>` id such as `linux-amd64`, else `INVALID_ARGUMENT`; one release holds one family only, so mixing them is `FAILED_PRECONDITION`, as is uploading to a published release. 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`, or a team API key. A read-only token (the download page's `client_credentials` token, or one without that scope) gets `PERMISSION_DENIED`. An updater-cli team API key (carrying `updater:apps:read` and `updater:releases:edit`) may call this for an app its team owns (and, for a bound key, one of its apps); a key for another team's app gets `NOT_FOUND`.