keytransparency icon indicating copy to clipboard operation
keytransparency copied to clipboard

RESTful KT API: Replace "Entry" objects with "User" objects

Open gdbelvin opened this issue 7 years ago • 1 comments

The KT api currently does not really look like a RESTful API. This is because, unlike most restful APIs, KT is returning a lot of cryptographic "proof" in each response.

This can be improved by getting and posting a single "User" object which may optionally include a "UserCommitment" and "UserProof". The "UserCommitment" would be an obfuscated object that gets put in the Merkel Tree, while the "UserProof" would tie the data in "User" to the "UserCommitment".

gdbelvin avatar Jan 26 '18 10:01 gdbelvin

API Cleanup Actions:

  • [x] Rename Epoch with Revision for consistency with the Trillian Map.
  • [x] Rename Domain with Tree for clarity

gdbelvin avatar Oct 17 '18 10:10 gdbelvin