Skip to main content
POST
/
api
/
github
/
repos
/
issues
/github/repos/issues
curl --request POST \
  --url https://api.anysite.io/api/github/repos/issues \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "repo": "<string>",
  "count": 2,
  "timeout": 300,
  "state": "open"
}
'
[
  {
    "id": 123,
    "number": 123,
    "@type": "@github_repo_issue",
    "title": "",
    "text": "<string>",
    "state": "",
    "state_reason": "<string>",
    "author": {
      "id": 123,
      "login": "<string>",
      "@type": "@github_repo_issue_author",
      "type": "",
      "image": "<string>",
      "web_url": ""
    },
    "labels": [],
    "assignees": [],
    "comment_count": 0,
    "author_association": "",
    "created_at": "",
    "updated_at": "",
    "closed_at": "<string>",
    "web_url": ""
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
repo
string
required

Repository in 'owner/name' format or full GitHub URL

Minimum string length: 1
Examples:

"facebook/react"

"https://github.com/torvalds/linux"

count
integer
required

Number of issues to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
state
enum<string>
default:open

Filter issues by state

Available options:
open,
closed,
all

Response

Successful Response

id
integer
required
number
integer
required
@type
string
default:@github_repo_issue
title
string
default:""
text
string | null
state
string
default:""
state_reason
string | null
author
GithubRepoIssueAuthor · object
labels
string[]
assignees
string[]
comment_count
integer
default:0
author_association
string
default:""
created_at
string
default:""
updated_at
string
default:""
closed_at
string | null
web_url
string
default:""