Created
June 20, 2017 05:09
-
-
Save joshco/d806fcd92ee09d43090868fd985c2370 to your computer and use it in GitHub Desktop.
Scripts collection
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"origin_system": "VAN", | |
"name": "osdi_script", | |
"description": "OSDI Test Script", | |
"title": "osdi_script", | |
"summary": "OSDI Test Script", | |
"status": "Active", | |
"identifiers": [ | |
"VAN:235196" | |
], | |
"_links": { | |
"self": { | |
"href": "https://osdi.ngpvan.com/api/v1/scripts/235196" | |
} | |
}, | |
"_embedded": { | |
"osdi:script_questions": [ | |
{ | |
"origin_system": "VAN", | |
"name": "foobarbaz", | |
"description": "What is your name?", | |
"sequence": 1, | |
"_embedded": { | |
"osdi:question": { | |
"origin_system": "VAN", | |
"name": "foobar", | |
"description": "What is your name?", | |
"title": "foobar", | |
"summary": "What is your name?", | |
"question_type": "SingleChoice", | |
"identifiers": [ | |
"VAN:202004" | |
], | |
"_links": { | |
"self": { | |
"href": "https://osdi.ngpvan.com/api/v1/questions/202004" | |
}, | |
"curies": [ | |
{ | |
"name": "osdi", | |
"href": "http://developers.ngpvan.com/osdi#{rel}", | |
"templated": true | |
} | |
] | |
} | |
} | |
}, | |
"_links": { | |
"self": { | |
"href": "https://osdi.ngpvan.com/api/v1/scripts/235196/script_questions/1" | |
}, | |
"osdi:question": { | |
"href": "https://osdi.ngpvan.com/api/v1/questions/202004" | |
}, | |
"osdi:script": { | |
"href": "https://osdi.ngpvan.com/api/v1/scripts/235196" | |
} | |
} | |
}, | |
{ | |
"origin_system": "VAN", | |
"name": "phone bank", | |
"description": "Will you phone bank?", | |
"sequence": 2, | |
"_embedded": { | |
"osdi:question": { | |
"origin_system": "VAN", | |
"name": "pbank", | |
"description": "Will you phone bank?", | |
"title": "pbank", | |
"summary": "Will you phone bank?", | |
"question_type": "SingleChoice", | |
"responses": [ | |
{ | |
"key": "856278", | |
"name": "Yes", | |
"title": "Yes" | |
}, | |
{ | |
"key": "856279", | |
"name": "No", | |
"title": "No" | |
} | |
], | |
"identifiers": [ | |
"VAN:203079" | |
], | |
"_links": { | |
"self": { | |
"href": "https://osdi.ngpvan.com/api/v1/questions/203079" | |
}, | |
"curies": [ | |
{ | |
"name": "osdi", | |
"href": "http://developers.ngpvan.com/osdi#{rel}", | |
"templated": true | |
} | |
] | |
} | |
} | |
}, | |
"_links": { | |
"self": { | |
"href": "https://osdi.ngpvan.com/api/v1/scripts/235196/script_questions/2" | |
}, | |
"osdi:question": { | |
"href": "https://osdi.ngpvan.com/api/v1/questions/203079" | |
}, | |
"osdi:script": { | |
"href": "https://osdi.ngpvan.com/api/v1/scripts/235196" | |
} | |
} | |
}, | |
{ | |
"origin_system": "VAN", | |
"name": "Data Entry", | |
"sequence": 3, | |
"_embedded": { | |
"osdi:question": { | |
"origin_system": "VAN", | |
"question_type": "SingleChoice", | |
"identifiers": [ | |
"VAN:52472" | |
], | |
"_links": { | |
"self": { | |
"href": "https://osdi.ngpvan.com/api/v1/questions/52472" | |
}, | |
"curies": [ | |
{ | |
"name": "osdi", | |
"href": "http://developers.ngpvan.com/osdi#{rel}", | |
"templated": true | |
} | |
] | |
} | |
} | |
}, | |
"_links": { | |
"self": { | |
"href": "https://osdi.ngpvan.com/api/v1/scripts/235196/script_questions/3" | |
}, | |
"osdi:question": { | |
"href": "https://osdi.ngpvan.com/api/v1/questions/52472" | |
}, | |
"osdi:script": { | |
"href": "https://osdi.ngpvan.com/api/v1/scripts/235196" | |
} | |
} | |
} | |
] | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"total_records": 1, | |
"per_page": 1, | |
"_links": { | |
"self": { | |
"href": "https://osdi.ngpvan.com/api/v1/scripts" | |
}, | |
"osdi:scripts": [ | |
{ | |
"href": "https://osdi.ngpvan.com/api/v1/scripts/235196" | |
} | |
] | |
}, | |
"_embedded": { | |
"osdi:scripts": [ | |
{ | |
"origin_system": "VAN", | |
"name": "osdi_script", | |
"description": "OSDI Test Script", | |
"title": "osdi_script", | |
"summary": "OSDI Test Script", | |
"status": "Active", | |
"identifiers": [ | |
"VAN:235196" | |
], | |
"_links": { | |
"self": { | |
"href": "https://osdi.ngpvan.com/api/v1/scripts/235196" | |
} | |
} | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment