GitHub
List Issues
API Documentation
Health
Files
Web Scrape
Data Source
SharePoint
GitHub
Chunks / Embeddings
Retrieval
GitHub
List Issues
POST
/
integrations
/
data
/
github
/
issues
curl --request POST \
--url https://api.carbon.ai/integrations/data/github/issues \
--header 'Content-Type: application/json' \
--header 'authorization: <api-key>' \
--data '{
"data_source_id": 123,
"include_remote_data": false,
"repository": "<string>",
"page": 1,
"page_size": 30,
"next_cursor": "<string>",
"filters": {
"state": "open"
},
"order_by": "created",
"order_dir": "asc"
}'
{
"data": [
{
"id": 123,
"title": "<string>",
"url": "<string>",
"html_url": "<string>",
"number": 123,
"user": {
"id": 123,
"login": "<string>"
},
"labels": [
{
"id": 123,
"name": "<string>"
}
],
"state": "closed",
"locked": true,
"num_comments": 123,
"created_at": "<string>",
"updated_at": "<string>",
"closed_at": "<string>",
"draft": true,
"pull_request": {
"url": "<string>",
"merged_at": "<string>"
},
"body": "<string>",
"closed_by": {
"id": 123,
"login": "<string>"
}
}
],
"next_cursor": "<string>"
}
Authorizations
token <token>
, corresponds to temporary access tokens.
Body
application/json
Full name of the repository, denoted as {owner}/{repo}
Required range:
x < 100
Available options:
created
, updated
, comments
Available options:
asc
, desc
Response
200
application/json
Successful Response
Available options:
closed
, open
curl --request POST \
--url https://api.carbon.ai/integrations/data/github/issues \
--header 'Content-Type: application/json' \
--header 'authorization: <api-key>' \
--data '{
"data_source_id": 123,
"include_remote_data": false,
"repository": "<string>",
"page": 1,
"page_size": 30,
"next_cursor": "<string>",
"filters": {
"state": "open"
},
"order_by": "created",
"order_dir": "asc"
}'
{
"data": [
{
"id": 123,
"title": "<string>",
"url": "<string>",
"html_url": "<string>",
"number": 123,
"user": {
"id": 123,
"login": "<string>"
},
"labels": [
{
"id": 123,
"name": "<string>"
}
],
"state": "closed",
"locked": true,
"num_comments": 123,
"created_at": "<string>",
"updated_at": "<string>",
"closed_at": "<string>",
"draft": true,
"pull_request": {
"url": "<string>",
"merged_at": "<string>"
},
"body": "<string>",
"closed_by": {
"id": 123,
"login": "<string>"
}
}
],
"next_cursor": "<string>"
}