Skip to content

Latest commit

 

History

History
63 lines (46 loc) · 1.73 KB

targetPlatformLogo_upload.rst

File metadata and controls

63 lines (46 loc) · 1.73 KB

targetPlatformLogo_upload

POST /orgs/{oid}/targetplatforms/{tpid}/logo/{logoId}/{fileName}

Summary

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

Upload a logo for a target platform.

Security Summary

  • Requires Authentication: true
  • Entitlements Required: org_formats_administrate

URI Parameters

  • tpid (required): the id of the targetplatform-object
  • fileName (required): the file name of the logo to download
  • oid (required): the id of the org-object
  • logoId (required): the id of the target platform logo-object

HTTP Request Body Parameters

The file to upload.

Example Request

curl "https://uforge.example.com/api/orgs/{oid}/targetplatforms/{tpid}/logo/{logoId}/{fileName}" -X POST \
-u USER_LOGIN:PASSWORD -H "Accept: application/xml"-H "Content-type: application/xml" --data-binary "@binaryFilePath"
  • targetPlatformLogo-delete
  • targetPlatformLogo-download
  • targetPlatformLogo-downloadFile
  • targetPlatformLogo-upload
  • targetPlatform-addFormat
  • targetPlatform-create
  • targetPlatform-delete
  • targetPlatform-get
  • targetPlatform-getAll
  • targetPlatform-getAllFormats
  • targetPlatform-removeFormat
  • targetPlatform-update
  • targetPlatform-updateAccess
  • targetformat-api-resources
  • targetformat-object
  • targetplatform-object