Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

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

Open
gdbelvin opened this issue Jan 26, 2018 · 1 comment
Open

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

gdbelvin opened this issue Jan 26, 2018 · 1 comment
Milestone

Comments

@gdbelvin
Copy link
Contributor

gdbelvin commented Jan 26, 2018

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 gdbelvin changed the title Simplify API Simplify KT API: Replace "Entry" objects with "User" objects Jan 26, 2018
@gdbelvin gdbelvin changed the title Simplify KT API: Replace "Entry" objects with "User" objects RESTful KT API: Replace "Entry" objects with "User" objects Jan 26, 2018
@gdbelvin gdbelvin added this to the Simplify APIs milestone Jun 14, 2018
@gdbelvin
Copy link
Contributor Author

gdbelvin commented Oct 17, 2018

API Cleanup Actions:

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant