List the GitHub repositories a connected account can reach.
Needs connection_id of a GitHub connection made in the dashboard.
GET
https://app.softsolz.uk/api/v1/services/seo/code/repositoriesRecent Requests
Log in to see full request historyTimeStatusUser Agent
Make a request to see history.
Headers
AuthorizationstringrequiredBearer token: `Bearer sk_live_...` (or `sk_test_...` for sandbox). A login token will not work here.
Query Params
connection_idstringrequiredGitHub connection id.
Response
Response Body · array of objects
full_namestringowner/name.privatebooleanWhether the repository is private.default_branchstringDefault branch.updated_atstringLast push.languagestringPrimary language.Request
import { SoftSolz } from '@softsolz/sdk';
const client = new SoftSolz({ apiKey: process.env.SOFTSOLZ_API_KEY });
const result = await client.seo.listCodeRepositories({});console.log(result);Credentials
Sent as a Bearer token. Stored only in your browser.
Response · 200
{ "data": [ { "full_name": "string", "private": true, "default_branch": "string", "updated_at": "string", "language": "string" } ]}