API Documentation

Back to Repo

API endpoints for brevoza/church-of-jesus-christ-temples

GET

List Collection Items

Get a list of all items in a collection (metadata only by default).

Endpoint

https://www.brevoza.com/api/list-collection-items

Query Parameters

ParameterTypeRequiredDescription
ownerstringYesRepository owner
repostringYesRepository name
collectionstringYesCollection name
branchstringNoBranch name (default: main)
pagenumberNoPage number (default: 1)
limitnumberNoItems per page (default: 50)
includeContentbooleanNoInclude file content (default: false)

Live Example

Get first 5 items from collection

GET/api/list-collection-items?owner=brevoza&repo=church-of-jesus-christ-temples&collection=temples&branch=main&page=1&limit=5

Response

Loading...
GET

Get Item Content

Retrieve the full content of a specific item file.

Endpoint

https://www.brevoza.com/api/get-item-content

Query Parameters

ParameterTypeRequiredDescription
ownerstringYesRepository owner
repostringYesRepository name
pathstringYesFile path in repository
branchstringNoBranch name (default: main)

Live Example

Get content of a specific item

GET/api/get-item-content?owner=brevoza&repo=church-of-jesus-christ-temples&path=temples%2Faba-nigeria-temple.json&branch=main

Response

Loading...

Usage Notes

  • All endpoints support CORS and can be called from client-side applications.
  • Data is cached for 60 seconds to improve performance.
  • Use pagination parameters page and limit to paginate through large collections.
  • Use includeContent=false (default) for faster responses when you only need item metadata.
  • File paths should be URL-encoded (e.g., spaces become %20).

Available Collections

  • temples