Skip to Content
Xeonr Developer Docs
API SpecificationUpdater

Update an app's updater config

POST
/xeonr.updater.v1.UpdaterService/UpdateConfig

Replaces the app's display name, login redirect URL and public_source flag; all three are written as sent, so send the current values of the ones you are not changing. Branches, targets, modules and distributions are left alone. On an app with no config yet, this first save also generates its signing secret. The response is empty.

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. A config that cannot be read is an error, never replaced with a blank one.

Header Parameters

Connect-Protocol-Version*number

Define the version of the Connect protocol

Value in1
Connect-Timeout-Ms?number

Define the timeout, in ms

Request Body

application/json

bucketId?string
Length1 <= length
name?string
Length1 <= length
loginRedirectUrl?string

URL that initiates an auth flow and redirects back with ?token=<updater_jwt>.

publicSource?boolean

Whether the source repository is public. Controls display of commit SHA and compare links on the public download page.

[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://updater.xeonr.io/xeonr.updater.v1.UpdaterService/UpdateConfig" \  -H "Connect-Protocol-Version: 1" \  -H "Content-Type: application/json" \  -d '{}'
{}