Skip to content

Instantly share code, notes, and snippets.

@hburgund
Created January 28, 2015 03:30
Show Gist options
  • Save hburgund/c4598d2bc83d4d7a997e to your computer and use it in GitHub Desktop.
Save hburgund/c4598d2bc83d4d7a997e to your computer and use it in GitHub Desktop.
server JSON response for get_tags API call (currently api/1)
{
"listen": [
{
"code": "gender",
"defaults": [
3,
4
],
"header_text": "What genders do you want to listen to?",
"name": "What genders do you want to listen to?",
"options": [
{
"data": "class=tag-one",
"description": "male",
"loc_description": "",
"order": 2,
"relationships": [
3,
4,
5,
8,
9,
22,
23
],
"shortcode": "male",
"tag_id": 3,
"value": "male"
},
{
"data": "class=tag-one",
"description": "female",
"loc_description": "",
"order": 1,
"relationships": [
3,
4,
5,
8,
9,
22,
23
],
"shortcode": "female",
"tag_id": 4,
"value": "female"
}
],
"order": 1,
"select": "multi_at_least_one"
},
{
"code": "question",
"defaults": [
5,
22
],
"header_text": "What do you want to listen to?",
"name": "What do you want to listen to?",
"options": [
{
"data": "class=tag-one",
"description": "Why are you using Roundware?",
"loc_description": "",
"order": 1,
"relationships": [
3,
4,
5,
8,
9,
22,
23
],
"shortcode": "Why RW?",
"tag_id": 5,
"value": "Why are you using Roundware?"
},
{
"data": "class=tag-one",
"description": "Respond to something you've heard.",
"loc_description": "",
"order": 2,
"relationships": [
3,
4,
5,
8,
9,
22,
23
],
"shortcode": "respond",
"tag_id": 22,
"value": "Respond to something you've heard."
}
],
"order": 3,
"select": "multi_at_least_one"
},
{
"code": "usertype",
"defaults": [
8,
9
],
"header_text": "Who do you want to hear?",
"name": "Who do you want to hear?",
"options": [
{
"data": "class=tag-one",
"description": "Artist",
"loc_description": "",
"order": 1,
"relationships": [
3,
4,
5,
8,
9,
22,
23
],
"shortcode": "Artist",
"tag_id": 8,
"value": "Artist"
},
{
"data": "class=tag-one",
"description": "Visitor",
"loc_description": "",
"order": 2,
"relationships": [
3,
4,
5,
8,
9,
22,
23
],
"shortcode": "Visitor",
"tag_id": 9,
"value": "Visitor"
}
],
"order": 2,
"select": "multi_at_least_one"
}
],
"speak": [
{
"code": "gender",
"defaults": [],
"header_text": "What gender are you?",
"name": "What gender are you?",
"options": [
{
"data": "class=tag-one",
"description": "male",
"loc_description": "",
"order": 2,
"relationships": [
3,
4,
5,
8,
9,
22,
23
],
"shortcode": "male",
"tag_id": 3,
"value": "male"
},
{
"data": "class=tag-one",
"description": "female",
"loc_description": "",
"order": 1,
"relationships": [
3,
4,
5,
8,
9,
22,
23
],
"shortcode": "female",
"tag_id": 4,
"value": "female"
}
],
"order": 1,
"select": "single"
},
{
"code": "question",
"defaults": [],
"header_text": "What do you want to talk about?",
"name": "What do you want to talk about?",
"options": [
{
"data": "class=tag-one",
"description": "Why are you using Roundware?",
"loc_description": "",
"order": 1,
"relationships": [
3,
4,
5,
8,
9,
22,
23
],
"shortcode": "Why RW?",
"tag_id": 5,
"value": "Why are you using Roundware?"
},
{
"data": "class=tag-one",
"description": "Respond to something you've heard.",
"loc_description": "",
"order": 2,
"relationships": [
3,
4,
5,
8,
9,
22,
23
],
"shortcode": "respond",
"tag_id": 22,
"value": "Respond to something you've heard."
}
],
"order": 3,
"select": "single"
},
{
"code": "usertype",
"defaults": [],
"header_text": "Who are you?",
"name": "Who are you?",
"options": [
{
"data": "class=tag-one",
"description": "Visitor",
"loc_description": "",
"order": 1,
"relationships": [
3,
4,
5,
8,
9,
22,
23
],
"shortcode": "Visitor",
"tag_id": 9,
"value": "Visitor"
},
{
"data": "class=tag-one",
"description": "Artist",
"loc_description": "",
"order": 2,
"relationships": [
3,
4,
5,
8,
9,
22,
23
],
"shortcode": "Artist",
"tag_id": 8,
"value": "Artist"
}
],
"order": 2,
"select": "single"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment