Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Current »

The download of Artifacts for a Project Version can be accessed through this API using the GET service.

Base URL for Artifacts Rest API

http://{host:port}/flexdeploy/rest/v1/project/{projectid}/version/{versionid}/artifact

The Get call returns a zipped file containing all of the artifact information corresponding to a particular project version.

ParametersTypeDescription
projectidURLThe id of the project whose version is being accesses.
versionidURLThe id of the project version whose artifacts are to be obtained.

GET

This GET service will find the artifacts associated with a specific project version and return a Response object with a zipped file, in the form of a byte array(byte[]), containing the artifacts.

Base URL for Artifacts Rest API

http://{host:port}/flexdeploy/rest/v1/project/{projectid}/version/{versionid}/artifact

ParametersRequiredTypeDescription
projectidYesURLThe id of the project whose version is being accesses.
versionidYesURLThe id of the project version whose artifacts are to be obtained.

Example:

When we run a GET request at the following URL:

http://{hostname:port}/flexdeploy/rest/v1/project/12701/version/12906/artifact

The GET request would download a zipped file containing the information in the artifact section of the specified project version.

The name of the zipped file returned is in the format {projectid}-{versionid}-artifacts.zip.    Ex: 12701-12906-artifacts.zip

  • No labels