/
/1/guide/chapter - GET
/1/guide/chapter - GET
Overview
The /1/guide/chapter endpoint provides access to the guide's chapter content.
Required Headers
- Authorization: Token token="<your session token here>"
- Content-Type: application/json
- User-Agent: dmtd-rest-api
- 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
- Accept-Language: <language> – 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 |
Fields
Field | Type | Optional | Description |
---|---|---|---|
content | string | Required | |
title | string | Required |
Example
curl -X GET \
-H 'Authorization: Token token="9319224d0002e7a32b26c0686c42a0bf"' \
-H "Accept: application/json" \
-H "User-Agent: dmtd-rest-api" \
-H "Content-Type: application/json" \
-H "X-ClientId: 1" \
https://api-sandbox.datamtd.com/1/guide/chapter?chapter_num=0
Response
{ "response": { "title": "Acknowledgements", "content": "B. F. Skinner's groundbreaking analysis of human behavior (1953) and language (1957) ... <p>Mark L. Sundberg<p>May, 2014 " } }
, multiple selections available,
Related content
/1/guide/section - GET
/1/guide/section - GET
More like this
/1/guide - GET
/1/guide - GET
More like this
/1/guide/index - GET
/1/guide/index - GET
More like this
/1/protocol/area_question - GET
/1/protocol/area_question - GET
More like this
/1/protocol - GET - Index
/1/protocol - GET - Index
More like this
/1/protocol - GET - Query
/1/protocol - GET - Query
More like this