Toloka documentation

WebhookSubscriptionSearchRequest

toloka.client.search_requests.WebhookSubscriptionSearchRequest | Source code

WebhookSubscriptionSearchRequest(
    self,
    event_type: Optional[WebhookSubscription.EventType] = None,
    pool_id: Optional[str] = None,
    id_lt: Optional[str] = None,
    id_lte: Optional[str] = None,
    id_gt: Optional[str] = None,
    id_gte: Optional[str] = None,
    created_lt: Optional[datetime] = None,
    created_lte: Optional[datetime] = None,
    created_gt: Optional[datetime] = None,
    created_gte: Optional[datetime] = None
)

Parameters for searching webhook-subscriptions.

Parameters Description

Parameters Type Description
event_type Optional[WebhookSubscription.EventType]

Event type.

pool_id Optional[str]

ID of the pool for which subscription information is requested.

id_lt Optional[str]

Subscriptions with an ID less than the specified value.

id_lte Optional[str]

Subscriptions with an ID less than or equal to the specified value.

id_gt Optional[str]

Subscriptions with an ID greater than the specified value.

id_gte Optional[str]

Subscriptions with an ID greater than or equal to the specified value.

created_lt Optional[datetime]

Subscriptions created before the specified date.

created_lte Optional[datetime]

Subscriptions created before or on the specified date.

created_gt Optional[datetime]

Subscriptions created after the specified date.

created_gte Optional[datetime]

Subscriptions created after or on the specified date.