Skip to content

hbadm and hashblock rest

Frank V. Castellucci edited this page Apr 29, 2018 · 13 revisions

General

To provide administrators and users with tools to interact with the #B system

Design principles

  • Reuse to the greatest extend possible
    1. Reusable code is located in the utils/shared folder
    2. Protobufs are located in the utils/protobufs folder
    3. ETc

hbadm

hashblock-rest

#B's REST-API component

endpoints

/resource-settings/<address>
/resource-proposals/<address>
/resources/<address>

/unit-settings/<address>
/unit-proposals/<address>
/units/<address>

/utxqs/<address>
/asks/<address>
/commitments/<address>
/offers/<address>
/gives/<address>

/mtxqs/<address>
/tells/<address>
/accepts/<address>
/obligations/<address>
/takes/<address>

The details link provides raw data.