Webhook
Releated API
- POST - /v1/users/<username>/webhooks
- This is an API for creating a new Webhook.
- GET - /v1/users/<username>/webhooks
- This is an API for getting a list of existing Webhooks whose user specified with .
- POST - /v1/users/<username>/webhooks/<webhookHash>
- This is an API for invoking a process by Webhook already created.
- DELETE - /v1/users/<username>/webhooks/<webhookHash>
- This is an API for deleting an existing Webhook.
Features
When you request an existing Webhook for invoking, you need not set a credential to HTTP header.
By creating a Webhook in advance, you can record quantity in real-time from clients that are not allowed to set any HTTP headers, such as some smart speakers.
Specifications
The operations that you can invoke by using webhook are the following three types, which are equivalent to the types of operations by using Instant recording.
Notes
- It is not required a credential when invoking webhook, so please take care about anyone can invoke operations by invoking Webhook if is leaked.
- When creating a webhook, you can specify the property (POST - /v1/users/<username>/webhooks - Pixela API Document). This property is for and type webhooks.
- If an or webhook is invoked with no property set, a default value of or is used.
- It is possible to set the quantity property on the type webhook, but that setting is not used for anything.