Where a brand's files live
GET
/api/v1/brands/{slug}/source
const url = 'http://localhost:3000/api/v1/brands/example/source';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:3000/api/v1/brands/example/source \ --header 'Authorization: Bearer <token>'The repository, branch and folder, the commit both sides last agreed at, and pending when the brand changed here since; source is null when it lives here alone. connect: where this server connects a repository.
Scope: read.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”slug
required
string
Brand slug
Responses
Section titled “Responses”The source
Media typeapplication/json
object
data
required
object
source
required
Any of:
null
Examplegenerated
{ "data": { "source": { "remote": "example", "branch": "example", "path": "example", "commit": "example", "syncedAt": "2026-04-15T12:00:00Z", "pending": true, "files": 1 }, "connect": "https://example.com" }}default
Section titled “default”An error
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
detail
Examplegenerated
{ "error": { "code": "example", "message": "example", "detail": "example" }}