Icon

Download

get

Save the published resource icon to a specified directory. The command returns the full path (with filename) of the saved published resource icon.

Path parameters
idinteger · int32Required

ID of the published resource of which the icon will be retrieved

Query parameters
formatstring · enumOptional

Icon Format

Possible values:
Responses
200
Success
get
GET /api/PubItems/{id}/Icon HTTP/1.1
Host: 
Accept: */*

No content

Update

post

Publish a resource icon file name. Can be an executable (.exe), a .dll or a .ico file.

Path parameters
idinteger · int32Required

ID of the published resource for which the icon will be updated

Query parameters
IconIndexinteger · int32Optional

Index of the icon to be loaded from the binary specified in the Icon property(optional)

Body
iconfilestring · binaryOptional

Upload File

Responses
204
No Content
post
POST /api/PubItems/{id}/Icon HTTP/1.1
Host: 
Content-Type: multipart/form-data
Accept: */*
Content-Length: 21

{
  "iconfile": "binary"
}

No content

Was this helpful?