Skip to content

List the repositories the user can see

GET
/api/v1/extension-repositories
curl --request GET \
--url http://localhost:8080/api/v1/extension-repositories \
--header 'Authorization: Bearer <token>'

The allow list first, then the user’s own, each in the order they were added.

The repositories.

Media typeapplication/json
object
items
required
Array<object>
object
id
required
integer format: int64
url
required
string format: uri
name
required

What the repository’s index calls it.

string | null
allowListed
required

On the admin’s allow list rather than added by the user.

boolean
usable
required

Whether its extensions can be installed and run. A user’s own repository isn’t while the admin allows only the allow list.

boolean
hasCredentials
required

Whether credentials are stored for it. They’re never returned.

boolean
extensionCount
required
integer
fetchedAt
required

When the index was last fetched successfully.

string | null format: date-time
fetchError
required

Why the last fetch failed, if it did.

string | null
createdAt
required
string format: date-time

Example generated

{
"items": [
{
"id": 1,
"url": "https://example.com",
"name": "example",
"allowListed": true,
"usable": true,
"hasCredentials": true,
"extensionCount": 1,
"fetchedAt": "2026-04-15T12:00:00Z",
"fetchError": "example",
"createdAt": "2026-04-15T12:00:00Z"
}
]
}

The request has no valid session token.

Media typeapplication/json
object
code
required
string
Allowed values: bad_request unauthorized forbidden not_found unavailable scan_in_progress content_changed already_set_up name_taken last_admin progress_conflict too_many_attempts not_linked identity_taken last_sign_in provider_unavailable too_many_sign_ins repository_exists repository_not_allowed repository_unreadable repository_needs_token repository_needs_password repository_needs_credentials repository_credentials_refused extension_invalid source_failed source_unavailable source_check_failed internal
message
required

Explains the problem to a developer.

string

Example

{
"code": "bad_request"
}

The server failed; details are in its log.

Media typeapplication/json
object
code
required
string
Allowed values: bad_request unauthorized forbidden not_found unavailable scan_in_progress content_changed already_set_up name_taken last_admin progress_conflict too_many_attempts not_linked identity_taken last_sign_in provider_unavailable too_many_sign_ins repository_exists repository_not_allowed repository_unreadable repository_needs_token repository_needs_password repository_needs_credentials repository_credentials_refused extension_invalid source_failed source_unavailable source_check_failed internal
message
required

Explains the problem to a developer.

string

Example

{
"code": "bad_request"
}