Skip to content

Latest commit

 

History

History
71 lines (54 loc) · 1.92 KB

projectArtifact_createFromRemoteServer.rst

File metadata and controls

71 lines (54 loc) · 1.92 KB

projectArtifact_createFromRemoteServer

GET /orgs/{oid}/projects/{pid}/artifacts/fetch

Summary

  • Method: GET
  • Response Code: 200 / 304
  • Response Formats: application/xml application/json
  • Since: UForge 3.6

Create an artifact and download all contents from remote endpoint. This fetches all the directories and files found from this endpoint. Sub directories are re-created locally.

Security Summary

  • Requires Authentication: true
  • Entitlements Required: software_upload

URI Parameters

  • pid (required): the id of the project-object
  • oid (required): the id of the org-object

HTTP Request Body Parameters

None

Example Request

curl "https://uforge.example.com/api/orgs/{oid}/projects/{pid}/artifacts/fetch" -X GET \
-u USER_LOGIN:PASSWORD -H "Accept: application/xml"
  • project-object
  • projectArtifact-addChild
  • projectArtifact-addOrRemoveFileFromCache
  • projectArtifact-create
  • projectArtifact-delete
  • projectArtifact-deleteAll
  • projectArtifact-download
  • 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