Skip to content

Create wallpaper
Stable

Request

Returns instance of created wallpaper

Security
apiKey
Path
enterprise_idstringrequired

A UUID string identifying this enterprise.

Bodymultipart/form-datarequired
image_filestring, (path)required

Valid file to upload

orientationstringrequired

Orientation of image e.g. landscape

cURL
curl -i -X POST \
  'https://develop-api.esper.io/_mock/openapi/v1/enterprise/{enterprise_id}/wallpaper/' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: multipart/form-data' \
  -F image_file=string \
  -F orientation=string

Responses

Successful Operation

Bodyapplication/json
idstring, (uuid)
enterprisestring, (uuid)
image_filestring, (url)
thumbnailstring, (url)
orientationstring
is_activeboolean
created_onstring, (date-time)
updated_onstring, (date-time)
Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "enterprise": "796caaf9-a7de-4817-9ffa-39d04bf83de9", "image_file": "string", "thumbnail": "string", "orientation": "string", "is_active": true, "created_on": "2019-08-24T14:15:22Z", "updated_on": "2019-08-24T14:15:22Z" }