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

Pin a dataview, interface, analytics view, record template or graph view to a homepage.

POST/api/v1/pinsanalytics:write
注記

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

The target must be readable by the caller. Pinning for another user or a group needs Create Shared Pins.

スコープanalytics:write
非同期いいえ
MCP ツールcreate_pin

パラメーター​

名前場所型必須説明
Docwize-Versionheaderstring (date)任意
Idempotency-Keyheaderstring任意max 255

リクエスト本文​

Content-Type型
application/jsonPinCreateInput

応答​

ステータス説明本文
201Success.application/json Pin または object
400invalid_version, malformed_jsonapplication/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
409idempotency_in_progressapplication/problem+json Problem
413payload_too_largeapplication/problem+json Problem
415unsupported_media_typeapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422idempotency_key_reused, validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

エラー​

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

スキーマ​

Pin​

フィールド型必須説明
pin_idstring必須
pin_metadatastring または null必須Free JSON text the pin carries, or null.
pinned_atstring (date-time)必須
pinned_byUserRef または null必須Who pinned it; null when that user no longer exists.
scopeobject または object または object必須The user or group the pin is shown to.
targetobject または object または object または object または object または object必須The pinned dataview, interface, analytics view, record template or graph view.
target_namestring または null必須The target's name as stored on the pin; null when the caller cannot open the target.

PinCreateInput​

フィールド型必須説明
pin_metadatastring または null任意
scopeobject または object任意The user or group to pin for; defaults to the caller as a user.
targetobject または object または object または object または object必須

UserRef​

フィールド型必須説明
display_namestring必須
kindstring: user, system, integration または string必須
user_idstring または null必須