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

List the distinct values of a document field.

POST/api/v1/document-fields/{document_field_id}/values/searchdocuments:read
注記

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

The distinct stored values of the field among the documents the caller can read, in value order. A non-empty query keeps the values that contain it. Custom field values are not built yet.

スコープdocuments:read
非同期いいえ
MCP ツールsearch_document_field_values
Portal の権限search_document_metadata
ページングsnapshot
既定の並び順value
並べ替えに使えるフィールドvalue

パラメーター​

名前場所型必須説明
document_field_idpathstring必須
limitqueryinteger任意既定値: 50; ≥ 1
cursorquerystring任意
sortquerystring任意Comma-separated sort fields, - for descending.
Docwize-Versionheaderstring (date)任意

リクエスト本文​

Content-Type型
application/jsonDocumentFieldValuesSearchInput

応答​

ステータス説明本文
200Success.application/json object
400invalid_version, malformed_jsonapplication/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
413payload_too_largeapplication/problem+json Problem
415unsupported_media_typeapplication/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 の本文​

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

エラー​

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

スキーマ​

DocumentFieldValue​

フィールド型必須説明
stored_valuestring必須The stored text the value reads from.
valuestring必須The value as the read shape shows it: a list's label, else the stored text.

DocumentFieldValuesSearchInput​

フィールド型必須説明
querystring または null任意Keep only the values that contain this text.