This repository has been archived by the owner on Jun 28, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
Modpack Builds
Kyle Klaus edited this page Oct 10, 2017
·
4 revisions
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"
}
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"
}
Request
POST /api/builds/{build_id}/bundles HTTP/1.1
Authentication: Bearer {access-token}
{
"release_id": 1,
}
Response
HTTP/1.1 200 OK
{
"id": 1,
"release_id": 1,
}
Request
POST /api/builds/{build_id}/bundles/{bundle_id} HTTP/1.1
Authentication: Bearer {access-token}
{
"release_id": 2,
}
Response
HTTP/1.1 200 OK
{
"id": 1,
"release_id": 2,
}
API Documentation