Skip to content

API Modpack Issue

Oliver edited this page Jul 9, 2017 · 1 revision

POST /issue

Fields

Field Type Description Required
repository string

The token of the related repository.

YES
name string

The author of the issue.

NO
title string

The title of the issue,

YES
description string

The contents of the issue.

YES

Request

Headers

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

Body

{
“repository”: “mws”,
“name” : “DerOli82”,
“title”: “The title of the issue.”,
“description”: “The contents of the issue.”

}

Response

Status Codes

  • 406: Not Acceptable
  • 415: Unsupported Media Type
  • 201: Created
  • 400: Client Error
  • 422: Unprocessable Entity

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

{
“url”: “https://api.github.com/repos/combak/Modpack-Webservice/issues/6”,
“repository_url”: “https://api.github.com/repos/combak/Modpack-Webservice”,
“labels_url”: “https://api.github.com/repos/combak/Modpack-Webservice/issues/6/labels{/name}”,
“comments_url”: “https://api.github.com/repos/combak/Modpack-Webservice/issues/6/comments”,
“events_url”: “https://api.github.com/repos/combak/Modpack-Webservice/issues/6/events”,
“html_url”: “https://github.com/combak/Modpack-Webservice/issues/6”,
“id”: 219981100,
“number”: 6,
“title”: “The title of the issue.”,
“user”: {
“login”: “ComBak-Webservices”,
“id”: 26673408,
“avatar_url”: “https://avatars0.githubusercontent.com/u/26673408?v=3”,
“gravatar_id”: "",
“url”: “https://api.github.com/users/ComBak-Webservices”,
“html_url”: “https://github.com/ComBak-Webservices”,
“followers_url”: “https://api.github.com/users/ComBak-Webservices/followers”,
“following_url”: “https://api.github.com/users/ComBak-Webservices/following{/other_user}”,
“gists_url”: “https://api.github.com/users/ComBak-Webservices/gists{/gist_id}”,
“starred_url”: “https://api.github.com/users/ComBak-Webservices/starred{/owner}{/repo}”,
“subscriptions_url”: “https://api.github.com/users/ComBak-Webservices/subscriptions”,
“organizations_url”: “https://api.github.com/users/ComBak-Webservices/orgs”,
“repos_url”: “https://api.github.com/users/ComBak-Webservices/repos”,
“events_url”: “https://api.github.com/users/ComBak-Webservices/events{/privacy}”,
“received_events_url”: “https://api.github.com/users/ComBak-Webservices/received_events”,
“type”: “User”,
“site_admin”: false
},
“labels”: [],
“state”: “open”,
“locked”: false,
“assignee”: null,
“assignees”: [],
“milestone”: null,
“comments”: 0,
“created_at”: “2017-04-06T17:56:58Z”,
“updated_at”: “2017-04-06T17:56:58Z”,
“closed_at”: null,
“body”: “Issue posted by DerOli82: The contents of the issue.”,
“closed_by”: null,
“_links”: {
“self”: {
“href”: “http://localhost:8080/issue”
}
}

}

Content

  • Common
    • Installation
    • Configuration
  • Modpack
  • Minecraft (coming soon)
    • Server
    • ServerStatus
    • ServerPing

Clone this wiki locally