Skip to content
GitmoapAPIBeta
Schema

AccessLimit

A limit in force.

Shape

  • atAccessScopeWhere the limit is set. It caps its subject there and everywhere beneath, including beneath a group or repository that does not inherit access.
  • created_atstring · date-time
  • limit_idLimitId (string · uuid)
  • ceilingRoleView or nulloptionalThe most the subject may hold. Absent when the limit allows nothing at all.
    • The RoleView schema
    • namestringThe role's display name: a built-in name such as Developer, or the custom role's name.
    • rankAccessLevelguestreporterdevelopermaintainerownerThe built-in rank the role counts as wherever a rank is compared, such as a protected branch's minimum.
    • builtinAccessLevelguestreporterdevelopermaintainerowneror nulloptionalSet when the role is built in.
    • customRoleId (string · uuid) or nulloptionalSet when the role is one the organization defined.
  • created_byActorSummary or nulloptional
  • reasonstring or nulloptional

Example

Synthesized example
{
"at": {
"full_path": "acme/payments-api",
"id": "id-f232",
"type": "group"
},
"created_at": "2026-10-15T07:52:38Z",
"limit_id": "c146ed5b-0b99-4fe3-a1ed-b6c232f4edff",
"subject": {
"principal": {
"id": "f0476788-6f1a-4018-824b-ca8ee0affe96",
"kind": "user",
"username": "tomas",
"avatar_url": "https://gitmoap.example/acme/17b22030"
}
},
"ceiling": {
"name": "payments-api",
"rank": "guest",
"builtin": "guest",
"custom": "d1aef3c0-0945-4a9c-a012-024f70278d25"
},
"created_by": {
"email": "tomas@acme.example",
"id": "id-d5cc",
"username": "mara",
"avatar_url": "https://gitmoap.example/acme/148ee2ea"
},
"reason": "reason-919a"
}

Graph

Used by