Skip to main content
GET
C#

承認

Authorization
string
header
必須

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

クエリパラメータ

page
integer

返される結果のページ index です。最初のページは 0 です。

必須範囲: x >= 0
per_page
integer

1 ページあたりの結果数です。

必須範囲: 0 <= x <= 100
include_totals
boolean

結果を、総件数を含むオブジェクト内に返すか (true)、結果の array を直接返すか (false、default) を指定します。

enabled
boolean

Hook が有効 (true) か無効 (false) かで絞り込むための任意の Filter。

fields
string

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

triggerId
enum<string>

トリガーに一致する Hooks を取得します トリガーに一致するフックを取得します

利用可能なオプション:
credentials-exchange,
pre-user-registration,
post-user-registration,
post-change-password,
send-phone-message

レスポンス

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

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