Users Manual
• 200 OK – successful operation (returns array of Template)
• 404 Not Found – node not found
Referenced Data Models
• Template (Section 8.2.3)
GET /nodes/rc
_
silhouettematch/templates/{id}
Get an rc_silhouettematch template. If the requested content-type is application/octet-stream, the template
is returned as file.
Template request
GET /api/v1/nodes/rc
_
silhouettematch/templates/<id> HTTP/1.1
Host: <rcvisard>
Template response
HTTP/1.1 200 OK
Content-Type: application/json
{
"id": "string"
}
Parameters
• id (string) – id of the template (required)
Response Headers
• Content-Type – application/json application/octet-stream
Status Codes
• 200 OK – successful operation (returns Template)
• 404 Not Found – node or template not found
Referenced Data Models
• Template (Section 8.2.3)
PUT /nodes/rc
_
silhouettematch/templates/{id}
Create or update an rc_silhouettematch template.
Template request
PUT /api/v1/nodes/rc
_
silhouettematch/templates/<id> HTTP/1.1
Host: <rcvisard>
Accept: multipart/form-data application/json
Template response
HTTP/1.1 200 OK
Content-Type: application/json
{
"id": "string"
}
Parameters
• id (string) – id of the template (required)
Form Parameters
7.5. SilhouetteMatch 116