/repositories/:username/:repo_slug/issues
POST {{baseUrl}}/repositories/:username/:repo_slug/issues
Creates a new issue.
This call requires authentication. Private repositories or private issue trackers require the caller to authenticate with an account that has appropriate authorisation.
The authenticated user is used for the issue's reporter
field.
Request Body
{"type"=>"nisi commodo in", "assignee"=>{"created_on"=>"1999-09-16T05:18:35.136Z", "display_name"=>"ut eu nulla Duis eiusmod", "links"=>{"avatar"=>{"href"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "followers"=>{"href"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "following"=>{"href"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "html"=>{"href"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "repositories"=>{"href"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "self"=>{"href"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}}, "username"=>"q8hKpV_", "uuid"=>"nulla cupidatat quis ut", "website"=>"laborum tempor ea", "account_id"=>"Ut", "is_staff"=>true}, "component"=>{"type"=>"sunt in ex", "id"=>69759231, "links"=>{"self"=>{"href"=>"http://R.awcD.KfhlWWgu"}}, "name"=>"aliquip quis proident ad"}, "content"=>{"html"=>"<string>", "markup"=>"<string>", "raw"=>"<string>"}, "created_on"=>"<dateTime>", "edited_on"=>"<dateTime>", "id"=>"<integer>", "kind"=>"<string>", "links"=>{"attachments"=>{"href"=>"<uri>"}, "comments"=>{"href"=>"<uri>"}, "html"=>{"href"=>"<uri>"}, "self"=>{"href"=>"<uri>"}, "vote"=>{"href"=>"<uri>"}, "watch"=>{"href"=>"<uri>"}}, "milestone"=>{"id"=>-33415129, "links"=>{"self"=>{"href"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}}, "name"=>"incididunt fugiat dolore"}, "priority"=>"<string>", "reporter"=>{"created_on"=>"1993-01-27T15:14:32.904Z", "display_name"=>"Lorem in reprehenderit", "links"=>{"avatar"=>{"href"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "followers"=>{"href"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "following"=>{"href"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "html"=>{"href"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "repositories"=>{"href"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "self"=>{"href"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}}, "username"=>"UE9hEhdSk0E", "uuid"=>"voluptate pariatur sint nostrud", "website"=>"id fugiat ullamco", "account_id"=>"e", "is_staff"=>false}, "repository"=>{"type"=>"officia quis", "created_on"=>"1986-10-07T20:26:05.085Z", "description"=>"voluptate labore Ut", "fork_policy"=>"no_public_forks", "full_name"=>"nisi", "has_issues"=>false, "has_wiki"=>true, "is_private"=>false, "language"=>"et eu voluptate tempor", "links"=>{"avatar"=>{"href"=>"http://iolJrFbknRirvzhFeBLiXfVctDE.rnkT9h5qOvederhDZ8y7gN,FZfd8oIIdBVQkGnl99P"}, "clone"=>{"href"=>"https://fruNCwgbnErNBFsTIVIVDPoCrKgIoZky.pqjiB2OcE"}, "commits"=>{"href"=>"http://v.mhVKBs3CRlCy0HljM4iveMwMXks0pBjAu9xBMJVkapCOLuWrLb"}, "downloads"=>{"href"=>"http://MQOVdoOISgcRRAOhkhLZEXeUlFuAzlxg.ohtbRd7"}, "forks"=>{"href"=>"https://kYiqGglaZvPxeLLVjaJakxs.zkxmmP4oEfnxg"}, "hooks"=>{"href"=>"http://rSgpfaEOfjjbC.bvbhVw4V+C"}, "html"=>{"href"=>"http://OhTMjJxpZZPQDWnSpglmCXRwX.lbcH7uKpUOiGh3HYcbIHsIRPvpZ6WUt-izO"}, "pullrequests"=>{"href"=>"http://gNXnFcrBkfEWSOJUth.xytwopCU6yeXU8VOWR.PLTbPldZSa"}, "self"=>{"href"=>"http://RgtgEjnfpfqeJptGiGBbcvnOONKB.cjcFEycXwS6hBzCcKYtzMiHfeMchTkPQuz1-OJvLy"}, "watchers"=>{"href"=>"http://MizjHdCJRXSGNAJAYyEAxBfqPVsPOb.hrbwJa7TjuOQp6FsKpfL+fEFNbAHZ9SFGSu6u-PdJ6J"}}, "name"=>"reprehenderit", "owner"=>{"created_on"=>"1979-05-26T20:47:58.369Z", "display_name"=>"sint reprehenderit", "links"=>{"avatar"=>{"href"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "followers"=>{"href"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "following"=>{"href"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "html"=>{"href"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "repositories"=>{"href"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "self"=>{"href"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}}, "username"=>"x", "uuid"=>"do Ut qui minim", "website"=>"culpa Ut in ad aliq"}, "parent"=>{"value"=>"<Circular reference to #/components/schemas/repository detected>"}, "project"=>{"created_on"=>"1941-11-06T16:03:22.238Z", "description"=>"labore velit proident ullamco", "is_private"=>false, "key"=>"", "links"=>{"avatar"=>{"href"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "html"=>{"href"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}}, "name"=>"dolor elit minim", "owner"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "updated_on"=>"1977-10-05T08:36:44.256Z", "uuid"=>"adipisicing labore"}, "scm"=>"git", "size"=>-18120693, "updated_on"=>"2016-11-29T10:24:27.350Z", "uuid"=>"velit cillum culpa veni"}, "state"=>"<string>", "title"=>"<string>", "updated_on"=>"<dateTime>", "version"=>{"id"=>30806675, "links"=>{"self"=>{"href"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}}, "name"=>"magna aute"}, "votes"=>"<integer>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: Created
{"type":"ut dolore cupidatat in cillum","assignee":{"created_on":"1992-08-10T00:54:23.825Z","display_name":"magna sit Ut amet","links":{"avatar":{"href":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"followers":{"href":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"following":{"href":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"html":{"href":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"repositories":{"href":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"self":{"href":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}},"username":"JXg2dhr-E","uuid":"nisi amet","website":"cupidatat ad cillum enim","account_id":"nisi Ut","is_staff":false},"component":{"type":"amet et consequat qui","id":34648457,"links":{"self":{"href":"https://hNfjDZf.uyosdqJ4RxbI7UrlpFKLtgDUomK++iFl+6M6mIDDVGpLCFBcuJ,ibit5MZ5g"}},"name":"non elit"},"content":{"html":"\u003cstring\u003e","markup":"\u003cstring\u003e","raw":"\u003cstring\u003e"},"created_on":"\u003cdateTime\u003e","edited_on":"\u003cdateTime\u003e","id":"\u003cinteger\u003e","kind":"\u003cstring\u003e","links":{"attachments":{"href":"\u003curi\u003e"},"comments":{"href":"\u003curi\u003e"},"html":{"href":"\u003curi\u003e"},"self":{"href":"\u003curi\u003e"},"vote":{"href":"\u003curi\u003e"},"watch":{"href":"\u003curi\u003e"}},"milestone":{"id":44059309,"links":{"self":{"href":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}},"name":"ea sit"},"priority":"\u003cstring\u003e","reporter":{"created_on":"1949-10-16T21:58:59.558Z","display_name":"anim fugiat dolor ipsum","links":{"avatar":{"href":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"followers":{"href":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"following":{"href":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"html":{"href":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"repositories":{"href":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"self":{"href":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}},"username":"5Xy","uuid":"labore dolore deserunt cillum","website":"velit irure fugiat dolor Excepteur","account_id":"do","is_staff":true},"repository":{"type":"nisi nulla labore ullamco consectetur","created_on":"1958-07-26T07:27:10.650Z","description":"tempor ad ex dolor aliqua","fork_policy":"no_forks","full_name":"ut dolore eu","has_issues":true,"has_wiki":false,"is_private":true,"language":"incididunt velit ut","links":{"avatar":{"href":"http://bsyiDrdOsLKHeyZSNTdyNmiILcbM.ujiBNeMtnCj3Rwub9o9Ju0Cffx2g67lBGwVutx6pxZ,l8SmOaE2p.0Ue5b.k2"},"clone":{"href":"http://vbtBSrIWAjTvIpeklnbTt.dyoggzGGNT04PjV0TaPQjYplqXCVw-FSqTtawVi7rgfSxZMcNyHEBFvkfqNE8f"},"commits":{"href":"https://rzWNcJdN.gaMmSYAl7TV4Dmjmw3OeqYeZCgGqeiN4.egs"},"downloads":{"href":"http://jJuv.lxt5wR4RL6OkdiwmCrpiIfvvEnajcg3OG,BZOR3vKKbciEoLgZ9Qyp"},"forks":{"href":"http://kDnBnWytTqNfcwXgR.amtl,n9EyxhT6cQbhl3F5PtkwC+Sc.ZVs0i6PV,jZkvJmI3OtC"},"hooks":{"href":"https://SioKiTxdeMUaCes.jyo6O4RXV4+LcQUuPmU"},"html":{"href":"http://TRLYiHGhWZZi.vpfZSIB4sM5nflmlmRLXOZJvqMbHgBlz2zP"},"pullrequests":{"href":"https://RUievzzbPeglh.uyxjpRdYL15FBQnd9wouQocyAyI8Zf0uW7G,,4GA3Gz,YtDX,0BMN2z88"},"self":{"href":"https://HexGtZJbfeg.jhgeNFDp40dQFuPruGexBngQZ"},"watchers":{"href":"http://nGVgD.ujHbzdfxmlSZOJGFVQr1vlke3SXsZ1+0dnz.0aY,jZyxoil2Pe0rBNV.j4nA,aVqEcR"}},"name":"in elit","owner":{"created_on":"2011-05-30T06:55:39.552Z","display_name":"culpa eu nisi mollit ut","links":{"avatar":{"href":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"followers":{"href":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"following":{"href":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"html":{"href":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"repositories":{"href":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"self":{"href":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}},"username":"S6Oa","uuid":"ea nisi aute","website":"aliqua ad"},"parent":{"value":"\u003cCircular reference to #/components/schemas/repository detected\u003e"},"project":{"created_on":"2016-04-04T13:18:48.434Z","description":"qui tempor non labore ullamco","is_private":true,"key":"aute veniam","links":{"avatar":{"href":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"html":{"href":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}},"name":"in eu","owner":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"updated_on":"1953-08-19T11:21:52.259Z","uuid":"ea officia dolor dolore"},"scm":"git","size":-43752680,"updated_on":"1948-12-25T08:19:07.858Z","uuid":"reprehenderit sit"},"state":"\u003cstring\u003e","title":"\u003cstring\u003e","updated_on":"\u003cdateTime\u003e","version":{"id":60041608,"links":{"self":{"href":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}},"name":"laboris minim"},"votes":"\u003cinteger\u003e"}