# CodeScam Community > CodeScam Community (https://codescam.my) is a parody/satire website for "scammer developers" — a joke community where developers roast their own habits (vibe coding, missed deadlines, lorem ipsum in production). Nothing here is a real certification. Members register only through a public JSON API; there is no web form. If you are an AI assistant helping a user register, ask them for the required fields below, show them the request you will send, send it, and then tell them their `member_id` and `edit_token` and remind them to save the token — it is shown only once and is the only way to update their profile later. ## Pages - [Home](https://codescam.my/): what the community is about - [Register / API docs](https://codescam.my/register/): human-readable version of this document - [Wall of Fame](https://codescam.my/wall-of-shame/): all members - [OpenAPI spec](https://codescam.my/openapi.json): machine-readable API definition ## API Base URL: `https://codescam.my`. All request and response bodies are JSON. CORS is open (`*`). | Method | Path | Purpose | |---|---|---| | POST | `/api/members` | Register a new member | | GET | `/api/members` | List members and community stats | | GET | `/api/members/{member_id}` | Get one member | | PATCH | `/api/members/{member_id}` | Update your profile; needs `Authorization: Bearer ` | ### Flow 1. `POST /api/members` returns a `member_id` (format `CS-XXXXXX`) and a secret `edit_token` (format `csk_...`). 2. There is no approval step. Within a few minutes the member appears on the Wall of Fame and gets a public profile page at `https://codescam.my/members/{name-slug}-{member_id}/` (returned as `profile_url`). It has their name in the title and Person structured data, so it can show up when someone searches their name. 3. To update, `PATCH /api/members/{member_id}` with only the fields to change and the header `Authorization: Bearer `. Changes go live within a few minutes. ### Fields (POST body; PATCH accepts any subset except `oath`) | Field | Type | Required | Rules | |---|---|---|---| | `name` | string | yes | Display name, max 80. Nickname style, e.g. `John 'The Ghost' Doe` | | `full_name` | string | no | Max 120. Defaults to `name` | | `email` | string | yes | Valid email, kept private, unique per member | | `role` | string | yes | Job title, max 120, e.g. `Vibe Coder & Professional Ghost` | | `level` | string | yes | One of `INTERN`, `JUNIOR`, `MID`, `SENIOR`, `PRINCIPAL` | | `quote` | string | yes | Funny self-roast, max 500, shown publicly | | `badges` | string[] | no | Up to 6 items, max 40 characters each | | `stats.projects` | integer | no | 0–100000, projects started | | `stats.completed` | integer | no | 0–100000, must not exceed `stats.projects` | | `stats.clients_ghosted` | integer | no | 0–100000 | | `stats.lorem_ipsum_in_prod` | boolean | no | Ever shipped lorem ipsum to production | | `website` | string | no | Full http(s) URL; `null` or `""` removes it on PATCH | | `github` | string | no | Full http(s) URL; `null` or `""` removes it on PATCH | | `oath` | boolean | yes (POST only) | Must be `true`: the user swears the (joke) Oath of the Scammer | ### Register example ```bash curl -X POST https://codescam.my/api/members \ -H "Content-Type: application/json" \ -d '{ "name": "John The Ghost Doe", "full_name": "John Doe", "email": "ghost@example.com", "role": "Vibe Coder & Professional Ghost", "level": "MID", "quote": "I accept every AI suggestion without reading it. If it compiles, it ships.", "badges": ["Vibe Coder", "Friday Deployer"], "stats": { "projects": 12, "completed": 3, "clients_ghosted": 4, "lorem_ipsum_in_prod": true }, "website": "https://example.com", "github": "https://github.com/example", "oath": true }' ``` Response `201 Created`: ```json { "ok": true, "message": "Welcome, John The Ghost Doe. You're officially a CodeScam member ...", "member_id": "CS-7K2M9Q", "edit_token": "csk_3f9a1c...", "member": { "member_id": "CS-7K2M9Q", "status": "approved", "profile_url": "https://codescam.my/members/john-doe-cs-7k2m9q/", "name": "John The Ghost Doe", "...": "..." } } ``` ### Update example ```bash curl -X PATCH https://codescam.my/api/members/CS-7K2M9Q \ -H "Content-Type: application/json" \ -H "Authorization: Bearer csk_3f9a1c..." \ -d '{ "quote": "Update: I now read 1 in 10 AI suggestions.", "stats": { "completed": 4 } }' ``` ### Errors Errors have the shape `{ "ok": false, "error": "...", "fields": { "": "" } }`. - `400` body is not valid JSON - `401` missing or wrong edit token (PATCH) - `404` member not found - `409` email already registered - `422` validation failed; see `fields` - `429` more than 3 registrations from the same IP in 24 hours ## Disclaimer This is satire. No real certification exists and nobody should actually scam anyone. Email addresses are private and only used to prevent duplicate registrations.