curl --request POST \
--url https://api.getfernand.com/integrations/github/search \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"query": "login bug"
}
'[
{
"id": "I_kwDOABCDEF",
"number": 42,
"title": "Fix login bug",
"url": "https://github.com/piedpiper/www/issues/42",
"state_reason": null,
"repository": "piedpiper/www",
"type": {
"id": "IT_kwDOABCDEF",
"name": "Bug",
"color": "d73a4a"
}
}
]curl --request POST \
--url https://api.getfernand.com/integrations/github/search \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"query": "login bug"
}
'[
{
"id": "I_kwDOABCDEF",
"number": 42,
"title": "Fix login bug",
"url": "https://github.com/piedpiper/www/issues/42",
"state_reason": null,
"repository": "piedpiper/www",
"type": {
"id": "IT_kwDOABCDEF",
"name": "Bug",
"color": "d73a4a"
}
}
]Search query string (supports GitHub search syntax).
"login bug"
Search results retrieved successfully.
Unique identifier of the GitHub issue.
"I_kwDOABCDEF"
Issue number within the repository.
42
Title of the issue.
"Fix login bug"
URL to view the issue on GitHub.
"https://github.com/piedpiper/www/issues/42"
Reason for the current state (COMPLETED, NOT_PLANNED, REOPENED, or null if open).
null
Full name of the repository (owner/repo).
"piedpiper/www"
Issue type (null if no type is set).
Show child attributes
Was this page helpful?