Skip to content

docs: complete API v3 documentation (resolves #2650)#1

Open
rafaumeu wants to merge 2 commits into
Adventech:mainfrom
rafaumeu:docs/api-v3-documentation
Open

docs: complete API v3 documentation (resolves #2650)#1
rafaumeu wants to merge 2 commits into
Adventech:mainfrom
rafaumeu:docs/api-v3-documentation

Conversation

@rafaumeu

Copy link
Copy Markdown

Summary

This PR adds comprehensive documentation for the Sabbath School API v3, resolving issue #2650 which has been open for 2+ years with multiple requests from the community.

Background

The API v3 has been live in production since late 2024, but documentation was never published. This documentation was sourced by:

  1. Probing production endpoints directly
  2. Inspecting the official Android client source code (ResourcesApi.kt, SSConstants.kt)
  3. Analyzing JSON response structures across multiple languages and content types

What's Documented

  • 4 core endpoints with full request/response examples
  • Content hierarchy (Language to Type to Group to Resource to Document to Segment to Block)
  • Block types (paragraph, story, story-slide, blockquote) with field descriptions
  • Quarterly naming conventions (year-quarter-curriculum-guide format with full code table)
  • Assets CDN URL patterns
  • Error handling (SPA HTML fallback behavior — important for client implementers)
  • Source repository map linking to all Adventech repos

Testing

All documented endpoints were verified against production (https://sabbath-school.adventech.io/api/v3/) across multiple languages (en, pt, es, zh) and content types (ss, aij, devo).

Closes #2650

Reverse-engineered from production endpoints and official client source code.
Covers all endpoints, content hierarchy, block types, naming conventions,
assets CDN, and error handling patterns.

Resolves #2650
- Full v2 endpoint documentation (resources, quarterlies, lessons, days, read)
- v2 vs v3 comparison table
- v2/v3 content hierarchy diagrams
- HTML content format + Bible verse reference system
- PDF CDN documentation
- Language coverage table (7 languages sampled)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant