.. 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.
- Requires Authentication:
true
- Entitlements Required:
org_formats_administrate
fileName
(required): the file name of the logo to uploadoid
(required): the id of the :ref:`org-object`tfid
(required): the id of the :ref:`targetformat-object`logoId
(required): the id of the target format :ref:`logo-object`
The file to upload.
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`