Skip to content

Latest commit

 

History

History
84 lines (64 loc) · 2.43 KB

projectArtifact_downloadFile.rst

File metadata and controls

84 lines (64 loc) · 2.43 KB

projectArtifact_downloadFile

GET /orgs/{oid}/projects/{pid}/artifacts/{said}/bin/{fileName}

Summary

  • Method: GET
  • Response Code: 200 / 304
  • Response Formats: */*
  • Since: UForge 1.0

Downloads the software artifact binary or archive.

This request is the same as projectArtifact-download.

The software artifact binary can be downloaded without authentication if an downloadId is added as a query parameter. To retrieve the downloadId, use projectArtifact-get.

Note

The downloadId can only be used once, afterwards it expires, and a new downloadId must be retrieved.

Security Summary

  • Requires Authentication: false
  • Entitlements Required: None

URI Parameters

  • fileName (required): the file name of the binary to upload
  • pid (required): the id of the project-object
  • oid (required): the id of the org-object
  • said (required): the id of the softwareartifact-object

HTTP Request Body Parameters

None

Example Request

curl "https://uforge.example.com/api/orgs/{oid}/projects/{pid}/artifacts/{said}/bin/{fileName}" -X GET \
-u USER_LOGIN:PASSWORD -H "Accept: application/xml"
  • project-object
  • projectArtifact-addChild
  • projectArtifact-addOrRemoveFileFromCache
  • projectArtifact-create
  • projectArtifact-createFromRemoteServer
  • projectArtifact-delete
  • projectArtifact-deleteAll
  • projectArtifact-download
  • projectArtifact-get
  • projectArtifact-getAll
  • projectArtifact-update
  • projectArtifact-updateAll
  • projectArtifact-upload
  • projectLogo-delete
  • projectLogo-download
  • projectLogo-downloadFile
  • projectLogo-upload
  • projectOs-getAll
  • projectRestrictionOs-getAll
  • projectRestriction-add
  • projectRestriction-delete
  • projectRestriction-deleteAll
  • projectRestriction-get
  • projectRestriction-getAll
  • projectRestriction-update
  • project-create
  • project-delete
  • project-get
  • project-getAll
  • project-update
  • softwareartifact-object