跳到主要内容
Sursa Developers

对象

WebhookUpdate

字段

  • urlstring | null

    length ≤ 2048

  • descriptionstring | null

    length ≤ 200

  • eventsarray of WebhookEventFilter | null

    items ≥ 1

  • activeboolean | null
  • rolestring | null

    可选值: admineditorviewernull

  • data_profile_idinteger | null

    null 表示删除数据权限档案。

  • collection_idsarray of integer | null

    Webhook 的合集。空列表表示角色和数据权限档案可用的所有合集;不传值或传入 null 时保持不变。本身仅限部分合集的密钥只能看到和更改合集都在其列表中的 Webhook(其他 Webhook 返回 404 webhooks.not_found)。传入空列表或不在其列表中的合集时,返回 403 webhooks.collections_outside_key。

    items ≤ 200

  • tagsarray of string | null

    items ≤ 50

  • payloadstring | null

    可选值: fullthinnull

  • headersarray of WebhookHeaderInput | null

    items ≤ 10

  • authWebhookAuthInput | null

    null 表示删除出站授权。

使用方