Back to list

theme/

A complete list of theme groupings - National Agriculture Literacy Outcomes (NALOs) - with their grades.

Extra Parameters:

Parameter none
Example https://api.agclassroom.org/api/theme/

HTTP Method

GET

Requires authentication:

No

Return Format:

JSON

Return Example:

{

success:true

message:Found 5 themes.

resultcount:5

result: [..]

0 {...}

id:2

title:Agriculture and the Environment

constant:ENVIRONMENT

1 {...}

id:6

title:Culture, Society, Economy & Geography

constant:CULTURE

. . .

}

Back to list

theme/constant/{constant}/

Returns one specific theme by its unique constant.

Extra Parameters:

Parameter constant
Type number
Description This constant must be known previously or be pulled from the theme call.
Example https://api.agclassroom.org/api/theme/constant/LIFESTYLE/

HTTP Method

GET

Requires authentication:

No

Return Format:

JSON

Return Example:

{

success:true

message:Found 1 theme.

resultcount:1

result: [...]

0 {...}

id:4

title:Food, Health, and Lifestyle

constant:LIFESTYLE

}

Back to list

theme/id/{id}/

Returns one specific theme by its unique identifier.

Extra Parameters:

Parameter id
Type number
Description This identifier must be known previously or be pulled from the theme call.
Example https://api.agclassroom.org/api/theme/id/4/

HTTP Method

GET

Requires authentication:

No

Return Format:

JSON

Return Example:

{

success:true

message:Found 1 theme.

resultcount:1

result: [...]

0 {...}

id:4

title:Food, Health, and Lifestyle

constant:LIFESTYLE

}