Skip to content

API Modpack Repository

Oliver edited this page Jul 9, 2017 · 1 revision

GET /repository

Return a set of all allowed repositories

Request

Headers

Header Value
Accept
application/vnd.modpack.v1+json
application/hal+json
application/json

Response

Status Codes

  • 406: Not Acceptable
  • 415: Unsupported Media Type
  • 200: OK

Headers

Header Value
Content-Type
application/vnd.modpack.v1+json
application/hal+json
application/json
Allow Comma-separated list of all HTTP methods allowed

Body

{
“_links”: {
“self”: {
“href”: “http://localhost:8080/repository?page=1”
},
“first”: {
“href”: “http://localhost:8080/repository”
},
“last”: {
“href”: “http://localhost:8080/repository?page=1”
}
},
“_embedded”: {
“repository”: [
{
“token”: “mws”,
“name”: “Modpack-Webservice”,
“owner”: “combak”
}
]
},
“page_count”: 1,
“page_size”: 25,
“total_items”: 1,
“page”: 1

}

Content

  • Common
    • Installation
    • Configuration
  • Modpack
  • Minecraft (coming soon)
    • Server
    • ServerStatus
    • ServerPing
Clone this wiki locally