Median

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.

FieldTypeRequiredDescription
repostringNoowner/repo.
autoCreatebooleanNoOpen an issue as a signal is filed.

Responses

StatusDescription
200The repository issues go to.
400The request is malformed, and the message names the field.
401The bearer token is missing, revoked, or expired.
429Too many requests. Wait the seconds in Retry-After. Limits depend on the plan. See rate limits.

200 body

FieldTypeRequiredDescription
repoanyNo

Example request

curl -X POST https://api.median.sh/v1/integrations/issue-repo \
  -H "Authorization: Bearer $BEARER_AUTH"

Still need help?

    Esc