Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check APIs and Docs are up-to-date #239

Closed
dora-gt opened this issue Aug 22, 2019 · 7 comments
Closed

Check APIs and Docs are up-to-date #239

dora-gt opened this issue Aug 22, 2019 · 7 comments

Comments

@dora-gt
Copy link
Member

dora-gt commented Aug 22, 2019

The following 3 might not be consistent:

We might need to check and correct.

https://interledger.slack.com/archives/CHC51E54J/p1566498083177700

@dora-gt
Copy link
Member Author

dora-gt commented Aug 22, 2019

It might be better to generate API docs from the source codes though I haven't checked it is possible or not.

@emschwartz emschwartz mentioned this issue Aug 27, 2019
15 tasks
@emschwartz
Copy link
Member

The HTTP API doc is definitely out of date because it has not been updated to use username instead of id

@gakonst gakonst added this to To do in Hackathon Kit via automation Aug 30, 2019
@emschwartz emschwartz moved this from To do to Reviewed in Hackathon Kit Oct 2, 2019
@emschwartz emschwartz moved this from Reviewed to Needs Review (PRs only) in Hackathon Kit Oct 2, 2019
@emschwartz emschwartz moved this from Needs Review (PRs only) to In progress (PRs & Issues) in Hackathon Kit Oct 2, 2019
@emschwartz emschwartz added this to Backlog in Post-Hack Cleanup via automation Oct 7, 2019
@emschwartz emschwartz moved this from Backlog to High Priority in Post-Hack Cleanup Oct 16, 2019
@dora-gt dora-gt moved this from High Priority to In progress in Post-Hack Cleanup Oct 22, 2019
@dora-gt
Copy link
Member Author

dora-gt commented Oct 22, 2019

Things I noticed around the settlement RFC and the implementation are:

  • settlement-engines does not implement delete for accounts, which is defined in the RFC.
  • send_money, receive_message, do_receive_settlement and do_send_outgoing_message should return 201 according to the RFC, but it seems that it returns 200.
    • Also I feel a bit strange that ethereum-ledger returns HTTP Status codes. They should not know about HTTP. They just do settlements. That's the responsibility of API endpoints IMO.
  • Shouldn't we define incoming messages more in detail?
    • If I were an implementor of a settlement engine, I might feel curious about the detail. How should I use it? or What is the typical implementations?

Hmmm I'll post issues anyway.

@dora-gt
Copy link
Member Author

dora-gt commented Oct 22, 2019

API docs will be updated by #444

@emschwartz
Copy link
Member

Shouldn't we define incoming messages more in detail?

This should go in the docs for implementing a settlement engine, rather than the API docs

@emschwartz
Copy link
Member

@dora-gt can this be closed now?

@dora-gt
Copy link
Member Author

dora-gt commented Oct 23, 2019

Yes, API doc is up-to-date now and other issues are reported.

@dora-gt dora-gt closed this as completed Oct 23, 2019
Post-Hack Cleanup automation moved this from In progress to Done Oct 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Hackathon Kit
  
In progress (PRs & Issues)
Development

No branches or pull requests

2 participants