Base URL returns full list of all categories:
https://api.countrysidebible.org/categories
Example response:
{
"categoryEntries": [
{
"id": 4,
"name": "Adults",
"suffix": "adu"
},
{
"id": 7,
"name": "Baptisms",
"suffix": "bap"
},
...
...
],
"metadata": {
"count": 11
}
}
Specifying the category ID after the base URL will return the single category item with that unique ID:
Example request:
https://api.countrysidebible.org/categories/3
Example response:
{
"categoryEntries": [
{
"id": 3,
"name": "Students",
"suffix": "stu"
}
],
"metadata": {
"count": 1
}
}