Ordering is CBC teaching pastors first, followed by everyone else sorted A-Z by last name. You'll notice that the CBC teaching pastors have a unique property "suffix". This is a small identifying token that helps add a bit more information to the mediacode for media items in the sermon category.
Base URL returns full list of all teachers:
https://api.countrysidebible.org/teachers
Example response:
{
"teacherEntries": [
{
"id": 1,
"name": "Tom Pennington",
"status": "Pastor-Teacher"
"suffix": "tp"
},
...
...
{
"id": 123,
"name": "Chris Burbridge"
"status": "CBC Teacher"
},
...
...
],
"metadata": {
"count": 222
}
}
Specifying the teacher ID after the base URL will return the single teacher item with that unique ID:
Example request:
https://api.countrysidebible.org/teachers/1
Example response:
{
"teacherEntries": [
{
"id": 1,
"name": "Tom Pennington",
"status": "Pastor-Teacher"
"suffix": "tp"
},
],
"metadata": {
"count": 1
}
}