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

Implement Lisk-Core 0.8.0 legacy API endpoints #4

Closed
48 of 62 tasks
4fryn opened this issue Oct 27, 2017 · 1 comment
Closed
48 of 62 tasks

Implement Lisk-Core 0.8.0 legacy API endpoints #4

4fryn opened this issue Oct 27, 2017 · 1 comment

Comments

@4fryn
Copy link
Contributor

4fryn commented Oct 27, 2017

This is a wont-fix issue just using it myself to track which legacy APIs are available in lisk.rb

https://docs.lisk.io/docs/lisk-api-080

Accounts

  • POST /api/accounts/open : Lisk::Legacy::accounts_open secret
  • GET /api/accounts/getBalance?address=address : Lisk::Legacy::accounts_get_balance address
  • GET /api/accounts/getPublicKey?address=address : Lisk::Legacy::accounts_get_public_key address
  • POST /api/accounts/generatePublicKey : Lisk::Legacy::accounts_generate_public_key secret
  • GET /api/accounts?address=address : Lisk::Legacy::accounts address
  • GET /api/accounts/delegates?address=address : Lisk::Legacy::accounts_delegates_get_by_address address
  • PUT /api/accounts/delegates : Lisk::Legacy::accounts_delegates_put votes

Loader

  • GET /api/loader/status : Lisk::Legacy::loader_status_sync
  • GET /api/loader/status/sync : Lisk::Legacy::loader_status
  • GET /api/loader/status/ping : Lisk::Legacy::loader_status_ping

Transactions

  • GET /api/transactions?blockId=blockId&senderId=senderId&recipientId=recipientId&limit=limit&offset=offset&orderBy=field : Lisk::Legacy::transactions filter = nil
  • PUT /api/transactions : Lisk::Legacy::transactions_put transaction
  • GET /api/transactions/get?id=id : Lisk::Legacy::transactions_get_by_id id
  • GET /api/transactions/unconfirmed/get?id=id : Lisk::Legacy::transactions_unconfirmed_get_by_id id
  • GET /api/transactions/unconfirmed : Lisk::Legacy::transactions_unconfirmed
  • GET /api/transactions/queued : Lisk::Legacy::transactions_queued
  • GET /api/transactions/queued/get?id=id : Lisk::Legacy::transactions_queued_get_by_id id

Peers

  • GET /api/peers?state=state&os=os&version=version&limit=limit&offset=offset&orderBy=orderBy : Lisk::Legacy::peers filter = nil
  • GET /api/peers/get?ip=ip&port=port : Lisk::Legacy::peers_get filter = nil
  • GET /api/peers/version : Lisk::Legacy::peers_version

Blocks

  • GET /api/blocks?generatorPublicKey=generatorPublicKey&height=height&previousBlock=previousBlock&totalAmount=totalAmount&totalFee=totalFee&limit=limit&offset=offset&orderBy=orderBy : Lisk::Legacy::blocks filter = nil
  • GET /api/blocks/get?id=id : Lisk::Legacy::blocks_get_by_id id
  • GET /api/blocks/getFee : Lisk::Legacy::blocks_get_fee
  • GET /api/blocks/getFees : Lisk::Legacy::blocks_get_fees
  • GET /api/blocks/getReward : Lisk::Legacy::blocks_get_reward
  • GET /api/blocks/getSupply : Lisk::Legacy::blocks_get_supply
  • GET /api/blocks/getHeight : Lisk::Legacy::blocks_get_height
  • GET /api/blocks/getStatus : Lisk::Legacy::blocks_get_status
  • GET /api/blocks/getNethash : Lisk::Legacy::blocks_get_nethash
  • GET /api/blocks/getMilestone : Lisk::Legacy::blocks_get_milestone

Signatures

  • GET /api/signatures/fee : Lisk::Legacy::signatures_fee
  • PUT /api/signatures : Lisk::Legacy::signatures_put secrets

Delegates

  • PUT /api/delegates : Lisk::Legacy::delegates_put delegate
  • GET /api/delegates?limit=limit&offset=offset&orderBy=orderBy : Lisk::Legacy::delegates filter = nil
  • GET /api/delegates/get?publicKey=publicKey : Lisk::Legacy::delegates_get_by_key public_key
  • GET /api/delegates/get?username=username : Lisk::Legacy::delegates_get_by_name user_name
  • GET /api/delegates/search?q=username&orderBy=producedblocks:desc : Lisk::Legacy::delegates_search query
  • GET /api/delegates/count : Lisk::Legacy::delegates_count
  • GET /api/accounts/delegates/?address=address : Lisk::Legacy::accounts_delegates address
  • GET /api/delegates/voters?publicKey=publicKey : Lisk::Legacy::delegates_voters public_key
  • POST /api/delegates/forging/enable : Lisk::Legacy::delegates_forging_enable secret
  • POST /api/delegates/forging/disable : Lisk::Legacy::delegates_forging_disable secret
  • GET /api/delegates/forging/getForgedByAccount?generatorPublicKey=generatorPublicKey : Lisk::Legacy::delegates_forging_get_forged_by_account public_key
  • GET /api/delegates/getNextForgers?limit=limit : Lisk::Legacy::delegates_get_next_forgers limit = 10

Multi-sig

  • PUT /api/multisignatures : Lisk::Legacy::multisignatures_put secrets
  • GET /api/multisignatures/accounts?publicKey=publicKey : Lisk::Legacy::multisignatures_accounts public_key
  • POST /api/multisignatures/sign : Lisk::Legacy::multisignatures_sign signature
  • GET /api/multisignatures/pending?publicKey=publicKey : Lisk::Legacy::multisignatures_pending public_key

Dapps

  • PUT /api/dapps
  • GET /api/dapps?category=category&name=name&type=type&link=link&limit=limit&offset=offset&orderBy=orderBy
  • GET /api/dapps/get?id=id
  • GET /api/dapps/search?q=q&category=category&installed=installed
  • POST /api/dapps/install
  • GET /api/dapps/installed
  • GET /api/dapps/installedIds
  • POST /api/dapps/uninstall
  • POST /api/dapps/launch
  • GET /api/dapps/installing
  • GET /api/dapps/uninstalling
  • GET /api/dapps/launched
  • GET /api/dapps/categories
  • POST /api/dapps/stop
@4fryn
Copy link
Contributor Author

4fryn commented Oct 27, 2017

/api/dapps* is not going to happen :-p

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

No branches or pull requests

1 participant