Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 54 additions & 0 deletions proto/apidocs.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
}
},
"tags": [
{
"name": "BrokenPermissionsService"
},
{
"name": "PermissionsService"
},
Expand Down Expand Up @@ -1172,6 +1175,19 @@
},
"description": "BreakingSchemaChange is used to signal a breaking schema change has happened, and that the consumer should\nexpect delays in the ingestion of new changes, because the permission set snapshot needs to be rebuilt from scratch.\nOnce the snapshot is ready, the consumer will receive a LookupPermissionSetsRequired event."
},
"v0BrokenWatchedPermission": {
"type": "object",
"properties": {
"resourceType": {
"type": "string",
"description": "resource_type is the type of the resource to watch for changes."
},
"permission": {
"type": "string",
"description": "permission is the permission to watch for changes."
}
}
},
"v0DownloadPermissionSetsResponse": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -1312,6 +1328,44 @@
}
}
},
"v0ReadBrokenWatchedPermissionsResponse": {
"type": "object",
"properties": {
"revision": {
"$ref": "#/definitions/v1ZedToken",
"description": "revision is the ZedToken at which the request was evaluated."
},
"watchedPermission": {
"$ref": "#/definitions/v0BrokenWatchedPermission",
"description": "The watched permission that broke."
},
"cycle": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/definitions/v0Resource"
},
"description": "The resources involved in the cycle. The resource order does not represent the cycle traversal order."
}
}
},
"v0Resource": {
"type": "object",
"properties": {
"objectType": {
"type": "string",
"description": "object_type is the type of the resource."
},
"objectId": {
"type": "string",
"description": "object_id is the id of the resource."
},
"permissionOrRelation": {
"type": "string",
"description": "permission_or_relation is the permission/relation."
}
}
},
"v0SetReference": {
"type": "object",
"properties": {
Expand Down
Loading
Loading