# 1Autism API Catalog

This file is the human-readable companion to `data/api-catalog.js`.

The website at `api.1autism.com` renders the structured catalog with search, categories, fields, responses, auth requirements, source references, and backend library notes.

## Categories

- Authentication
- Public Discovery
- Parent Workspace
- Center Workspace
- Platform Admin
- Integrations & Backend Library

## Maintenance

When the main 1Autism app adds a new route action, server endpoint, Supabase RPC, storage usage, or external API call:

1. Add it to `data/api-catalog.js`.
2. Include route, method, auth requirement, type, source file, description, fields, returns, and backend library references.
3. Run `npm run check`.
4. Deploy the static site to the `api.1autism.com` host.

## DNS

`api.1autism.com` should point to the standalone docs deployment, not the main app source folder.

Recommended record:

```text
Type: A Record
Host: api
Value: 15.235.169.194
TTL: Automatic
```
