Skip to content

Latest commit

 

History

History
60 lines (42 loc) · 1.53 KB

applianceLogo_upload.rst

File metadata and controls

60 lines (42 loc) · 1.53 KB

applianceLogo_upload

.. function:: POST /users/{uid}/appliances/{aid}/logo/{logoId}/{fileName}

Summary

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

Uploads a logo for the specified appliance.

Note

the following media types are supported: .jpg, .jpeg, .png

Security Summary

  • Requires Authentication: true
  • Entitlements Required: appliance_create

URI Parameters

HTTP Request Body Parameters

The file to upload.

Example Request

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

         * :ref:`appliance-object`
         * :ref:`applianceLogo-delete`
         * :ref:`applianceLogo-download`
         * :ref:`applianceLogo-downloadFile`
         * :ref:`appliance-clone`
         * :ref:`appliance-create`
         * :ref:`appliance-delete`
         * :ref:`appliance-get`
         * :ref:`appliance-getAll`
         * :ref:`appliance-update`
         * :ref:`logo-object`