Fetch a repository's index again
const url = 'http://localhost:8080/api/v1/extension-repositories/1/refresh';const options = {method: 'POST', 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 POST \ --url http://localhost:8080/api/v1/extension-repositories/1/refresh \ --header 'Authorization: Bearer <token>'A failed fetch is recorded in fetchError, and the repository keeps its last good index. The server also fetches every repository’s index again every six hours, so new versions show up as updates.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Responses
Section titled “Responses”The repository after the fetch.
object
What the repository’s index calls it.
On the admin’s allow list rather than added by the user.
Whether its extensions can be installed and run. A user’s own repository isn’t while the admin allows only the allow list.
Whether credentials are stored for it. They’re never returned.
When the index was last fetched successfully.
Why the last fetch failed, if it did.
Example generated
{ "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.
object
Explains the problem to a developer.
Example
{ "code": "bad_request"}The resource does not exist.
object
Explains the problem to a developer.
Example
{ "code": "bad_request"}The server failed; details are in its log.
object
Explains the problem to a developer.
Example
{ "code": "bad_request"}