List zone package versions
List zone package versions
GET/zones/{zone_id}/packages/{package_id}/versions
List zone package versions
Path Parameters
zone_id: string
package_id: string
minLength1
maxLength70
Query Parameters
after: optional string
Cursor for forward pagination. Returned in Pagination.after_cursor. Mutually exclusive with before.
minLength1
maxLength255
before: optional string
Cursor for backward pagination. Returned in Pagination.before_cursor. Mutually exclusive with after.
minLength1
maxLength255
limit: optional number
Maximum number of items to return per page.
minimum1
maximum100
Header Parameters
"X-Client-Request-ID": optional string
formatuuid
Returns
List zone package versions
curl https://zones/$ZONE_ID/packages/$PACKAGE_ID/versions{
"items": [
{
"id": "id",
"created_at": "2019-12-27T18:11:19.117Z",
"manifest_sha": "manifest_sha",
"name": "name",
"owner_type": "platform",
"version": 0,
"archived_at": "2019-12-27T18:11:19.117Z",
"created_by": "created_by",
"description": "description",
"icon_url": "icon_url",
"inputs": {
"bindings": "bindings",
"schema": {
"additionalProperties": {},
"const": {},
"default": {},
"description": "description",
"enum": [
{}
],
"format": "format",
"items": {},
"maximum": 0,
"maxItems": 0,
"maxLength": 0,
"minimum": 0,
"minItems": 0,
"minLength": 0,
"pattern": "pattern",
"properties": {},
"readOnly": true,
"required": [
"string"
],
"title": "title",
"type": "object",
"writeOnly": true
}
},
"links": [
{
"href": "href",
"rel": "rel",
"properties": {
"foo": "bar"
},
"titles": {
"foo": "string"
},
"type": "type"
}
],
"outputs": {
"bindings": "bindings",
"schema": {
"additionalProperties": {},
"const": {},
"default": {},
"description": "description",
"enum": [
{}
],
"format": "format",
"items": {},
"maximum": 0,
"maxItems": 0,
"maxLength": 0,
"minimum": 0,
"minItems": 0,
"minLength": 0,
"pattern": "pattern",
"properties": {},
"readOnly": true,
"required": [
"string"
],
"title": "title",
"type": "object",
"writeOnly": true
}
},
"properties": {
"foo": "bar"
},
"tags": [
"string"
]
}
],
"pagination": {
"after_cursor": "x",
"before_cursor": "x",
"total_count": 0
}
}Returns Examples
{
"items": [
{
"id": "id",
"created_at": "2019-12-27T18:11:19.117Z",
"manifest_sha": "manifest_sha",
"name": "name",
"owner_type": "platform",
"version": 0,
"archived_at": "2019-12-27T18:11:19.117Z",
"created_by": "created_by",
"description": "description",
"icon_url": "icon_url",
"inputs": {
"bindings": "bindings",
"schema": {
"additionalProperties": {},
"const": {},
"default": {},
"description": "description",
"enum": [
{}
],
"format": "format",
"items": {},
"maximum": 0,
"maxItems": 0,
"maxLength": 0,
"minimum": 0,
"minItems": 0,
"minLength": 0,
"pattern": "pattern",
"properties": {},
"readOnly": true,
"required": [
"string"
],
"title": "title",
"type": "object",
"writeOnly": true
}
},
"links": [
{
"href": "href",
"rel": "rel",
"properties": {
"foo": "bar"
},
"titles": {
"foo": "string"
},
"type": "type"
}
],
"outputs": {
"bindings": "bindings",
"schema": {
"additionalProperties": {},
"const": {},
"default": {},
"description": "description",
"enum": [
{}
],
"format": "format",
"items": {},
"maximum": 0,
"maxItems": 0,
"maxLength": 0,
"minimum": 0,
"minItems": 0,
"minLength": 0,
"pattern": "pattern",
"properties": {},
"readOnly": true,
"required": [
"string"
],
"title": "title",
"type": "object",
"writeOnly": true
}
},
"properties": {
"foo": "bar"
},
"tags": [
"string"
]
}
],
"pagination": {
"after_cursor": "x",
"before_cursor": "x",
"total_count": 0
}
}