Dive

Retrieving a Dive

Retrieving the DD for a specific Dive

GET https://ddtable.nl/api/dive/{code}

Retrieve the DD for a dive when you know the exact dive code.

Path Parameters

Name
Type
Description

code*

String

The dive code

Headers

Name
Type
Description

Authorization*

String

Your Bearer Token

{
    "code": "102A",
    "name": "Forward 1 Somersault",
    "h10": 2.7,
    "h15": 2.8,
    "h20": 2.9,
    "h27": 3,
    "updated_at": "2022-06-13T11:41:08.000000Z"
}

This endpoint only finds a value if the requested Dive is present in the database of verified Dives with DD values. If you want to get the DD for a dive that is not present in the database, or maybe the DD for a specific height isn't pre-calculated, you should use Calculated Dive endpoint.

Searching For a Dive

Search for a dive when you don't know the full dive code.

GET https://ddtable.nlapi/dive/search/{search}

For example when you don't know in which positions a certain dive can be performed, you can leave out the position letter at the end of the dive code.

Path Parameters

Name
Type
Description

search*

String

Search String

Headers

Name
Type
Description

Authorization

String

Your Bearer Token

[
    {
        "code": "102A",
        "name": "Forward 1 Somersault",
        "h10": 2.7,
        "h15": 2.8,
        "h20": 2.9,
        "h27": 3,
        "updated_at": "2022-06-13T11:41:08.000000Z"
    },
    {
        "code": "102D",
        "name": "Forward 1 Somersault",
        "h10": null,
        "h15": null,
        "h20": null,
        "h27": null,
        "updated_at": "2022-06-13T11:41:08.000000Z"
    },
    ...
]

Last updated