メインコンテンツへスキップ
GET
Go

承認

Authorization
string
header
必須

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

パスパラメータ

id
string
必須

取得する Hook の ID。

クエリパラメータ

fields
string

結果に含めるフィールドのカンマ区切りリストです。すべてのフィールドを取得するには空のままにします。

レスポンス

Hook を正常に取得しました。

dependencies
object

webtaskサーバーで使用される、このHookの依存関係。

enabled
boolean
デフォルト:true

このHookを実行するか(true)、無視するか(false)。

id
string
デフォルト:00001

この Hook の ID。

name
string
デフォルト:hook

このHookの名前。

script
string
デフォルト:module.exports = function(client, scope, audience, context, cb) cb(null, access_token); };

このHookの実行時に実行されるコード。

triggerId
string

トリガー ID