Commit Graph

251 Commits

Author SHA1 Message Date
Rafael Cárdenas
5134183a33 fix: export api version variable for resolution 2021-10-27 10:29:03 -05:00
kyranjamie
ff7f9d3472 fix(docs): ensure naming convention is followed 2021-10-20 08:21:49 +02:00
Rafael Cárdenas
1b9126e73d feat: set api version in openapi schema automatically
* feat: add real api version to schema

* fix: separate postman from spec resolution

* fix: add workflow_run condition

* fix: vercel broken build

* fix: vercel generate resolved
2021-10-06 08:37:03 -05:00
Rafael Cárdenas
204d7979a9 feat: add microblock update support to socket-io
* feat: add microblockUpdate to socket topics

* chore: start adding tests

* chore: finish socket-io test
2021-10-05 09:15:50 -05:00
M Hassan Tariq
13c33e5475 fix: removed regtest references #784 2021-10-05 15:05:33 +02:00
Matthew Little
128517e803 Merge branch 'master' into develop 2021-09-28 13:03:28 +02:00
Asim Mehmood
8d2d86f972 feat: added execution cost to block response #735 2021-09-21 21:31:16 +02:00
dependabot[bot]
67c71b5363 chore(deps): bump prismjs from 1.23.0 to 1.25.0 in /docs (#773)
Bumps [prismjs](https://github.com/PrismJS/prism) from 1.23.0 to 1.25.0.
- [Release notes](https://github.com/PrismJS/prism/releases)
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PrismJS/prism/compare/v1.23.0...v1.25.0)

---
updated-dependencies:
- dependency-name: prismjs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-21 10:51:26 +02:00
Rafael Cárdenas
5f07d7455f feat: automatically generate postman collection from the openapi spec
* feat: add speccy and openapi2postmanv2 as deps

* feat: organize postman folders like our docs

* chore: generate postman on gh-pages action

* chore: change link to download Postman collection from local file
2021-09-15 10:01:19 -05:00
Matthew Little
6f4f3e2a91 feat(rosetta): support memos in stx token transfer operations #752 2021-09-10 15:55:40 +02:00
Asim Mehmood
7c09ac53a9 feat: added a new endpoint fee_rate #729 2021-09-08 10:57:25 +02:00
Rafael Cárdenas
d9e1131f83 feat: add execution cost data to transactions
* feat: start capturing execution costs in transactions

* chore: update tx schema and fine tune unit tests

* chore: revert automatic vscode changes
2021-09-02 13:05:50 -05:00
Asim Mehmood
33f11bbcf3 feat: token metadata 2021-09-01 18:14:05 -05:00
Rafael Cárdenas
e37b5afbf5 fix: short summaries for BNS endpoints 2021-09-01 14:14:24 -05:00
MHassanTariq
7cc78fb573 fix: added types for search endpoint #645 2021-08-31 09:11:03 -05:00
Rafael Cárdenas
0538ae297f feat: return git info in /extended/v1/status
* feat: add build script to write git info to usable ts file

* fix: run git-info before tests

* fix: fetch all git history for running tests

* fix: try moving git-info run to workflow

* fix: add some debug info to setup

* fix: try using the module as a relative route

* chore: remove test commands now that tests pass

* chore: create status endpoint openapi schema and example

* feat: create a plain text file instead

* chore: undo github workflow changes since they are no longer necessary

* fix: make import paths relative
2021-08-27 14:24:26 -05:00
Rafael Cárdenas
439d4f46cd feat: expose FT and NFT transfers in /extended/v1/address/[:principal]/transactions_with_transfers
* chore: add new ft fields to schema

* feat: start returning ft_transfers

* fix: broken tx info tests

* feat: return nft_transfers

* chore: rename interfaces and methods to reflect asset txs

* chore: undo unintended vscode changes

* chore: update json example for api docs

* chore: add more accurate FT and NFT identifiers on API examples

* chore: tweak schema descriptions for integer FT amounts
2021-08-24 09:51:56 -05:00
Rafael Cárdenas
fb6150a008 feat: return tx_id on every asset in /extended/v1/address/[:addr]/assets
* feat: return tx_id on every asset in /extended/v1/address/[:addr]/assets

* chore: reflect new tx_id in OpenAPI schemes

* chore: add tx_id to required fields in schema
2021-08-17 13:43:13 -05:00
Matthew Little
33425d8eb9 fix(rosetta): /block/transaction endpoint missing ops #704 2021-08-12 13:13:06 -05:00
Asim Mehmood
cf36b8fddf feat(rosetta): support passing btc address for rosetta stacking op #672 2021-08-02 16:12:07 -05:00
MHassanTariq
6dbbba6a41 feat: singular tx with STX transfer events endpoint #622 2021-08-02 11:12:14 -05:00
Friedger Müffke
d002dadefe feat: add get block by burn block height and by burn block hash (#675)
fix: formatting

fix: extract BlockIdentifier type

fix: test

fix: test

fix: test

fix: test

fix: query
2021-07-29 09:25:56 -05:00
kyranjamie
ab45a151f4 fix: bundling issues 2021-07-16 08:42:40 -05:00
Matthew Little
d5727173f5 chore: fix json schema doc example type 2021-07-15 13:07:39 -05:00
Matthew Little
f7d6834846 chore: update openapi/json-schema summaries and examples with latest microblock related changes 2021-07-15 13:07:39 -05:00
Matthew Little
977db77a71 feat: add parent_burn_block_{time,hash,height} to txs and microblock API responses 2021-07-15 13:07:39 -05:00
Matthew Little
267a5eb3ec feat: add explicit is_unanchored: boolean flag to tx responses 2021-07-15 13:07:39 -05:00
Matthew Little
3057ab3350 feat: progress on making unanchored microblock tx data opt-in in API requests and db sql queries 2021-07-15 13:07:39 -05:00
Matthew Little
51664e54fb chore(ci): single command to build client and openAPI docs 2021-07-15 13:07:39 -05:00
Matthew Little
654669ca81 fix: preserve logical transaction ordering using INT32_MAX value rather than -1 for batched tx microblock_sequence 2021-07-15 13:07:39 -05:00
Matthew Little
137f517b51 chore: small docs schema path typo 2021-07-15 13:07:39 -05:00
Matthew Little
029570b486 chore: repair rosetta and bns integration tests, only working with microblocks disabled 2021-07-15 13:07:39 -05:00
Matthew Little
21145cac1c chore: repair tests/api-tests with microblock related breakages 2021-07-15 13:07:39 -05:00
Matthew Little
bbf3c07a86 chore: post-rebase misc fixes 2021-07-15 13:07:39 -05:00
Matthew Little
119615e849 feat: add nonce gap detection and recommended nonce value to /address/{principal}/nonces 2021-07-15 13:07:39 -05:00
Matthew Little
0b33bcbfef feat: implement endpoint to get the latest account nonce based off mempool and unanchored or anchored tx data 2021-07-15 13:07:39 -05:00
Matthew Little
6f3aed942c feat: API endpoint to return unanchored txs 2021-07-15 13:07:39 -05:00
Matthew Little
09844c2897 feat: support microblock canonical status updating during anchor block re-orgs 2021-07-15 13:07:39 -05:00
Matthew Little
97e96fea7f chore: formalize /microblocks endpoints in docs, avoid returning 0x strings and bogus block_time ISO strings 2021-07-15 13:07:39 -05:00
Matthew Little
19e92ae735 feat: microblocks API endpoints 2021-07-15 13:07:39 -05:00
Matthew Little
97bb2cbc36 fix: various bugs and typing issues with parsing mined and mempool tx db data 2021-07-15 13:07:39 -05:00
Matthew Little
a85dcad9e7 fix: duplicated mempool-tx and mined-tx schemas leading to buggy tx parsing code 2021-07-15 13:07:39 -05:00
Matthew Little
b79e491ea8 chore: add parent block hash to tx table, progress on fixing issues with tx db data parsing issues 2021-07-15 13:07:39 -05:00
Matthew Little
6b644dd3cc chore: more accurate doc type generation 2021-07-15 13:07:39 -05:00
Matthew Little
39a8d32818 feat: added microblock metadata to regular/anchor block API responses 2021-07-15 13:07:39 -05:00
Matthew Little
f6a307a0ce feat: add anchored microblock hash array to API anchor block response 2021-07-15 13:07:39 -05:00
Alexander Graebe
d333d3071f feat: adding regtest network 2021-06-24 16:54:44 -07:00
Lola Dam
ba2e4ed86c feat: [rosetta] delegated stacking 2021-05-19 00:51:01 +02:00
Matthew Little
5de257f816 fix: [Rosetta] fix unintentional global error object mutations 2021-05-19 00:51:01 +02:00
Matthew Little
715e2b36df feat: socket.io server and client implementation 2021-05-19 00:51:01 +02:00