Skip to content
This repository has been archived by the owner on Jun 28, 2023. It is now read-only.

Modpack Builds

Kyle Klaus edited this page Oct 9, 2017 · 4 revisions

Read a modpack build

Request

GET /api/builds/{build_id} HTTP/1.1
Authentication: Bearer {access-token}

Response

HTTP/1.1 200 OK

    {
        "id": 1,
        "modpack_id": 1,
        "version": "1.0.0",
        "status": "public"
    }

Add a modpack build

Request

POST /api/builds HTTP/1.1
Authentication: Bearer {access-token}

    {
        "modpack_id": 1,
        "version": "1.0.0",
        "status": "public"
    }

Response

HTTP/1.1 200 OK

    {
        "id": 1,
        "modpack_id": 1,
        "version": "1.0.0",
        "status": "public"
    }
Clone this wiki locally