Apps

Adopt an installation's update

Adopts exactly the reviewed revision under install's approval rules: owner-level permissions need an organization owner, and a newer revision makes the request stale. The installation's version moves, so the app mints new tokens. Requires authenticated authority and enforces current resource policy.

post/api/orgs/{slug}/installations/{installationId}/update

Request

  • Base URL
    https://git.cafe
  • Auth
    • API key in cookie gc-session
    • or HTTP bearer
    • or HTTP basic
    • or HTTP token

Path parameters

slugstring required
installationIdstring required

Request body

revisioninteger required
manifestHashstring required

Response

Response for status 200

idstring required
appIdstring required
appstring required
namestring required
publisherstring required
iconUrlstring nullable required
orgstring required
revisioninteger required
latestRevisioninteger required
versioninteger required
repositorySelection'all' | 'selected' required
repositoriesstring[] required
pausedAtstring nullable required
suspendedAtstring nullable required
uninstalledAtstring nullable required
installedAtstring required
lastUsedAtstring nullable required

Changes

No recorded changes to this operation across all 1 revision of this API.