41 Commits

Author SHA1 Message Date
Troy McConaghy
6982dfbe79 Put back the accidentally-removed post-tx-response 2018-02-16 14:54:20 +01:00
Troy McConaghy
0139e53ab4 rm code to gen example HTTP stuff for /statuses & /votes 2018-02-16 14:35:35 +01:00
kansi
6cf86be033 Remove location header from post txn response 2018-02-16 18:42:06 +05:30
Vanshdeep Singh
fa33fc26af Integrate get block with transaction id api (#2021)
* Integrate api, get block with transaction id

* Fixed docs and docstrings

* Fix docs

* Remove status from tendermint, fix mongo query
2018-02-08 14:32:21 +01:00
Vanshdeep Singh
e25d365828 Integrate blocks API (#1970)
* Integrate blocks api

* Update docs

* Fix docs

* Fixed mismatch between code and documentation

* Fixed docs
2018-01-31 14:42:41 +01:00
codegeschrei
e74fb096fc requested changes 2018-01-24 11:59:50 +01:00
Rodolphe Marques
4d1131d90c Remove links from statuses endpoint
- Updated documentation
- Updated tests
2017-06-16 10:01:45 +02:00
Rodolphe Marques
dda6517451 Merge pull request #1532 from bigchaindb/feat/1531/consistent-naming
Consistent naming of `transaction_id`
2017-06-16 09:50:43 +02:00
tim
eb791aa2ce Include Location header in POST /transactions 2017-06-14 16:53:22 +02:00
Rodolphe Marques
7ffea9e8a4 Renamed tx_id to transaction_id
- Documentation
- Api
2017-06-13 12:24:04 +02:00
Troy McConaghy
b4988b29e3 Moved HTTP API docs to a top-level section 2017-04-10 13:58:58 +02:00
Scott Sadler
49464484d7 set public_key manually in bigchaindb root url docs example 2017-01-30 14:04:32 +01:00
tim
5b7dd672b8 Remove controversial endpoints for now 2017-01-25 11:30:40 +01:00
Scott Sadler
d932184b88 update http docs to reflect changes implemented for 0.9 2017-01-25 11:06:54 +01:00
Brett Sun
2d1699e790 Split block and transaction status endpoint descriptions 2017-01-25 10:44:06 +01:00
diminator
7d5d79a50c remove location header from status 2017-01-25 10:44:06 +01:00
diminator
a6facc8ada reformat blocks + blocks endpoint as list 2017-01-25 10:44:06 +01:00
diminator
86be0e5983 move blocks and votes to advanced with intro 2017-01-25 10:44:06 +01:00
diminator
4631c93dbf statuses remove 303 and location, links in payload 2017-01-25 10:44:06 +01:00
diminator
8bbaa0e40e status endpoint query params and remove links 2017-01-25 10:44:06 +01:00
diminator
fde3d21ba7 POST /transactions returns statuses payload 2017-01-25 10:43:17 +01:00
diminator
df94427cca fulfilled conditions -> unspent outputs 2017-01-25 10:43:17 +01:00
diminator
6ea7b8a411 remove is_assets sample 2017-01-25 10:43:17 +01:00
diminator
9e5623f881 Removed X-bigchaindb-timestamp 2017-01-25 10:43:17 +01:00
diminator
305adba3a4 include metadata in samples 2017-01-25 10:42:32 +01:00
diminator
940a0cd4df (fix): add private_key of node to bigchain instance 2017-01-25 10:42:32 +01:00
diminator
8c46cc3fb4 (fix): travis error on keypair 2017-01-25 10:42:32 +01:00
diminator
6aca7e2605 list assets recipe and sample 2017-01-25 10:42:32 +01:00
diminator
14f22cb8af status with block and transaction context 2017-01-25 10:42:32 +01:00
diminator
b252c40793 GET /votes examples -> samples 2017-01-25 10:42:32 +01:00
diminator
be5bc9fafd GET blocks?txid examples -> samples 2017-01-25 10:42:32 +01:00
diminator
204c8cce9c GET blocks/id examples -> samples 2017-01-25 10:38:33 +01:00
diminator
5c10602754 examples -> samples POST /transaction and /statuses 2017-01-25 10:38:33 +01:00
diminator
b947cf7c72 GET transactions?operation&asset_id examples --> samples
Updated example to include more than one TRANSFER
2017-01-25 10:36:20 +01:00
diminator
d09a93f1a7 update GET transactions?unfulfilled
- owners_after -> public_keys
- examples -> samples
2017-01-25 10:36:20 +01:00
diminator
a8f8c7f4a9 GET transactions/id examples --> samples 2017-01-25 10:36:20 +01:00
Brett Sun
9319583ab4 Remove Asset and AssetLink (#982)
* Remove asset.validate_asset and move its validation checks to other areas

* Move Asset.get_asset_id to Transaction

* Remove Asset and AssetLink models

* Add test against creating TRANSFER transactions with bad asset
2016-12-22 10:19:21 +01:00
libscott
7e33f2bd52 Tx ID as Asset ID (#926)
* Allow AssetLinks to be used in place of Assets in the Transaction Model and enforce `Transaction.transfer()` to only take an AssetLink

* Remove AssetLink's inheritance from Asset

* Remove id from the Asset model

* Fix get_txids_by_asset_id query for rethinkdb after removing asset's uuid

Because `CREATE` transactions don't have an asset that contains an id
anymore, one way to find all the transactions related to an asset is to
query the database twice: once for the `CREATE` transaction and another
for the `TRANSFER` transactions.

* Add TODO notice for vote test utils to be fixtures

* Update asset model documentation to reflect usage of transaction id

* Fix outdated asset description in transaction schema
2016-12-20 17:28:15 +01:00
Scott Sadler
4ce7f4e95d sign the tx in http-client-server-api.html, server would reject otherwise 2016-12-02 13:47:36 +01:00
Scott Sadler
f4164a6970 nomenclature fix in generate_http_server_api_documentation.py 2016-12-01 10:17:58 +01:00
Scott Sadler
49726c4a31 make html runs generation scripts for documentation, generates http server examples 2016-11-30 16:28:58 +01:00