Idempotency
The cases where an operation can potentially mutate resources within a system, an idempotency key is required. The key is used to assure that, no matter how many times the operation is applied, the mutation only takes place at most once.
Representation in a Request
Idempotency keys are universally unique identifiers and should be passed into the header as X-Idempotency-Key
.
When to use them
Refer to the table below to know which a request operation to the Pipevest API requires an idempotency key.
Request Type | Required |
---|---|
GET | No |
POST | Yes |
PUT | Yes |
PATCH | Yes |
DELETE | Yes |