Skip to content

Commit

Permalink
docs: update broken anchors for deprecated endpoints (#1861)
Browse files Browse the repository at this point in the history
* update broken anchors for deprecated endpoints

* chore(docs): route paths to /api + small formatting updates

* chore(docs): remove auto-formatting changes
  • Loading branch information
ryanwaits authored Feb 26, 2024
1 parent cf47f8f commit a0856f9
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions docs/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -869,7 +869,7 @@ paths:
summary: Get recent blocks
deprecated: true
description: |
**NOTE:** This endpoint is deprecated in favor of [Get blocks](#operation/get_blocks).
**NOTE:** This endpoint is deprecated in favor of [Get blocks](/api/get-blocks).
Retrieves a list of recently mined blocks
Expand Down Expand Up @@ -915,7 +915,7 @@ paths:
deprecated: true
summary: Get block by hash
description: |
**NOTE:** This endpoint is deprecated in favor of [Get block](#operation/get_block).
**NOTE:** This endpoint is deprecated in favor of [Get block](/api/get-block).
Retrieves block details of a specific block for a given chain height. You can use the hash from your latest block ('get_block_list' API) to get your block details.
tags:
Expand Down Expand Up @@ -949,7 +949,7 @@ paths:
deprecated: true
summary: Get block by height
description: |
**NOTE:** This endpoint is deprecated in favor of [Get block](#operation/get_block).
**NOTE:** This endpoint is deprecated in favor of [Get block](/api/get-block).
Retrieves block details of a specific block at a given block height
tags:
Expand Down Expand Up @@ -983,7 +983,7 @@ paths:
summary: Get block by burnchain block hash
deprecated: true
description: |
**NOTE:** This endpoint is deprecated in favor of [Get blocks](#operation/get_blocks).
**NOTE:** This endpoint is deprecated in favor of [Get blocks](/api/get-blocks).
Retrieves block details of a specific block for a given burnchain block hash
tags:
Expand Down Expand Up @@ -1018,7 +1018,7 @@ paths:
summary: Get block by burnchain height
deprecated: true
description: |
**NOTE:** This endpoint is deprecated in favor of [Get blocks](#operation/get_blocks).
**NOTE:** This endpoint is deprecated in favor of [Get blocks](/api/get-blocks).
Retrieves block details of a specific block for a given burn chain height
tags:
Expand Down Expand Up @@ -3009,7 +3009,7 @@ paths:
operationId: get_transactions_by_block_hash
summary: Transactions by block hash
description: |
**NOTE:** This endpoint is deprecated in favor of [Get transactions by block](#operation/get_transactions_by_block).
**NOTE:** This endpoint is deprecated in favor of [Get transactions by block](/api/get-transactions-by-block).
Retrieves a list of all transactions within a block for a given block hash.
tags:
Expand Down Expand Up @@ -3052,7 +3052,7 @@ paths:
operationId: get_transactions_by_block_height
summary: Transactions by block height
description: |
**NOTE:** This endpoint is deprecated in favor of [Get transactions by block](#operation/get_transactions_by_block).
**NOTE:** This endpoint is deprecated in favor of [Get transactions by block](/api/get-transactions-by-block).
Retrieves all transactions within a block at a given height
tags:
Expand Down Expand Up @@ -3358,7 +3358,7 @@ paths:
summary: Fetch fee rate
deprecated: true
description: |
**NOTE:** This endpoint is deprecated in favor of [Get approximate fees for a given transaction](#operation/post_fee_transaction).
**NOTE:** This endpoint is deprecated in favor of [Get approximate fees for a given transaction](/api/get-approximate-fees-for-a-given-transaction).
Retrieves estimated fee rate.
tags:
Expand Down

0 comments on commit a0856f9

Please sign in to comment.