Create Flag Endpoint

Structure

Name
Type
Description
Required
id int The id for the flag No
name string The name of the flag Yes
color hexcode The color of the flag (format ##RRGGBB) Yes

Example Request

POST /api/flags/
{
    "name": "API Flag",
    "color": "#000000",
}

Example Response

{
    "flag": {
        "id": 1
    }
}


Revision #2
Created 2026-10-01 12:09:48 UTC by Ethan Payne
Updated 2026-10-02 13:27:46 UTC by Ethan Payne