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

List who can reach a document.

GET/api/v1/documents/{document_id}/effective-accesspermissions:admin
注記

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

Keyset list of the people who can open the document, with every reason (direct, group, folder, project, register). list=partial lists the people whose access depends on a folder or project the resolver cannot read. Each source names what the access comes from by ID and name, and the principals its grant names.

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

パラメーター​

名前場所型必須説明
document_idpathstring必須
listquerystring または null任意effective (the default) or partial: people whose access depends on something the resolver cannot read.
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
404not_foundapplication/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 の本文​

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

エラー​

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

スキーマ​

EffectiveAccess​

フィールド型必須説明
can_editboolean必須
principalGrantPrincipal必須
sourcesEffectiveSource の配列必須Every reason the person can reach the document.

EffectiveSource​

フィールド型必須説明
custom_field_template_idstring または null必須The register of a record source.
folder_idstring または null必須The folder of a folder source.
group_idstring または null必須The group of a group grant.
namestring または null必須The group, folder, project or register the access comes from; null when there is none.
project_idstring または null必須The project of a project source, or of a folder source that also needs it.
project_namestring または null必須That project's name.
row_idstring または null必須The register row of a record source.
typestring必須direct, group, folder, project, record or everyone; an open enum.
viaEffectiveSourceVia の配列必須Whom the folder, project or register grant names: the person, a group they belong to, or everyone.

EffectiveSourceVia​

フィールド型必須説明
group_idstring または null必須
namestring または null必須The group's name.
typestring必須user, group or everyone.

GrantPrincipal​

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