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

Get what the 3D viewer shows for a document.

GET/api/v1/documents/{document_id}/model-viewerdocuments:read
注記

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

Needs View Model Viewer. viewer says what opens the document: pdf, model3d (a model), model3d_pending (a model still being prepared, with progress and message) or download. For a model it gives the renderer, the file extension and tier, whether the viewer still needs configuring, the size the viewer takes (max_bytes) and source_file_hash, the revision a preview and the model notes are tied to. Needs read access to the document.

スコープdocuments:read
非同期いいえ
MCP ツールget_document_model_viewer
Portal の権限view_model_viewer

パラメーター​

名前場所型必須説明
document_idpathstring必須
Docwize-Versionheaderstring (date)任意
If-None-Matchheaderstring任意Answers 304 when the representation is unchanged (resources that publish an ETag).

応答​

ステータス説明本文
200Success.application/json ModelViewer
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
421wrong_regionapplication/problem+json Problem
422validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

エラー​

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

スキーマ​

ModelViewer​

フィールド型必須説明
configuration_requiredboolean必須Whether the viewer must be configured before it can open this model.
document_idstring必須
extensionstring または null必須The model file's extension.
max_bytesstring または null必須The largest model the viewer opens.
messagestring または null必須What the viewer tells the person while a model is prepared or when it cannot open it.
progressinteger または null必須0 to 100 while a model is being prepared.
rendererstring または null必須native_ifc, native_three or autodesk for a model; null otherwise.
source_file_hashstring または null必須The revision of the model file a preview and the model notes are tied to.
tierstring または null必須
viewerstring必須pdf, model3d, model3d_pending or download.