Skip to main content
GET
C#

承認

Authorization
string
header
必須

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

パスパラメータ

id
string
必須

取得するフックの ID。

クエリパラメータ

fields
string

結果に含めるフィールドのカンマ区切りの一覧。すべてのフィールドを取得する場合は空欄のままにします。

レスポンス

フックを正常に取得しました。

dependencies
object

webtask server が使用する、このフックの依存関係。

enabled
boolean
デフォルト:true

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

id
string
デフォルト:00001

このフックのID。

name
string
デフォルト:hook

このフックの名前。

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

このフックの実行時に実行されるコード。

triggerId
string

トリガー ID