Sync entity repositories from GitHub
Fetches repositories from GitHub for the entity's current github URL links and replaces the entity's synced rows. Returns the full synced list ordered by stargazers. 404 when the entity has no current github URL link.
Authentication
AuthorizationBearer
User bearer token: Supabase or Clerk session JWT, Clerk OAuth access token, or Clerk personal API key
OR
X-API-Keystring
Admin API key for system-to-system write operations
Path parameters
entityId
Entity UUID owning the repositories
Response
OK
forkCount
githubId
GitHub’s stable numeric repository id; sync upsert key per owner
id
isArchived
True when the repository is archived on GitHub
isFork
True when the repository is a fork of another repository
name
Repository name (slug segment after the login)
ownerLogin
GitHub account login (org or user) the repository belongs to
stargazerCount
topic
Repository topics reported by GitHub
url
Canonical https GitHub repository page URL
createdAt
description
homepageUrl
Project homepage URL declared on the repository
language
Primary language reported by GitHub
license
SPDX license id reported by GitHub
repoCreatedAt
GitHub created_at of the repository
repoPushedAt
GitHub pushed_at of the repository at last sync
updatedAt
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
406
Not Acceptable Error
409
Conflict Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error