본문으로 건너뛰기
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

    웹훅의 컬렉션. 빈 목록은 역할과 데이터 프로필로 볼 수 있는 모든 컬렉션을 뜻하고, 값이 없거나 null이면 그대로 유지돼요. 키 자체가 컬렉션으로 제한되어 있으면 컬렉션이 모두 그 키의 목록 안에 있는 웹훅만 보고 바꿀 수 있어요(다른 웹훅은 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이면 발신 인증을 제거해요.

사용처