Api
This method returns the result of a transaction, given its TCN.
default response
GET /gbs-psbio-server/service/ac-api/get-transaction-result/{tcn} HTTP/1.1
Host: <ip>:8084
Accept: */*
default response
{
"status": "OK,",
"message": "text",
"tcn": "text"
}
This method submits an enrollment operation to the PSBio
default response
POST /gbs-psbio-server/service/ac-api/enroll HTTP/1.1
Host: <ip>:8084
Content-Type: application/json
Accept: */*
Content-Length: 234
{
"idn": "text",
"biometrics": [
{
"index": 1,
"content": "text",
"width": 1,
"height": 1,
"resolution": 1
}
],
"protocol": "text",
"capture-date": 1,
"capture-responsible": "text",
"amputated-indexes": [
1
],
"bandaged-indexes": [
1
],
"ignore-face-valuation": true
}
default response
{
"status": "OK,",
"message": "text",
"tcn": "text"
}
This method submits an update operation to the PSBio.
default response
POST /gbs-psbio-server/service/ac-api/update HTTP/1.1
Host: <ip>:8084
Content-Type: application/json
Accept: */*
Content-Length: 234
{
"idn": "text",
"biometrics": [
{
"index": 1,
"content": "text",
"width": 1,
"height": 1,
"resolution": 1
}
],
"protocol": "text",
"capture-date": 1,
"capture-responsible": "text",
"amputated-indexes": [
1
],
"bandaged-indexes": [
1
],
"ignore-face-valuation": true
}
default response
{
"status": "OK,",
"message": "text",
"tcn": "text"
}
This method submits a biometric search operation to the PSBio
default response
POST /gbs-psbio-server/service/ac-api/search HTTP/1.1
Host: <ip>:8084
Content-Type: application/json
Accept: */*
Content-Length: 234
{
"idn": "text",
"biometrics": [
{
"index": 1,
"content": "text",
"width": 1,
"height": 1,
"resolution": 1
}
],
"protocol": "text",
"capture-date": 1,
"capture-responsible": "text",
"amputated-indexes": [
1
],
"bandaged-indexes": [
1
],
"ignore-face-valuation": true
}
default response
{
"status": "OK,",
"message": "text",
"tcn": "text"
}
This method checks if an IDN is enrolled in the PSBio network. If the IDN is enrolled, it returns the consulted IDN, the indexes of the biometrics associated with the IDN and the name of the PSBIO that owns it. If the IDN is not enrolled, it returns the consulted IDN and an empty list.
Unique identifier of the biometric traits owner that will be consulted.
default response
GET /gbs-psbio-server/service/ac-api/idn?idn={idn}?idn=text HTTP/1.1
Host: <ip>:8084
Accept: */*
default response
{
"idn": "string",
"psbioOwner": "string",
"indexes": [
1,
2,
3
]
}