Skip to content
Local APIExtensions

List my extensions ​

Version overview
GET
/api/v1/extensions

Return a paginated list of extensions added by the current user in the current team. This endpoint only reads server-side extension resources and profile bindings. It does not download, install, or update local extension files.

Request parameters

Authorization Bearer Token

Include your API Key as a Bearer token in the Authorization request header.

Authorization: Bearer <api-key>

Query parameters

4
Fields
integer
Page number
Default1
Example1
minimum: 1
integer
Items per page; default: 10, maximum: 100
Default10
Example10
minimum: 1maximum: 100
string
Partial-match filter by extension name
minLength: 1
string
Sort field and direction. Supported fields: name, created_at, updated_at. asc means ascending; desc means descending.
Enum

Request code examples

JavaScript / TypeScript: Node.js 18+ with fetch; PHP: cURL extension; Go: 1.16+; Java: JDK 11+. Replace the token and example parameter values before running.

curl -H 'Authorization: Bearer <TOKEN>' 'http://local.zhongyibrowser.com:39025/api/v1/extensions?page=1&size=10'

Responses

Success: code = 0. Failure: code > 0. Select a status to view its fields and example. Expand objects to inspect nested fields. Optional fields may be omitted.

My extension list

Body

application/jsonExtensionListSuccessResponse
Fields
numberrequired
Business status code; always 0 on success
Enum
stringrequired
Business status message; always success on success
Enum
objectrequired
Endpoint business data

Additional fields are not allowed.

Example

Generated from the schema; not a live response.

{
  "code": 0,
  "message": "success",
  "data": {
    "items": [
      {
        "id": "extension_01JABCDEF1234567890",
        "source": "google",
        "market_id": "string",
        "name": "string",
        "description": "string",
        "version": "string",
        "icon_url": "string",
        "is_global": true,
        "is_team_shared": true,
        "browser_count": 0,
        "created_at": "2024-01-15T09:30:00Z",
        "updated_at": "2024-01-15T09:30:00Z"
      }
    ],
    "total": 0,
    "page": 0,
    "size": 0,
    "total_pages": 0
  }
}

View all business error codes and HTTP statuses

ZYBrowser Local API documentation