Skip to content
GitmoapAPIBeta
Schema

AccessDelta

One person's access changing at one group or repository.

Shape

  • gainsarray of stringPermissions they would hold that they do not hold now, by key.
  • lossesarray of stringPermissions they hold now that they would no longer hold, by key.
  • principalPrincipalSummary
    • The PrincipalSummary schema
    • idPrincipalId (string · uuid)
    • kindPrincipalKinduserservice_accountagentA person, a service account or an AI organization's agent.
    • usernamestring
    • avatar_urlstring or nulloptional
  • scopeAccessScope
  • rank_afterAccessLevelguestreporterdevelopermaintainerowneror nulloptional
  • rank_beforeAccessLevelguestreporterdevelopermaintainerowneror nulloptional

Example

Synthesized example
{
"gains": [
"gains-fa50",
"gains-ec42"
],
"losses": [
"losses-bc57"
],
"principal": {
"id": "e40a6213-e9d3-4640-89a8-15caaf827505",
"kind": "user",
"username": "lin",
"avatar_url": "https://gitmoap.example/acme/8fee9ab0"
},
"scope": {
"full_path": "acme/payments-api",
"id": "id-7d03",
"type": "group"
},
"rank_after": "guest",
"rank_before": "guest"
}

Graph

Used inside

Used by

Sent by 0 operations

No operation takes it as a request body.

Returned by 0 operations

No operation returns it directly.