Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

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

Arguments

FieldTypeOptionalDescription
chapter_num32-bit IntegerRequiredOne of the chapter numbers from (0..chapter count - 1) retrieved from the /1/guide/index - GET endpoint
section_num32-bit IntegerRequiredOne of the chapter numbers from (0..section count - 1) retrieved from the /1/guide/index - GET endpoint

Fields

FieldTypeOptionalDescription
sectionContent
stringRequired 
sectionShortTitle
stringRequired 
sectionSummary
stringRequired 
sectionTitle
stringRequired 

Example

curl -X GET \
-H 'Authorization: Token token="9319224d0002e7a32b26c0686c42a0bf"' \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "X-ClientId: 1" \
http://184.73.33.165/1/guide/section?chapter_num=1\&section_num=0

Response

{
  "response": {
    "sectionContent": "\tMilestones mark a significant point along the way to a greater destination. The common goal for a child with language delays is to achieve a level of linguistic competence commensurate with his typically developing peers. By identifying milestones, the focus of the intervention program can be ...",
    "sectionShortTitle": "Milestones",
    "sectionSummary": "",
    "sectionTitle": "Learning and Language Milestones"
  }
}
  • No labels