Export Package

Export Package

Exports a package by its name. If the request is successful, the package binary content is available as attachment with MIME type application/zip (that is, a normal ZIP file) with a default file name {packagename}.package<. It is up to the client application to properly fetch and process this attachment, for example by saving it to the local file system. The exported package has the same internal format as the packages exported by using the VCF Operations Orchestrator client. When a request is sent to this endpoint with "application/xml" or "application/json" as the desiredresponse content type, this operation is the equivalent to "": Returns details of the package, with list all contained workflows and actions.

Request
URI
GET
https://{api_host}/vco/api/packages/{packageName}
COPY
Path Parameters
string
packageName
Required

packageName

Query Parameters
boolean
exportConfigurationAttributeValues
Optional
Constraints: default: true

exportConfigurationAttributeValues

boolean
exportGlobalTags
Optional
Constraints: default: true

exportGlobalTags

boolean
exportVersionHistory
Optional
Constraints: default: true

exportVersionHistory

boolean
exportConfigSecureStringAttributeValues
Optional
Constraints: default: false

exportConfigSecureStringAttributeValues

string
allowedOperations
Optional
Constraints: default: vef

allowedOperations

boolean
exportExtensionData
Optional
Constraints: default: false

exportExtensionData


Authentication
This operation uses the following authentication methods.
Responses
200

The request is successful

Returns file of type(s) application/octet-stream
Operation doesn't return any data structure

401

User is not authorized

Returns file of type(s) application/octet-stream
Operation doesn't return any data structure

404

Cannot find a package with the specified name

Returns file of type(s) application/octet-stream
Operation doesn't return any data structure

Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/vco/api/packages/{packageName}