Almost all the endpoints present in this repository are not returning the responses conforming to the spec given here. Proper cleanup of the return types is required to be done to make the APIs compliant with SunbirdRC.
Tasks
[x] Update the Signature of the searchByIssuerOrSubject
[x] update the returned object for the following endpoints
[x] POST /credentials/search for searchByIssuerOrSubject
Description
Almost all the endpoints present in this repository are not returning the responses conforming to the spec given here. Proper cleanup of the return types is required to be done to make the APIs compliant with SunbirdRC.
Tasks
POST /credentials/search
for searchByIssuerOrSubjectGET /crdentials/{id}