This endpoint presents the RouteConverter API for categories in the system.

GET /v1/categories/302/?format=api
HTTP 200 OK
Allow: GET, PUT, DELETE, HEAD, OPTIONS
Content-Type: application/json
Last-Modified: Sat, 20 Dec 2025 00:39:01 GMT
Vary: Accept

{
    "parent": "https://api.routeconverter.com/v1/categories/985/?format=api",
    "name": "Baden-Württemberg",
    "children": [
        {
            "name": "Ettlingen",
            "url": "https://api.routeconverter.com/v1/categories/303/?format=api"
        },
        {
            "name": "Bad Herrenalb",
            "url": "https://api.routeconverter.com/v1/categories/306/?format=api"
        },
        {
            "name": "Baden-Baden",
            "url": "https://api.routeconverter.com/v1/categories/308/?format=api"
        },
        {
            "name": "Enzkreis",
            "url": "https://api.routeconverter.com/v1/categories/1031/?format=api"
        },
        {
            "name": "Apfelstetten",
            "url": "https://api.routeconverter.com/v1/categories/6892/?format=api"
        }
    ],
    "routes": [
        {
            "description": "Lauterbach",
            "creator_name": "Sandmann_x99",
            "localFileUrl": {
                "file": "https://api.routeconverter.com/files/ed761d57-6bf2-4d91-b460-d5880e69e32c"
            },
            "remoteUrl": null,
            "url": "https://api.routeconverter.com/v1/routes/972/?format=api"
        },
        {
            "description": "Dreikönigslauf Achern",
            "creator_name": "Sandmann_x99",
            "localFileUrl": {
                "file": "https://api.routeconverter.com/files/049b7023-2e44-4313-8001-eb7fb36e13de"
            },
            "remoteUrl": null,
            "url": "https://api.routeconverter.com/v1/routes/1343/?format=api"
        }
    ],
    "url": "https://api.routeconverter.com/v1/categories/302/?format=api"
}