GET /did is now gone. It used to show a list of DIDs that had any unverified reviews associated. I removed this because there is no API call in ChluIPFS that does this, but if @kulpreet you were using it in Flexhire I can implement it
GET /did/verify used to return { ddo, valid } where ddo had the reputation of the DID. Now, it returns { publicDidDocument, valid } instead so it is now required to make another call to GET /reputation/ to get the reviews for a DID
nothing else :+1:
Other points:
The first time it's used, reading the reputation might be slow (a number of seconds) due to having to run validation. After that, it will be cached and instant.
Of course, the reputation endpoint now returns both verified and unverified reviews :+1:
Breaking API Changes:
GET /did
is now gone. It used to show a list of DIDs that had any unverified reviews associated. I removed this because there is no API call in ChluIPFS that does this, but if @kulpreet you were using it in Flexhire I can implement itGET /did/verify
used to return{ ddo, valid }
whereddo
had the reputation of the DID. Now, it returns{ publicDidDocument, valid }
instead so it is now required to make another call toGET /reputation/
to get the reviews for a DIDOther points:
The first time it's used, reading the reputation might be slow (a number of seconds) due to having to run validation. After that, it will be cached and instant.
Of course, the reputation endpoint now returns both verified and unverified reviews :+1: