Skip to content

Latest commit

 

History

History
63 lines (46 loc) · 1.68 KB

targetFormatLogo_upload.rst

File metadata and controls

63 lines (46 loc) · 1.68 KB

targetFormatLogo_upload

.. function:: POST /orgs/{oid}/targetformats/{tfid}/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 format.

Security Summary

  • Requires Authentication: true
  • Entitlements Required: org_formats_administrate

URI Parameters

HTTP Request Body Parameters

The file to upload.

Example Request

curl "https://uforge.example.com/api/orgs/{oid}/targetformats/{tfid}/logo/{logoId}/{fileName}" -X POST \
-u USER_LOGIN:PASSWORD -H "Accept: application/xml"-H "Content-type: application/xml" --data-binary "@binaryFilePath"
.. seealso::

         * :ref:`imageformat-object`
         * :ref:`primitiveFormat-getAll`
         * :ref:`primitiveFormat-update`
         * :ref:`targetFormatLogo-delete`
         * :ref:`targetFormatLogo-download`
         * :ref:`targetFormatLogo-downloadFile`
         * :ref:`targetFormat-create`
         * :ref:`targetFormat-delete`
         * :ref:`targetFormat-get`
         * :ref:`targetFormat-getAll`
         * :ref:`targetFormat-getAllTargetPlatforms`
         * :ref:`targetFormat-update`
         * :ref:`targetFormat-updateAccess`
         * :ref:`targetformat-object`
         * :ref:`targetplatform-api-resources`
         * :ref:`targetplatform-object`