Operator
This method returns the information of an operator, given its search keys.
OK
Found
Bad Request
Unauthorized
Forbidden
Not Found
Conflict
Unsupported Media Type
Unprocessable Entity
Internal Server Error
Service Unavailable
GET /gbs-spid-server/operator/{key} HTTP/1.1
Host: <ip>:8082
Accept: */*
No content
This method deletes an operator from the database, given its search keys.
Accepted
No Content
Bad Request
Unauthorized
Forbidden
Not Found
Conflict
Unsupported Media Type
Unprocessable Entity
Internal Server Error
Service Unavailable
DELETE /gbs-spid-server/operator/{key} HTTP/1.1
Host: <ip>:8082
Accept: */*
No content
This method returns the list of valid operators into the database.
OK
Bad Request
Unauthorized
Forbidden
Not Found
Conflict
Unsupported Media Type
Unprocessable Entity
Internal Server Error
Service Unavailable
GET /gbs-spid-server/operator/list HTTP/1.1
Host: <ip>:8082
Accept: */*
[
{
"document": "text",
"status": "VERIFIED",
"tguid": "text"
}
]
Created
Bad Request
Unauthorized
Forbidden
Not Found
Conflict
Unsupported Media Type
Unprocessable Entity
Internal Server Error
Service Unavailable
POST /gbs-spid-server/operator HTTP/1.1
Host: <ip>:8082
Content-Type: application/json
Accept: */*
Content-Length: 28
{
"data": {
"document": "text"
}
}
No content
This method submits an operator enrollment to the server.
Created
Bad Request
Unauthorized
Forbidden
Not Found
Conflict
Unsupported Media Type
Unprocessable Entity
Internal Server Error
Service Unavailable
PUT /gbs-spid-server/operator HTTP/1.1
Host: <ip>:8082
Content-Type: application/json
Accept: */*
Content-Length: 143
{
"data": {
"document": "text",
"biometrics": [
{
"index": 1,
"content": "text",
"width": 1,
"height": 1,
"resolution": 1
}
],
"status": "VERIFIED",
"tguid": "text"
}
}
No content