List categories

Lists a nested map of all active dataset's categories

{success} This is a public route


Method Uri Auth Permissions
GET /v1/categories none none

Headers

The API requires a header Accept to be submitted with the request:

{
    "Accept": "application/json",
}

Success Responses

Condition : All required data provided is valid and added to the request body.

Code : 200 Okay

Content example : Response will reflect back the entities:

[
    {
        "id": "6856b76f-132f-44a8-b225-a331a7930502",
        "name": "Anthropometric characteristics",
        "children": [
            {
                "id": "c3fcc126-cbd7-4f9a-8a8f-8d21ee3be367",
                "name": "Basic anthropometric characteristics",
                "children": [
                    {
                        "id": "f9b12846-08be-4251-b46c-f2202165b2b1",
                        "name": "Objectively measured basic anthropometric characteristics"
                    },
                    {
                        "id": "2e7bc3f8-0958-438f-8176-e1dbfe2c4a40",
                        "name": "Self reported basic anthropometric characteristics"
                    }
                ]
            },
            {
                "id": "8522f455-6ee5-4986-ae01-eacd84893b9e",
                "name": "Birth characteristics"
            },
            {
                "id": "da0e9726-6e5e-43f4-9cd3-dc084ba6267c",
                "name": "Body composition",
                "children": [
                    {
                        "id": "174f3997-83da-499d-b213-86eb12436bd5",
                        "name": "Bioelectrical impedance analysis"
                    },
                    {
                        "id": "042c6e80-3e0f-4467-8803-7b851b9bef8e",
                        "name": "DXAscan body composition"
                    },
                    {
                        "id": "1ae48436-a2b2-44e2-a91f-d06b491d735c",
                        "name": "MRI abdomen"
                    },
                    {
                        "id": "3f0c6eeb-8eb5-4700-932f-2af754e46f3f",
                        "name": "Skinfold measurement"
                    }
                    ...