Path parameters
-
Id of an extension
Query parameters
-
include_deployments boolean
Include deployments referencing this extension. Up to only 10000 deployments will be included.
Default value is
false
.
GET
/deployments/extensions/{extension_id}
curl \
-X GET https://{{hostname}}/api/v1/deployments/extensions/{extension_id}
Response examples (200)
# Headers
x-cloud-resource-version: string
x-cloud-resource-created: string
x-cloud-resource-last-modified: string
# Payload
{
"id": "string",
"name": "string",
"description": "string",
"url": "string",
"download_url": "string",
"extension_type": "plugin",
"version": "string",
"deployments": [
"string"
],
"file_metadata": {
"last_modified_date": "2024-05-04T09:42:00+00:00",
"size": 42,
"url": "https://example.com"
}
}
Response examples (404)
# Headers
x-cloud-error-codes: extensions.not_found
# Payload
{
"errors": [
{
"code": "string",
"message": "string",
"fields": [
"string"
]
}
]
}