Update Craft Function

Craft function更新のリクエストを送信します。

Required Scope

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

beta.craft.function.update

Required Role

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

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

ファンクションIDです。管理画面のURLに含まれるIDです。

string
required

ファンクションの説明

string
required

ファンクションのJavascriptコード

variables
array of objects
required

ファンクションの変数

variables*
packages
object
required

ファンクションのモジュール

boolean
Defaults to false

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

Headers
string

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

string

認証情報を含むトークンです。"Authorization" ヘッダーに Bearer <token> の形式で設定してください。

string

リクエストのコンテンツタイプを指定します。通常は application/json を使用してください。

Response

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