1. API operations
  2. Set a test sink behavior program
PUT

Operation testsinks.configure. Every operation.

​
Authorizations

apiCredential
required
string
Scoped API credential bound to one organization, project, and environment.
memberSession
required
string
A signed-in member's session token. Unlike a credential or an access token it carries no project or environment, so a request using it must also send the two headers below.
Greatwait-Environment
required
string
Which environment of that project the request acts in: `test` or `live`.
Greatwait-Project
required
string
Which project in the member's organization the request acts in. Checked against that organization; a project belonging to another answers exactly as one that does not exist.

​
Query Parameters

sinkId
required
string

​
Body

application/json
behavior
required
string
completionDelayMs
integer
Required range: -∞ <= x <= 5000
delayMs
integer
Required range: -∞ <= x <= 10000
forDeliveries
integer
Required range: -∞ <= x <= 100
retryAfterSeconds
integer
Required range: -∞ <= x <= 300
status
integer
Required range: 400 <= x <= 599
then
string

​
Response

  • 200

  • 400

  • 401

  • 403

  • 404

  • 409

  • 429

  • 503

Set a test sink behavior program

createdAt
required
string
deliveryCount
required
integer
Required range: 0 <= x <= 9007199254740991
endpoint
required
string
environmentKind
required
string
id
required
string
program
required
object
project
required
string
updatedAt
required
string
url
required
string