Lavanya Kasturi
a10ac03b9d
docs: added examples for Rosetta API's - AccountIdentifier, Hash and Construction ( #1288 )
...
* Added examples for construction, account and hash API's
* docs: cleaned up OpenAPI.yaml for consistency with all the examples (#1282 )
* Added examples for missing API's
* fix the hash example for v1/block/{hash}
* Fixed examples for string types
* Updated examples to follow yaml syntax
* Examples for Rosetta and Smart contracts
* Reframed a sentence
2022-08-24 16:26:06 -05:00
Lavanya Kasturi
0d81369aff
docs: rosetta network options api ( #1261 )
...
* Test Rosetta- network options api
* Rosetta-example-test
* Removed extra space
* Formatted Json file
* Added JSON examples for API's
* Renamed file names
* Renamed json examples
2022-08-11 13:16:39 -05:00
Rafael Cárdenas
666b8a60fb
chore: fix openapi schema validation errors, clean up type definitions ( #1170 )
...
* fix: openapi lint validator
* fix: balances schema
* fix: add title to all entities
* fix: some additionalProperties and duplicate names
* fix: remove additional properties for rosetta
* fix: rosetta tests
* style: remove empty description
2022-05-13 15:25:11 -05:00
M Hassan Tariq
675ceeeb20
Example and test for contract call in /rosetta/v1/construction/preprocess ( #1093 )
...
* docs: added example for contract call
* style: updated doc styles
2022-03-31 11:26:09 -06:00
Matthew Little
33425d8eb9
fix(rosetta): /block/transaction endpoint missing ops #704
2021-08-12 13:13:06 -05:00
Matthew Little
6b644dd3cc
chore: more accurate doc type generation
2021-07-15 13:07:39 -05:00
Matthew Little
ee4e62edbd
fix: [Rosetta] fix unintentional global error object mutations
2021-05-12 10:16:00 +02:00
Lola Dam
523c0af4ea
fix: [Rosetta] Error 500 & fee operation
2021-04-21 21:33:22 +02:00
Lola Dam
6426cbc9ee
fix: block endpoint & minor fixes (rosetta) ( #23 )
...
* Ensure to use postgres as backend
* Update gitignore
* Replace string for error message const
* Avoid code duplication
* Fix schemas
* Fix related operations field
* Catch error on invalid request parameters
Co-authored-by: ER <raynaudo.ee@gmail.com >
2021-03-08 15:25:48 +01:00
Lola Dam
2e8ff92245
fix: change rosetta construction parse api ( #22 )
...
metadata in reponse not required on the /construction/parse endpoint.
Closes #11
2021-03-08 15:25:48 +01:00
Lola Dam
cade138987
fix: rosetta construction derive api ( #21 )
...
* fix(package): 'Server-Side Request Forgery' vulnerability in axios package
* fix: change construction derive api to fit latest spec
Closes #10
2021-03-08 15:25:48 +01:00
Nouman Ahmad
f8dbc542bb
fix: custom nonce added in /payloads and /balance
2021-02-12 19:15:27 +01:00
Asim Mehmood
b60cc8c70d
chore: miscellaneous changes to finalize rosetta implementation after running check-construction
2020-11-05 14:27:01 +01:00
Asim Mehmood
3b0cd4437f
docs: add schema files for rosetta constructin/combine endpoint
2020-10-13 00:02:03 +03:00
Asim Mehmood
5645fc7978
docs: add schema files for rosetta construction/payloads endpoint
2020-10-13 00:02:03 +03:00
Asim Mehmood
5f1c969817
chore: add public key to preprocess and metadata
2020-10-12 16:42:11 +03:00
Nouman Ahmad
aa9d665ec9
chore: schema files added
2020-10-02 22:24:40 +02:00
Faizan Dastgir
f0b18841b6
chore: add schema for parse api
2020-10-01 13:53:43 +02:00
Asim Mehmood
53256d04fa
docs: add schema files for construction/hash endpoint
2020-09-25 20:02:45 +02:00
Asim Mehmood
7182ec15cb
docs: add schema files for rosetta construction/metadata endpoint
2020-09-25 20:02:45 +02:00
Asim Mehmood
784d2d031b
docs: add schema files for construction/preprocess request and response
2020-09-22 12:17:54 +02:00
Asim Mehmood
054e38f6c4
docs: add schema files for rosetta construction/derive
2020-09-16 13:18:28 +02:00
Faried Nawaz
174c4c524b
fix: schema changes for rosetta block and block/transaction calls
...
The /rosetta/v1/block call does not require a "block_identifier" field.
If the field is present and empty, the current block's data is returned.
Otherwise, the given block is found by index (height) or hash, and returned.
The /rosetta/v1/block/transaction field requires a block_identifier field
with both the block index and hash fields present.
Change made by @zone117x in https://github.com/fariedt/stacks-blockchain-api/pull/2
2020-09-08 18:23:05 +02:00
Asim Mehmood
d24bfe8956
fix: mempool schema files renamed: rosetta-mempool-transaction-list-* -> rosetta-mempool-*
...
For consistency, rename RosettaMempoolTransactionListRequest -> RosettaMempoolRequest
as well.
2020-09-01 08:26:03 -06:00
Asim Mehmood
bd4dc86493
fix: separate out rosetta request/response schema files from entity files
...
Several schema files referenced entity files in the docs/api/rosetta
directory. They entity files have all been moved to docs/entities/rosetta
and references updated.
2020-09-01 08:26:03 -06:00
Asim Mehmood
09e373b3f9
fix: missed several request/response files
2020-09-01 08:26:03 -06:00
Asim Mehmood
2e91877f6a
chore: add rosetta block, operation, and transaction schemas
...
These are needed for /network/status and for types at the datastore layer.
2020-09-01 08:26:03 -06:00
Asim Mehmood
3394cf3e6e
chore: add all rosetta network request + response schemas
2020-09-01 08:26:03 -06:00
Asim Mehmood
731fb20c71
docs: remove title of metadata from network options request and network status request
2020-08-26 12:22:48 -06:00
Asim Mehmood
edb3b14b59
feat: add rosetta api schema for type information
2020-08-26 12:22:48 -06:00