Skip to content

Latest commit

 

History

History
75 lines (56 loc) · 2.09 KB

projectArtifact_getAll.rst

File metadata and controls

75 lines (56 loc) · 2.09 KB

projectArtifact_getAll

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

Summary

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

Retrieves all software artifacts and files for a project. This may include os packages, bootscripts and software files (archives, files etc).

A list of softwareartifact-object (softwarefile-object, bootscript-object or ospackage-object) objects are returned.

You can filter software artifact files by name when using the query parameter filename.

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

HTTP Request Body Parameters

None

Example Request

curl "https://uforge.example.com/api/orgs/{oid}/projects/{pid}/artifacts" -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-downloadFile
  • projectArtifact-get
  • 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