Update Craft Sites content's visibility

Craft Sitesのコンテンツの公開状態を更新します。

Required Scope

APIの実行に必要なScopeです。

beta.craft.sites.content.updateVisibility

Required Role

管理画面でScopeを追加する際に必要な権限です。

Craft > Craft 設定の編集
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required

サイト名

string
required
^/.*$

コンテンツのパス。/ から始まるパスを指定します。

boolean
required

公開状態。公開する場合は true を指定します。非公開にする場合は false を指定します。

boolean
Defaults to false

この操作でHook V2のトリガーを発火するかどうか。(参照

Headers
string

今後利用する可能性のある予約語です。現在は設定不要です。

Responses

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Choose an example:
application/json