Overview

API reference overview

API Reference Overview

Complete API documentation for the YCW Adelaide website and CMS.

Base URL

Production: https://ycwadelaide.adenmgb.com
Development: https://dev.ycwadelaide.adenmgb.com
Local: http://localhost:8787

Authentication

Most endpoints require JWT token:

Authorization: Bearer <your-jwt-token>

Get token via /api/auth/login.

API Structure

Public APIs (/api/*):

  • No authentication required
  • Read-only published content
  • Form submissions

Staff APIs (/api/staff/*):

  • Require authentication
  • Full CRUD operations
  • Content management

Real-time APIs (/api/realtime/*):

  • WebSocket connections
  • Real-time collaboration

Detailed Documentation

Complete API reference organized by category:

Staff APIs (Authentication Required)

Public APIs (No Authentication Required)

  • Public APIs - Published content, submissions, feeds, SEO endpoints

All endpoints include:

  • Request/response formats
  • Authentication requirements
  • Error handling
  • Use cases and examples
  • Mobile implementation tips

Quick Start

  1. Authenticate: POST /api/auth/login
  2. Get Token: Extract from response
  3. Make Requests: Include Authorization: Bearer <token> header