DLCs

Overview

Some charts may contain content from a DLC of Spin Rhythm XD. SpinShare stores and verifies DLC ownership for those charts by pre-computing MD5 hashes of the published DLC files and requesting them for access.

A chart that is part of a DLC can only be downloaded by providing a valid MD5 DLC hash through the SPSH-DLC-Hash header property.

List DLCs

Returns a list of all DLCs

Method GET
Endpoint /dlc

Output Body
{
    "version": 1,
    "status": 200,
    "data": [
        {
            "id": 1,
            "identifier": "supporterpack1",
            "title": "Supporter Pack",
            "storeLink": "https://store.steampowered.com/app/1664540/Spin_Rhythm_XD__Supporter_Pack/"
        }
    ]
}

Verify DLC Hash

Returns the DLC of a DLC MD5 hash if it is valid or a 404 response if it is invalid

Method GET
Endpoint /dlc/verify/DLCHash

Output Body
{
    "version": 1,
    "status": 200,
    "data": {
        "id": 1,
        "identifier": "supporterpack1",
        "title": "Supporter Pack",
        "storeLink": "https://store.steampowered.com/app/1664540/Spin_Rhythm_XD__Supporter_Pack/"
    }
}

Output Body (Not Found)
{
    "version": 1,
    "status": 404,
    "data": null
}