Skip to content

Latest commit

 

History

History
72 lines (55 loc) · 1.93 KB

projectLogo_upload.rst

File metadata and controls

72 lines (55 loc) · 1.93 KB

projectLogo_upload

POST /orgs/{oid}/projects/{pid}/logo/{logoId}/{fileName}

Summary

  • Method: POST
  • Response Code: 201
  • Response Formats: application/xml application/json
  • Since: UForge 1.0

Uploads a logo file for the specified project.

Security Summary

  • Requires Authentication: true
  • Entitlements Required: org_projects_administrate

URI Parameters

  • fileName (required): the name of the logo file
  • pid (required): the id of the project-object
  • oid (required): the id of the org-object
  • logoId (required): the id of the logo-object

HTTP Request Body Parameters

The file to upload.

Example Request

curl "https://uforge.example.com/api/orgs/{oid}/projects/{pid}/logo/{logoId}/{fileName}" -X POST \
-u USER_LOGIN:PASSWORD -H "Accept: application/xml"-H "Content-type: application/xml" --data-binary "@binaryFilePath"
  • project-object
  • projectArtifact-addChild
  • projectArtifact-addOrRemoveFileFromCache
  • projectArtifact-create
  • projectArtifact-createFromRemoteServer
  • projectArtifact-delete
  • projectArtifact-deleteAll
  • projectArtifact-download
  • projectArtifact-downloadFile
  • projectArtifact-get
  • projectArtifact-getAll
  • projectArtifact-update
  • projectArtifact-updateAll
  • projectArtifact-upload
  • projectLogo-delete
  • projectLogo-download
  • projectLogo-downloadFile
  • projectRestrictionOS-evaluate
  • projectRestriction-update
  • project-availableForImage
  • project-create
  • project-delete
  • project-get
  • project-getAll
  • project-update