Overview
The /1/guide/section endpoint provides access to the guide chapter's section content.
Required Headers
- Authorization: Token token="<your session token here>"
- Content-Type: application/json
- X-ClientId: <the client id here> or X-ClientCode: <the client code here>
Optional Headers
- X-DocType: text or html – see Content Formatting for more information
Arguments
Field | Type | Optional | Description |
---|---|---|---|
chapter_num | 32-bit Integer | Required | One of the chapter numbers from (0..chapter count - 1) retrieved from the /1/guide/index - GET endpoint |
section_num | 32-bit Integer | Required | One of the chapter numbers from (0..section count - 1) retrieved from the /1/guide/index - GET endpoint |
Fields
Field | Type | Optional | Description |
---|---|---|---|
sectionContent | string | Required | |
sectionShortTitle | string | Required | |
sectionSummary | string | Required | |
sectionTitle | string | Required |
Example
curl -X GET \
-H 'Authorization: Token token="9319224d0002e7a32b26c0686c42a0bf"' \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "X-ClientId: 1" \
http://data-sandbox.vbmappapp.com/1/guide/section?chapter_num=1\§ion_num=0
Response
{ "response": { "sectionContent": "There are five components of the VB-MAPP presented in this Guide. The first is the <B>VB-MAPP Milestones Assessment</B>, ... necessary intervention are included. ", "sectionShortTitle": "About the VB-MAPP", "sectionTitle": "About the VB-MAPP" } }