Icon
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 · enumOptionalPossible values:
Icon Format
Responses
200
Success
401
Unauthorized
application/json; api-version=1.0
404
Not Found
application/json; api-version=1.0
get
GET /api/PubItems/{id}/Icon HTTP/1.1
Host:
Accept: */*
No content
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
401
Unauthorized
application/json; api-version=1.0
404
Not Found
application/json; api-version=1.0
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?