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

Create a stamp.

POST/api/v1/stampsstamps:write
注記

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

Creates a stamp from SVG artwork. The artwork must be SVG and must not run code when shown. A collection must be one you can see.

スコープstamps:write
非同期いいえ
MCP ツールcreate_stamp
Portal の権限create_stamps

パラメーター​

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

リクエスト本文​

Content-Type型
application/jsonStampCreateInput

応答​

ステータス説明本文
201Success.application/json Stamp または 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
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 のコードです。各コードからそのページに移動できます。

スキーマ​

Stamp​

フィールド型必須説明
created_byUserRef必須
created_datestring または null必須
custom_field_idstring または null必須
descriptionstring または null必須
interaction_configobject必須How the stamp behaves when placed: format stamp_interaction.
modified_datestring または null必須
namestring必須
permissionsobject または object または object または object の配列必須
preview_svgstring または null必須
stamp_collection_idstring または null必須
stamp_idstring必須
svgstring必須The stamp's artwork: SVG markup without scripts.

StampCreateInput​

フィールド型必須説明
custom_field_idstring または null任意
descriptionstring または null任意
interaction_configobject または null任意
namestring必須
permissionsobject または object または object の配列任意Who may use the stamp; everyone when empty.
preview_svgstring または null任意
stamp_collection_idstring または null任意
svgstring必須

UserRef​

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