questions
Add a scenario
A case the question is tested under. Propositions and ranges may hold under it.
post/workspaces/{id}/questions/{questionId}/scenarios
Request
- Base URL: https://api.swingfactor.ai/v1
- URL: https://api.swingfactor.ai/v1/workspaces/{id}/questions/{questionId}/scenarios
- Auth: HTTP bearer
Path parameters
idstring uuid required
The workspace's id (a UUID).
questionIdstring uuid required
The question's id (a UUID).
Headers
Idempotency-Keystring
Any unique string. The same key, method, path and body within 24 hours answers with the first response instead of creating again; the same key on a different request is 409 idempotency_key_reused.
Request body
Response
The scenario.
Example response
{
"label": "Contested / protracted negotiation"
}Changes
No recorded changes to this operation across all 1 revision of this API.