All pages
Powered by GitBook
1 of 1

Loading...

Custom Images

List

get

Retrieve theme custom images.

Query parameters
SiteIdinteger 路 int32Optional

Site ID from which to retrieve the theme custom images. If the parameter is omitted, the site ID of the Licensing Server will be used.

Responses
200

OK

No content

401

Unauthorized

application/json; api-version=1.0
404

Not Found

application/json; api-version=1.0
get
/api/Theme/CustomImage

No content

Update

put

Modify a theme custom image.

Path parameters
idinteger 路 int32Required

The ID of the Theme Custom Image to modify.

Body

Update a RAS Theme Custom Image

newNamestring | nullableRequired

The new name of the specified Theme Custom Image

Responses
204

No Content

401

Unauthorized

application/json; api-version=1.0
404

Not Found

application/json; api-version=1.0
put
/api/Theme/CustomImage/{id}

No content

Add

post

Update an Image with specified ImageType of the Theme specified by ID.

Query parameters
SiteIdinteger 路 int32Optional

Site ID in which to create the theme custom image. If the parameter is omitted, the site ID of the Licensing Server will be used.

Body
ImageFilestring 路 binaryOptional

Upload File

Responses
204

No Content

401

Unauthorized

application/json; api-version=1.0
post
/api/Theme/CustomImage

No content

Get

get

Retrieve a theme custom image.

Path parameters
idinteger 路 int32Required

The theme custom image ID.

Responses
200

OK

No content

401

Unauthorized

application/json; api-version=1.0
404

Not Found

application/json; api-version=1.0
get
/api/Theme/CustomImage/{id}

No content

Delete

delete

Delete a theme custom image.

Path parameters
idinteger 路 int32Required

The ID of the Theme Custom Image to remove.

Responses
204

No Content

401

Unauthorized

application/json; api-version=1.0
404

Not Found

application/json; api-version=1.0
delete
/api/Theme/CustomImage/{id}

No content

GET /api/Theme/CustomImage HTTP/1.1
Host: 
Accept: */*
PUT /api/Theme/CustomImage/{id} HTTP/1.1
Host: 
Content-Type: application/json; api-version=1.0
Accept: */*
Content-Length: 18

{
  "newName": "text"
}
POST /api/Theme/CustomImage HTTP/1.1
Host: 
Content-Type: multipart/form-data
Accept: */*
Content-Length: 22

{
  "ImageFile": "binary"
}
GET /api/Theme/CustomImage/{id} HTTP/1.1
Host: 
Accept: */*
DELETE /api/Theme/CustomImage/{id} HTTP/1.1
Host: 
Accept: */*