Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

AnchorTopTop

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

...

Include Page

...

titleBase URL for Artifacts Rest API

...

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

REST V1 Authentication
REST V1 Authentication

Table of Contents
maxLevel2

...

ParametersTypeDescriptionprojectidURLThe 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.

Info
titleBase API URL for Artifacts Rest API

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

Request

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

Response

Zip file containing artifacts.

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

...