Skip to main content

CreateRepoIssue

create repo issue

Path Parameters
  • owner required

    The owner of the repository, generally called "username". The name is not case sensitive.

  • repo required

    repository name, the name is not case sensitive

Header Parameters
  • Authorization required

    Private token | app token(ats) (needs to start with Bearer plus a space)

Request Body
  • title string

    issue title

  • body string

    Issue content (use markdown format to write content)

Responses

Success


Schema
  • id string

    id

  • url string

    url

  • number int

    number

  • state string

    state

  • title string

    title

  • body string

    Issue text (use MD format to write content)

  • user object
  • id string

    id

  • login string

    username

  • url string

    user url

  • avatar_url string

    avatar_url

  • html_url string

    html_url

  • type string

    user type - User | Bot

  • assignee object
  • id string

    id

  • login string

    username

  • url string

    user url

  • avatar_url string

    avatar_url

  • html_url string

    html_url

  • type string

    user type - User | Bot

  • locked boolean

    lock status

  • repository_url string

    repository_url

  • html_url string

    issue web url

  • closed_at string

    closed_at

  • created_at string

    created_at

  • updated_at string

    updated_at

POST /repos/:owner/:repo/issues

Request

Base URL
https://api.atomgit.com
owner — path required
repo — path required
Authorization — header required
Body
curl -L -X POST 'https://api.atomgit.com/repos/:owner/:repo/issues' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw ''