| PATCH | /api/tiles/{ID}/changename |
|---|
"use strict";
export class BoolResponse {
/** @param {{Value?:boolean}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {boolean} */
Value;
}
export class ChangeTileName {
/** @param {{ID?:string,Name?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
ID;
/** @type {string} */
Name;
}
JavaScript ChangeTileName DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
PATCH /api/tiles/{ID}/changename HTTP/1.1
Host: test-dogw.klokgroep.nl
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
Name: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
Value: False
}