Gemma.WebApi

<back to all web services

PatchImmagineRequest

Requires Authentication
The following routes are available for this service:
PATCH/immagini/{Id}
PatchImmagineRequest Parameters:
NameParameterData TypeRequiredDescription
IdpathintNo
NomequerystringNo
Immaginequerybyte[]No
Thumbquerybyte[]No
RefCountqueryint?No
IsCachedquerybool?No
ImmagineCollegataIdqueryint?No
DidascaliaCnIdqueryint?No
TipoImmagineIdqueryint?No
URLquerystringNo
PatchImmagineResponse Parameters:
NameParameterData TypeRequiredDescription
RowsAffectedformintNo
ImageWidthformint?No
ImageHeightformint?No
ThumbnailWidthformint?No
ThumbnailHeightformint?No

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

PATCH /immagini/{Id} HTTP/1.1 
Host: gemma.api.kerberos.energy 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	id: 0,
	nome: String,
	immagine: AA==,
	thumb: AA==,
	refCount: 0,
	isCached: False,
	immagineCollegataId: 0,
	didascaliaCnId: 0,
	tipoImmagineId: 0,
	url: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	rowsAffected: 0,
	imageWidth: 0,
	imageHeight: 0,
	thumbnailWidth: 0,
	thumbnailHeight: 0
}