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

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

{
    "parent": "https://api.routeconverter.com/v1/categories/307/?format=api",
    "name": "Deutschland",
    "children": [
        {
            "name": "Baden-Württemberg",
            "url": "https://api.routeconverter.com/v1/categories/302/?format=api"
        },
        {
            "name": "Hessen",
            "url": "https://api.routeconverter.com/v1/categories/336/?format=api"
        },
        {
            "name": "Rheinland-Pfalz",
            "url": "https://api.routeconverter.com/v1/categories/1281/?format=api"
        }
    ],
    "routes": [
        {
            "description": "„Nuthetal“ nach „Valenciennes“",
            "creator_name": "masin",
            "localFileUrl": {
                "file": "https://api.routeconverter.com/files/37ff7149-0ad4-4b8b-818f-4079aa55513c"
            },
            "remoteUrl": null,
            "url": "https://api.routeconverter.com/v1/routes/38032/?format=api"
        }
    ],
    "url": "https://api.routeconverter.com/v1/categories/985/?format=api"
}