Api

ping

get

This method is used to check the API availability.

Responses
200

default response

text/plain
Responsestring
get
/gbs-psbio-server/service/ac-api/ping
200

default response

getTransactionResult

get

This method returns the result of a transaction, given its TCN.

Path parameters
tcnstringRequired
Responses
200

default response

application/json
get
/gbs-psbio-server/service/ac-api/get-transaction-result/{tcn}
200

default response

enroll

post

This method submits an enrollment operation to the PSBio

Body
idnstringOptional
protocolstringOptional
capture-dateinteger · int64Optional
capture-responsiblestringOptional
amputated-indexesinteger · int32[]Optional
bandaged-indexesinteger · int32[]Optional
ignore-face-valuationbooleanOptional
Responses
200

default response

application/json
post
/gbs-psbio-server/service/ac-api/enroll
200

default response

update

post

This method submits an update operation to the PSBio.

Body
idnstringOptional
protocolstringOptional
capture-dateinteger · int64Optional
capture-responsiblestringOptional
amputated-indexesinteger · int32[]Optional
bandaged-indexesinteger · int32[]Optional
ignore-face-valuationbooleanOptional
Responses
200

default response

application/json
post
/gbs-psbio-server/service/ac-api/update
200

default response

search

post

This method submits a biometric search operation to the PSBio

Body
idnstringOptional
protocolstringOptional
capture-dateinteger · int64Optional
capture-responsiblestringOptional
amputated-indexesinteger · int32[]Optional
bandaged-indexesinteger · int32[]Optional
ignore-face-valuationbooleanOptional
Responses
200

default response

application/json
post
/gbs-psbio-server/service/ac-api/search
200

default response

consultaIdn

get

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.

Query parameters
idnstringRequired

Unique identifier of the biometric traits owner that will be consulted.

Responses
200

default response

application/json
get
/gbs-psbio-server/service/ac-api/idn?idn={idn}
200

default response

Last updated

Was this helpful?