kansi
00dd16840f
Added backend tests, configure app fixture
2017-11-23 16:27:35 +01:00
kansi
95c0f267e0
Integrate api GET "/transactions?asset_id={asset_id}&operation="
2017-11-23 16:27:35 +01:00
muawiakh
82cd3a61ed
Add metadata endpoint to info view
...
- Metadata search was recently added and works seamlessly
- The endpoint was not reflected in the info view i.e.
when someone queries at root / or api/v1 endpoints.
- Handle unit tests for the change as well.
2017-11-22 18:31:35 +01:00
kansi
4eca26782c
Change metadata model, fix tests and update docs
2017-11-14 00:13:06 +05:30
kansi
8939c0f341
Merge branch 'master' into bug/1592/metadata-text-search
2017-11-09 17:39:35 +05:30
kansi
714c1782ac
Support for metadata search api and its testing suite
2017-11-07 12:20:51 +05:30
kansi
8310b04b17
Merge branch 'master' into bug/1670/asset-language-api-fix
2017-11-03 11:38:09 +05:30
kansi
f3da30aea0
Validate nested keys for asset.data and metadata
2017-11-01 17:26:16 +05:30
kansi
cd636101a7
Support abbreviated values for "language"
2017-10-31 16:54:47 +05:30
kansi
1de5375962
Validate asset data keys
2017-10-31 15:16:59 +05:30
kansi
7226584215
Api fix for asset language
2017-10-31 10:12:16 +05:30
Ketan Bhatt
684fffe917
HTTP API Logger logs request path and method too
2017-07-09 16:44:21 +05:30
vrde
8457cb35eb
Add middleware to strip content-type headers from GETs
2017-07-04 14:01:56 +02:00
Sylvain Bellemare
26f14aadec
Parametrize websocket api tests for docker
2017-07-03 15:23:50 +02:00
libscott
b1ad6045b6
Rename "output" to "output_index" in /api/v1/outputs ( #1596 )
...
* rename output to output_index in /api/v1/outputs
* rename transaction.input.fulfills.output to output_index
* fix rethinkdb queries for output_index
2017-06-30 09:40:50 +02:00
Sylvain Bellemare
02fe712c34
Integrate cryptoconditions version 02
2017-06-22 14:56:22 +02:00
Rodolphe Marques
842664cb14
Improved documentation
...
- fixed test name
2017-06-16 10:31:46 +02:00
Rodolphe Marques
b523ba3fe5
Rename unspent -> spent in outputs endpoint
...
- If spent=None return all outputs
- If spent=True return only spent outputs
- If spent=False return only unspent outputs
- Updated documentation
- Add the ability to return only spent outputs in core
- Added and update tests
2017-06-16 10:31:46 +02:00
Rodolphe Marques
8d60796765
Merge pull request #1541 from bigchaindb/feat/1525/inconsistency-relative-links
...
Remove relative links
2017-06-16 10:30:20 +02:00
Rodolphe Marques
4d1131d90c
Remove links from statuses endpoint
...
- Updated documentation
- Updated tests
2017-06-16 10:01:45 +02:00
Rodolphe Marques
446e454a77
outputs endpoint returns list of objects instead of links
...
- Updated documentation
- Updated tests
2017-06-16 10:01:45 +02:00
tim
673062f892
Remove host+port from / and /api/v1/
2017-06-16 09:52:47 +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 Daubenschütz
41805de0c2
Merge pull request #1543 from bigchaindb/feat/1038/fix-tx-endpoint
...
Fix /transactions/id endpoint
2017-06-16 09:50:06 +02:00
tim
eb791aa2ce
Include Location header in POST /transactions
2017-06-14 16:53:22 +02:00
tim
6cedab47a1
/transactions/ID only returns VALID transactions
2017-06-14 15:42:04 +02:00
Rodolphe Marques
cc9c8a4d0d
fixed broken test
2017-06-14 10:51:57 +02:00
Rodolphe Marques
03ba6391c6
updated tests for the events api
2017-06-14 10:38:23 +02:00
Rodolphe Marques
fa04899003
Merge remote-tracking branch 'origin/feat/1147/consolidate-root-urls' into feat/1531/consistent-naming
2017-06-14 10:19:01 +02:00
Rodolphe Marques
05a6653d5f
Fixed web related tests
2017-06-13 12:31:49 +02:00
Rodolphe Marques
27b1292497
Renamed streams_v1
to streams
...
- Updated tests
- Updated documentation
2017-06-12 17:39:49 +02:00
Rodolphe Marques
e0e27dc121
Consolidate root urls
...
- All information added to root url `/`
- Information specific to v1 under `/api/v1`
- Removed `_links`
- Removed `self`
2017-06-12 15:13:42 +02:00
Tim Daubenschütz
8b7f86b63d
Feat/1462/text search http api ( #1471 )
...
* Add assets text search endpoint
* Filter out assets from invalid transactions.
- Added the limit argument to limit the returned results
- Created and updated tests
* Added documentation for the assets endpoint.
- Added some docstrings
* Removed unnecessary fixtures
2017-05-30 11:21:26 +02:00
vrde
659d25444e
Merge branch 'remove-useless-capped-queue'
2017-04-18 16:38:26 +02:00
vrde
f94a1e020c
Dispatcher is a consumer, no capped queue needed
2017-04-18 16:13:03 +02:00
Troy McConaghy
d7ccc7c00f
Merge branch 'master' into docs/1170/move-http-api-docs-to-top-level-section
2017-04-18 14:34:53 +02:00
vrde
414d915033
Snakecaseify keys
2017-04-13 08:54:34 +02:00
Sylvain Bellemare
0347fbccf4
Add a few more checks to the test
2017-04-12 13:50:09 +02:00
Sylvain Bellemare
e614834a03
Import Transaction class within fixture
2017-04-12 13:49:10 +02:00
Sylvain Bellemare
75dd645ec9
Import stdlib pkgs at the top of the test module
2017-04-12 13:47:58 +02:00
Sylvain Bellemare
98e52e047e
Make utility test function into a fixture
2017-04-11 18:34:31 +02:00
Sylvain Bellemare
e0e997755e
Re-order imports (pep8)
2017-04-11 18:34:20 +02:00
vrde
a673d9c6ef
Add more code coverage
2017-04-11 16:34:50 +02:00
Troy McConaghy
8964ba33b4
updated links to the HTTP API docs in this repo
2017-04-10 15:14:18 +02:00
vrde
be3f62dd10
Update endpoints and docs
2017-04-07 14:57:11 +02:00
vrde
f23faaa65f
Add WebSocket server
2017-04-07 09:16:22 +02:00
Rodolphe Marques
96daa98699
Adverstise Event stream api in api info endpoint.
...
Updated tests.
2017-04-07 08:42:22 +02:00
vrde
83397de397
Add more tests and utils
2017-04-07 08:42:22 +02:00
vrde
5d39b42b7a
Add dependencies and first test
2017-04-07 08:42:22 +02:00
Rodolphe Marques
10d83c2ab9
No duplicate vote inserts with mongodb ( #1258 )
...
* prevent duplicate vote inserts
2017-03-22 14:25:16 +01:00
Sylvain Bellemare
43f779a18b
Add logging infrastructure
2017-03-20 13:54:14 +01:00
Scott Sadler
1f5a8582b6
Merge branch 'master' into tx-structure
2017-03-14 16:22:14 +01:00
Scott Sadler
31b3ad8f96
fix bad quotes in test_outputs
2017-03-13 13:47:37 +01:00
Scott Sadler
dc58466de3
Merge branch 'master' into voting-class-integration
2017-03-13 13:35:03 +01:00
Scott Sadler
53dff83ed4
Merge remote-tracking branch 'origin/master' into validationerror-refactor
2017-03-08 13:07:51 +01:00
Scott Sadler
a3fccbc599
change TransactionDoesNotExist to InputDoesNotExist in tests
2017-03-08 13:01:52 +01:00
Scott Sadler
ffccf86c91
Merge remote-tracking branch 'origin/master' into voting-class-integration
2017-03-08 12:54:33 +01:00
Sylvain Bellemare
56243a57ab
Fix indent
2017-03-03 18:02:57 +01:00
diminator
81dee294ea
unitest for bug
2017-03-03 18:02:57 +01:00
Scott Sadler
5584de59b0
Make ValidationError a superclass of all validation errors and use it
2017-03-03 11:36:50 +01:00
Scott Sadler
89e76ffec2
fix tests, temporarily disabling some tests that need to be re-written
2017-02-23 21:53:12 +01:00
Scott Sadler
57d7a3d850
fix some outstanding flake8 issues
2017-02-22 12:33:10 +01:00
Troy McConaghy
f2a05c9e3b
Fixed the docs URL in HTTP API responses
2017-02-09 11:10:58 +01:00
Scott Sadler
1243322aad
Case insensitive "unspent" and "operation" parameters"
2017-01-26 13:59:52 +01:00
libscott
cd7d65b63e
Merge pull request #1066 from bigchaindb/1021/http_outputs_endpoint
...
1021/http outputs endpoint
2017-01-25 13:24:10 +01:00
Scott Sadler
7af9975081
return 202 on successful transaction POST
2017-01-25 12:23:36 +01:00
Scott Sadler
af23ff5b65
clean up use of double quotes, rename UNSPENTS_ENDPOINT, clarify test
2017-01-24 12:08:55 +01:00
libscott
a7a163fd3c
Merge pull request #1083 from bigchaindb/single-quotes
...
Add flake8-quotes checker and cleanup double quotes
2017-01-24 12:07:29 +01:00
Sylvain Bellemare
fe5d966dca
Put back some strings with wrapped single quotes
...
just to double check that flake8-quotes does indeed tolerate it
2017-01-24 10:22:32 +01:00
Scott Sadler
bd048a3115
add flake8-quotes checker and cleanup double quotes
2017-01-23 17:30:37 +01:00
Scott Sadler
897ffe81bc
outputs endpoint with unspent filter parameter
2017-01-23 16:10:21 +01:00
Scott Sadler
a5acd0c7b9
document patching technique in get_transactions_filtered web view test
2017-01-23 14:07:22 +01:00
Scott Sadler
2ec23be05d
fix flake8
2017-01-18 17:13:38 +01:00
Scott Sadler
ae14d0e5c4
api method to get transactions by asset_id
2017-01-18 15:43:53 +01:00
Scott Sadler
d899d4c8b6
query string parameters test
2017-01-18 15:42:17 +01:00
Brett Sun
b59ea00118
Merge pull request #1031 from bigchaindb/feat/api/blocks
...
Implement blocks endpoint
2017-01-17 14:42:24 +01:00
Brett Sun
0751b2bf0b
Merge pull request #1029 from bigchaindb/feat/api/votes
...
Implement votes endpoint
2017-01-17 14:42:02 +01:00
Sylvain Bellemare
1dbc998b36
Only fetch needed element (public key)
2017-01-17 07:50:00 -05:00
Sylvain Bellemare
5759de6ae3
Remove unused fixture
2017-01-17 07:50:00 -05:00
Sylvain Bellemare
9766aa90a1
Addresses #663 partially
2017-01-17 07:50:00 -05:00
Brett Sun
ded7f3e28f
PR comments
2017-01-13 18:25:35 +01:00
diminator
3919cc3d5d
return empty list if no blocks found
2017-01-13 18:08:28 +01:00
diminator
f018a4f6e7
replace status strings by Bigchain attributes
2017-01-13 18:08:28 +01:00
diminator
1cc46fb86e
return list of block_id
...
implement status query param
test
2017-01-13 18:08:27 +01:00
diminator
1b57ace714
implement GET /blocks endpoint
2017-01-13 18:08:25 +01:00
Brett Sun
7071d471a5
Add test for empty block_id parameter for votes API
2017-01-13 18:07:12 +01:00
libscott
ece5581eb3
Merge branch 'master' into 1021/http_api_root
2017-01-12 15:26:10 +01:00
diminator
5e3bd1d54c
rename test functions
2017-01-12 10:43:11 +01:00
diminator
af2e8e14a5
Merge remote-tracking branch 'remotes/origin/master' into feat/api/votes
2017-01-12 09:59:39 +01:00
diminator
8aa37277c2
remove blank line for travis
2017-01-11 17:17:20 +01:00
diminator
5608a36616
implement /votes endpoint
2017-01-10 11:34:10 +01:00
diminator
8fa231c040
include _links in transaction status payload
2017-01-09 17:14:22 +01:00
diminator
7124adcd34
implement statuses endpoint
2017-01-06 15:55:07 +01:00
Scott Sadler
990d863dc7
tests for informational endpoints
2017-01-06 14:46:40 +01:00
Scott Sadler
80f3bb3809
/api/v1/ informational endpoint
2017-01-06 14:46:40 +01:00
Scott Sadler
04a78aacec
Merge remote-tracking branch 'origin/master' into inputs-outputs
2016-12-22 13:45:02 +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
Sylvain Bellemare
fa79fe6783
Add session scope test setup for config and db
...
resolves #966
2016-12-20 20:37:28 +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
ed55b3984e
s/fulfillments/inputs/g && s/conditions/outputs/g (code changes)
2016-12-19 12:29:29 +01:00