Skip to content

Latest commit

 

History

History
78 lines (58 loc) · 2.19 KB

projectArtifact_download.rst

File metadata and controls

78 lines (58 loc) · 2.19 KB

projectArtifact_download

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

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

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: true
  • Entitlements Required: org_projects_administrate

URI Parameters

  • 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" -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-downloadFile
  • projectArtifact-get
  • projectArtifact-getAll
  • projectArtifact-update
  • projectArtifact-updateAll
  • projectArtifact-upload
  • projectLogo-delete
  • projectLogo-download
  • projectLogo-downloadFile
  • projectLogo-upload
  • projectRestrictionOS-evaluate
  • projectRestriction-update
  • project-availableForImage
  • project-create
  • project-delete
  • project-get
  • project-getAll
  • project-update
  • softwareartifact-object