メインコンテンツまでスキップ

List access grants by principal.

GET/api/v1/access-grantspermissions:admin
注記

このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。

Keyset list of the grants on folders, projects, dataviews and record templates, by resource_type, resource_id, principal_type and principal_id. user_id lists the user's grants and the grants to their groups, with the group as the source. Dataviews with no grant and projects granted to everyone are listed with source everyone (principal everyone when no principal is named). The access inherited through folders and projects is listed on those resources.

スコープpermissions:admin (機密性の高いスコープ)
非同期いいえ
MCP ツールlist_access_grants
ページングkeyset
既定の並び順resource_type, resource_id, principal_type, principal_id
並べ替えに使えるフィールドresource_type, resource_id, principal_type, principal_id

パラメーター​

名前場所型必須説明
resource_typequerystring または null任意folder, project, dataview or record_template.
user_idquerystring または null任意The user: their own grants, and the grants to their groups (with the group as source).
group_idquerystring または null任意The group whose grants are listed.
limitqueryinteger任意既定値: 50; ≥ 1
cursorquerystring任意
sortquerystring任意Comma-separated sort fields, - for descending.
Docwize-Versionheaderstring (date)任意
If-None-Matchheaderstring任意Answers 304 when the representation is unchanged (resources that publish an ETag).

応答​

ステータス説明本文
200Success.application/json object
304Not modified (If-None-Match matched the ETag).
400invalid_versionapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
410cursor_expiredapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422invalid_cursor, validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

200 の本文​

フィールド型必須説明
itemsAccessGrantListing の配列必須
next_cursorstring または null必須
warningsobject の配列必須

エラー​

この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。

スキーマ​

AccessGrantListing​

フィールド型必須説明
principalGrantPrincipal必須
resourceAccessResource必須
sourceAccessGrantSource必須

AccessGrantSource​

フィールド型必須説明
group_idstring または null必須
typestring必須direct; group (the grant reaches the user through this group); or everyone (the resource is open to everyone).

AccessResource​

フィールド型必須説明
dataview_idstring または null必須
folder_idstring または null必須
project_idstring または null必須
record_template_idstring または null必須
typestring必須folder, project, dataview or record_template.

GrantPrincipal​

フィールド型必須説明
group_idstring または null必須
typestring必須user or group; everyone in the access listing for what is open to all.
user_idstring または null必須