POST /integrations/issue-repo
Updated Oct 1, 20261 minute read
Set the issue repository
Where signals open GitHub issues. The repository has to belong to a connected GitHub account. Omit repo to change only the switch on a repository already set.
Part of Integrations.
Request body
application/json, optional.
| Field | Type | Required | Description |
|---|---|---|---|
repo | string | No | owner/repo. |
autoCreate | boolean | No | Open an issue as a signal is filed. |
Responses
| Status | Description |
|---|---|
200 | The repository issues go to. |
400 | The request is malformed, and the message names the field. |
401 | The bearer token is missing, revoked, or expired. |
429 | Too many requests. Wait the seconds in Retry-After. Limits depend on the plan. See rate limits. |
200 body
| Field | Type | Required | Description |
|---|---|---|---|
repo | any | No |
Example request
curl -X POST https://api.median.sh/v1/integrations/issue-repo \
-H "Authorization: Bearer $BEARER_AUTH"