Versions Compared

Key

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


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

Include Page
REST V1 Authentication
REST V1 Authentication

Table of Contents
maxLevel2

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
titleAPI URL

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.

Response Codes

HTTP Code

Description

200

Project was found and it's versions returned

400

Bad request

401Authentication failure
403Authorization failure (no access to resource)

404

Project or Version not found

500

Unexpected internal server error

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

...