Skip to content
Local APIExtensions

Get extension details ​

Version overview
GET
/api/v1/extensions/{extension_id}

Return an extension owned by the current user or shared within the current team using its full ID, including all profile bindings. Extensions that do not exist or are not visible to the current user return 40404.

Request parameters

Authorization Bearer Token

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

Authorization: Bearer <api-key>

Path parameters

1
Fields
stringrequired
Unique extension ID
Example"extension_01JABCDEF1234567890"
minLength: 1

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/extension_01JABCDEF1234567890'

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.

Extension details

Body

application/jsonExtensionDetailSuccessResponse
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": {
    "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",
    "browser_ids": [
      "env_01JABCDEF1234567890"
    ]
  }
}

View all business error codes and HTTP statuses

ZYBrowser Local API documentation