Api

ping

get

This method is used to check the API availability.

Responses
chevron-right
200

default response

text/plain
stringOptional
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
chevron-right
200

default response

application/json
statusstring · enumOptionalPossible values:
messagestringOptional
tcnstringOptional
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
chevron-right
200

default response

application/json
statusstring · enumOptionalPossible values:
messagestringOptional
tcnstringOptional
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
chevron-right
200

default response

application/json
statusstring · enumOptionalPossible values:
messagestringOptional
tcnstringOptional
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
chevron-right
200

default response

application/json
statusstring · enumOptionalPossible values:
messagestringOptional
tcnstringOptional
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
chevron-right
200

default response

application/json
idnstringOptional

Unique identifier of the biometric traits owner that was consulted.

psbioOwnerstringOptional

Name of the PSBio that owns the consulted IDN.

indexesinteger[]Optional

List of biometric indexes associated with the consulted IDN.

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

default response

Last updated

Was this helpful?