49 lines
749 B
Plaintext
49 lines
749 B
Plaintext
meta {
|
|
name: update
|
|
type: http
|
|
seq: 3
|
|
}
|
|
|
|
put {
|
|
url: {{baseUrl}}/survey-questions/:id
|
|
body: json
|
|
auth: inherit
|
|
}
|
|
|
|
params:path {
|
|
id: 2
|
|
}
|
|
|
|
body:json {
|
|
{
|
|
|
|
"options": [
|
|
{
|
|
"label": "Laravel",
|
|
"tags": ["focus", "calm"]
|
|
},
|
|
{
|
|
"label": "React.js",
|
|
"tags": ["energy"]
|
|
},
|
|
{
|
|
"label": "Vue.js",
|
|
"tags": []
|
|
},
|
|
{
|
|
"label": "Django"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
|
|
settings {
|
|
encodeUrl: true
|
|
timeout: 0
|
|
}
|
|
|
|
docs {
|
|
Sending `options` replaces the whole option set (and clears existing answers).
|
|
Each option may include `tags` (array of tag names) used by suggested-media.
|
|
}
|