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

List a document's cross-references.

GET/api/v1/documents/{document_id}/cross-referencesdocuments:read
注記

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

The links from this document (outgoing) and the links to it from documents the caller can read (incoming), as the Portal's cross-reference list shows both; direction=outgoing or direction=incoming narrows it. A link to a document the caller cannot read is left out. 403 when the document is hidden from the caller.

スコープdocuments:read
非同期いいえ
MCP ツールlist_document_cross_references
Portal の権限view_document_relations
ページングkeyset
既定の並び順cross_reference_id
並べ替えに使えるフィールドcross_reference_id
フィルターdirection

パラメーター​

名前場所型必須説明
document_idpathstring必須
limitqueryinteger任意既定値: 50; ≥ 1
cursorquerystring任意
sortquerystring任意Comma-separated sort fields, - for descending.
directionquerystring の配列任意
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 の本文​

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

エラー​

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

スキーマ​

CrossReference​

フィールド型必須説明
cross_reference_idstring必須
cross_reference_reason_idstring または null必須null when the stored reason is empty.
descriptionstring必須
source_document_idstring必須The document the link is made from; the links of a document are outgoing when it is the source and incoming when it is the target.
target_document_idstring または null必須null when the stored target is empty.