Organizations

Get repository retirement status

Returns the retirement record for repoId in the organization identified by slug, including whether native data is retained or absent. Requires authenticated authority and enforces current resource policy.

get/api/orgs/{slug}/repo-retirements/{repoId}

Request

  • Base URL
    https://git.cafe
  • Auth
    • API key in cookie gc-session
    • or HTTP bearer
    • or HTTP basic
    • or HTTP token
    • or OAuth 2
      Authorization code: /api/oauth/authorize
      Token URL: /api/oauth/token scopes: repo:administration:admin

Path parameters

slugstring required
repoIdstring required

Response

Response for status 200

repoIdstring required
state'retained' | 'absent' required
reason'owner-delete' | 'collaborator-revoked' | 'org-member-revoked' | 'org-member-role-changed' | 'team-member-revoked' required
failureCode'native-retirement-unavailable' | 'null' nullable required
createdAtstring date-time required
completedAtstring date-time nullable required

Changes

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