List where an issue can be created
GEThttps://app.notert.io/api/v1/issues/destinations
Where an issue can be created, as the token's holder: the repositories of the workspace's GitHub that take issues, by owner/name, or the teams of its Linear, by id and name.
A token with requests:manage. How to send one
Request
curl "https://app.notert.io/api/v1/issues/destinations?tracker=github" \
-H "Authorization: Bearer $NOTERT_API_TOKEN"Response 200
{
"items": [
{
"id": "acme/web",
"name": "acme/web"
}
]
}Query parameters
trackerstringRequiredThe tracker: github or linear, either one the workspace connected.
One oflineargithub
Response 200
itemsobject[]The repositories or teams the app may create an issue in.
idstringWhat a create takes as destination: a repository as owner/name on GitHub, a team's id in Linear.
namestringIts name in the tracker.
Errors
- 400
BAD_REQUESTInput validation failed. - 401
UNAUTHORIZEDSend a valid API token as a Bearer token. - 403
HOLDER_NOT_ALLOWEDThe teammate who holds this API token's secret can't do this in the workspace now. A teammate who can should roll it in the workspace's settings. - 403
INSUFFICIENT_SCOPEThis API token can't change or delete requests, their status or their place on the roadmap. Create one that may in the workspace's settings. - 403
NETWORK_NOT_ALLOWEDThis API token works only from the networks it was made for. Call from one of them, or create a token for this one in the workspace's settings. - 403
NO_SEATThis workspace's plan has no seat for you. - 403
WORKSPACE_SUSPENDEDThis workspace is suspended. - 409
CHANGED_MEANWHILESomething changed meanwhile. Try again. - 409
TRACKER_NOT_CONNECTEDThis workspace hasn't connected that tracker, or it no longer lets Notert in. An owner or admin can connect it on the Integrations page. - 409
TRACKER_PAUSEDThat tracker is paused, since the workspace has more integrations than its plan includes. - 409
TRACKER_REFUSEDThe tracker refused that: the issue, repository or team may not exist, or the app may not see it. - 409
TRACKER_UNAVAILABLEThe tracker didn't answer. Try again in a moment. - 429
TOO_MANY_REQUESTSToo Many Requests. Its data holdsretryAfter.
A refusal names its code beside a message. Rate limits says when to try again.