Read a GitHub repository's package publishing
GET
Whether .github/workflows/publish.yml exists (set_up), its newest run (run: GitHub's status and conclusion, title, url, at; null before any run), and whether any run ever succeeded (published: the owner's one-time trusted publisher step is done). setup_prompt: the fixed coding-run prompt that adds the canonical workflow, only while not set up. Any workspace member (coding:apps:read). 404 for a repository outside this workspace or one Syndai hosts; 503 GITHUB_UNAVAILABLE when GitHub can't be read.
CustomerApiKeyheader
AuthorizationBearer <API Key>Customer API key sent as a bearer token
customer_id*stringFormat
uuidrepository_id*stringFormat
uuidRequest fulfilled, document follows
application/json- response
published*booleanrun?|nullset_up*booleansetup_prompt?string|nullcurl -X GET 'https://api.syndai.ai/api/v1/external/coding/customers/497f6eca-6276-4993-bfeb-53cbbbba6f08/repositories/497f6eca-6276-4993-bfeb-53cbbbba6f08/publish'Example Response
{ "published": true, "run": { "at": "string", "conclusion": "string", "status": "string", "title": "string", "url": "string" }, "set_up": true, "setup_prompt": "string"}