Skip to content

Commit

Permalink
make formatting consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
juraj.bacovcin committed Apr 11, 2024
1 parent b3d3f5c commit fbf53ee
Show file tree
Hide file tree
Showing 1,535 changed files with 34,133 additions and 29,984 deletions.
54 changes: 29 additions & 25 deletions categories/blockchain/paths/v3_ada_account_{address}_get.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,57 +10,61 @@ description: '<p><b>
'
operationId: AdaGetAccount
parameters:
- description: Address
in: path
name: address
required: true
schema:
type: string
example: Ae2tdPwUPEZMmrkRoduJW9w7wRvnTcdeMbw7yyyjwPqo6zuaeJaDEkHUJSz
- description: Address
in: path
name: address
required: true
schema:
type: string
example: Ae2tdPwUPEZMmrkRoduJW9w7wRvnTcdeMbw7yyyjwPqo6zuaeJaDEkHUJSz
responses:
'200':
"200":
content:
application/json:
schema:
items:
$ref: '../../../components/migrated.yml#/components/schemas/AdaAccountBalance'
$ref: "../../../components/migrated.yml#/components/schemas/AdaAccountBalance"
type: array
description: OK
'400':
"400":
content:
application/json:
schema:
$ref: '../../../components/migrated.yml#/components/schemas/Error400'
description: Bad Request. Validation failed for the given object in the HTTP Body
$ref: "../../../components/migrated.yml#/components/schemas/Error400"
description:
Bad Request. Validation failed for the given object in the HTTP Body
or Request parameters.
'401':
"401":
content:
application/json:
schema:
oneOf:
- $ref: '../../../components/migrated.yml#/components/schemas/Error401NotActive'
- $ref: '../../../components/migrated.yml#/components/schemas/Error401Invalid'
description: Unauthorized. Not valid or inactive subscription key present in the
- $ref: "../../../components/migrated.yml#/components/schemas/Error401NotActive"
- $ref: "../../../components/migrated.yml#/components/schemas/Error401Invalid"
description:
Unauthorized. Not valid or inactive subscription key present in the
HTTP Header.
'403':
description: Forbidden. The request is authenticated, but it is not possible to
"403":
description:
Forbidden. The request is authenticated, but it is not possible to
perform the required operation due to a logical error or invalid permissions.
content:
application/json:
schema:
oneOf:
- $ref: '../../../components/migrated.yml#/components/schemas/Error403BtcBlockchain'
- $ref: '../../../components/migrated.yml#/components/schemas/Error403Broadcast'
'500':
- $ref: "../../../components/migrated.yml#/components/schemas/Error403BtcBlockchain"
- $ref: "../../../components/migrated.yml#/components/schemas/Error403Broadcast"
"500":
content:
application/json:
schema:
$ref: '../../../components/migrated.yml#/components/schemas/Error500'
description: Internal server error. There was an error on the server while processing
$ref: "../../../components/migrated.yml#/components/schemas/Error500"
description:
Internal server error. There was an error on the server while processing
the request.
security:
- X-API-Key: []
- X-API-Key: []
x-codeSamples: []
summary: Gets a Ada account by address
tags:
- Cardano
- Cardano
68 changes: 36 additions & 32 deletions categories/blockchain/paths/v3_ada_address_{xpub}_{index}_get.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,23 @@ description: '<p><b>
'
operationId: AdaGenerateAddress
parameters:
- description: Extended public key of a wallet.
in: path
name: xpub
required: true
example: 30e96a57be6235c686da968c1860f69d1871a692b29626b7ebb923aff8c6731cb9fef3a26b7eba8a07653483d06427d0c07966c5f81c69a7925d714530bedb1ef9e9103547b54ad0954b3569785ca70e1fd08313f92a3a9d31efa216b2b9adac4678455e66c97b53cd589f9da70a14265cf15cd4c1e0ce914407008f4a65f316
schema:
type: string
- description: Derivation index of the desired address to be generated.
in: path
name: index
required: true
example: 0
schema:
type: number
minimum: 0
- description: Extended public key of a wallet.
in: path
name: xpub
required: true
example: 30e96a57be6235c686da968c1860f69d1871a692b29626b7ebb923aff8c6731cb9fef3a26b7eba8a07653483d06427d0c07966c5f81c69a7925d714530bedb1ef9e9103547b54ad0954b3569785ca70e1fd08313f92a3a9d31efa216b2b9adac4678455e66c97b53cd589f9da70a14265cf15cd4c1e0ce914407008f4a65f316
schema:
type: string
- description: Derivation index of the desired address to be generated.
in: path
name: index
required: true
example: 0
schema:
type: number
minimum: 0
responses:
'200':
"200":
content:
application/json:
schema:
Expand All @@ -40,41 +40,45 @@ responses:
description: Ada address
example: addr1qyyxyhaa2e7kxeqcc72w7f747zqlgwwwstlzsg9umuxc40wnhawldxl4nan95rhtlcnju9q2r8j9qz8vslwsmrkj5r4spxhep9
description: OK
'400':
"400":
content:
application/json:
schema:
$ref: '../../../components/migrated.yml#/components/schemas/Error400'
description: Bad Request. Validation failed for the given object in the HTTP Body
$ref: "../../../components/migrated.yml#/components/schemas/Error400"
description:
Bad Request. Validation failed for the given object in the HTTP Body
or Request parameters.
'401':
"401":
content:
application/json:
schema:
oneOf:
- $ref: '../../../components/migrated.yml#/components/schemas/Error401NotActive'
- $ref: '../../../components/migrated.yml#/components/schemas/Error401Invalid'
description: Unauthorized. Not valid or inactive subscription key present in the
- $ref: "../../../components/migrated.yml#/components/schemas/Error401NotActive"
- $ref: "../../../components/migrated.yml#/components/schemas/Error401Invalid"
description:
Unauthorized. Not valid or inactive subscription key present in the
HTTP Header.
'403':
description: Forbidden. The request is authenticated, but it is not possible to
"403":
description:
Forbidden. The request is authenticated, but it is not possible to
perform the required operation due to a logical error or invalid permissions.
content:
application/json:
schema:
oneOf:
- $ref: '../../../components/migrated.yml#/components/schemas/Error403AccountIncompatibleXpubBtc'
- $ref: '../../../components/migrated.yml#/components/schemas/Error403AccountAddressGeneral'
'500':
- $ref: "../../../components/migrated.yml#/components/schemas/Error403AccountIncompatibleXpubBtc"
- $ref: "../../../components/migrated.yml#/components/schemas/Error403AccountAddressGeneral"
"500":
content:
application/json:
schema:
$ref: '../../../components/migrated.yml#/components/schemas/Error500'
description: Internal server error. There was an error on the server while processing
$ref: "../../../components/migrated.yml#/components/schemas/Error500"
description:
Internal server error. There was an error on the server while processing
the request.
security:
- X-API-Key: []
- X-API-Key: []
x-codeSamples: []
summary: Generate Ada deposit address from Extended public key
tags:
- Cardano
- Cardano
52 changes: 28 additions & 24 deletions categories/blockchain/paths/v3_ada_block_{hash}_get.yml
Original file line number Diff line number Diff line change
@@ -1,54 +1,58 @@
description: <p><b>You can work with Cardano by <a href="https://apidoc.tatum.io/tag/Node-RPC#operation/NodeJsonPostRpcDriver"
description:
<p><b>You can work with Cardano by <a href="https://apidoc.tatum.io/tag/Node-RPC#operation/NodeJsonPostRpcDriver"
target="_blank">connecting directly to a blockchain node provided by Tatum</a>.</b></p><br/><h4>1
credit per API call.</h4><p>Gets Ada block detail by block hash or height.</p>
operationId: AdaGetBlock
parameters:
- description: Block hash or height.
in: path
name: hash
required: true
schema:
type: string
example: 00000000ca231a439a5c0a86a5a5dd6dc1918a8e897b96522fa9499288e70183
- description: Block hash or height.
in: path
name: hash
required: true
schema:
type: string
example: 00000000ca231a439a5c0a86a5a5dd6dc1918a8e897b96522fa9499288e70183
responses:
'200':
"200":
content:
application/json:
schema:
$ref: '../../../components/migrated.yml#/components/schemas/AdaBlock'
$ref: "../../../components/migrated.yml#/components/schemas/AdaBlock"
description: OK
'400':
"400":
content:
application/json:
schema:
$ref: '../../../components/migrated.yml#/components/schemas/Error400'
description: Bad Request. Validation failed for the given object in the HTTP Body
$ref: "../../../components/migrated.yml#/components/schemas/Error400"
description:
Bad Request. Validation failed for the given object in the HTTP Body
or Request parameters.
'401':
"401":
content:
application/json:
schema:
oneOf:
- $ref: '../../../components/migrated.yml#/components/schemas/Error401NotActive'
- $ref: '../../../components/migrated.yml#/components/schemas/Error401Invalid'
description: Unauthorized. Not valid or inactive subscription key present in the
- $ref: "../../../components/migrated.yml#/components/schemas/Error401NotActive"
- $ref: "../../../components/migrated.yml#/components/schemas/Error401Invalid"
description:
Unauthorized. Not valid or inactive subscription key present in the
HTTP Header.
'404':
"404":
description: Block not found.
content:
application/json:
schema:
$ref: '../../../components/migrated.yml#/components/schemas/Error404BlockNotExists'
'500':
$ref: "../../../components/migrated.yml#/components/schemas/Error404BlockNotExists"
"500":
content:
application/json:
schema:
$ref: '../../../components/migrated.yml#/components/schemas/Error500'
description: Internal server error. There was an error on the server while processing
$ref: "../../../components/migrated.yml#/components/schemas/Error500"
description:
Internal server error. There was an error on the server while processing
the request.
security:
- X-API-Key: []
- X-API-Key: []
x-codeSamples: []
summary: Get Block by hash or height
tags:
- Cardano
- Cardano
42 changes: 23 additions & 19 deletions categories/blockchain/paths/v3_ada_broadcast_post.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,50 +17,54 @@ requestBody:
content:
application/json:
schema:
$ref: '../../../components/migrated.yml#/components/schemas/BroadcastKMS'
$ref: "../../../components/migrated.yml#/components/schemas/BroadcastKMS"
required: true
responses:
'200':
"200":
content:
application/json:
schema:
$ref: '../../../components/migrated.yml#/components/schemas/TransactionHash'
$ref: "../../../components/migrated.yml#/components/schemas/TransactionHash"
description: OK
'400':
"400":
content:
application/json:
schema:
$ref: '../../../components/migrated.yml#/components/schemas/Error400'
description: Bad Request. Validation failed for the given object in the HTTP Body
$ref: "../../../components/migrated.yml#/components/schemas/Error400"
description:
Bad Request. Validation failed for the given object in the HTTP Body
or Request parameters.
'401':
"401":
content:
application/json:
schema:
oneOf:
- $ref: '../../../components/migrated.yml#/components/schemas/Error401NotActive'
- $ref: '../../../components/migrated.yml#/components/schemas/Error401Invalid'
description: Unauthorized. Not valid or inactive subscription key present in the
- $ref: "../../../components/migrated.yml#/components/schemas/Error401NotActive"
- $ref: "../../../components/migrated.yml#/components/schemas/Error401Invalid"
description:
Unauthorized. Not valid or inactive subscription key present in the
HTTP Header.
'403':
description: Forbidden. The request is authenticated, but it is not possible to
"403":
description:
Forbidden. The request is authenticated, but it is not possible to
perform the required operation due to a logical error or invalid permissions.
content:
application/json:
schema:
oneOf:
- $ref: '../../../components/migrated.yml#/components/schemas/Error403BtcBlockchain'
- $ref: '../../../components/migrated.yml#/components/schemas/Error403Broadcast'
'500':
- $ref: "../../../components/migrated.yml#/components/schemas/Error403BtcBlockchain"
- $ref: "../../../components/migrated.yml#/components/schemas/Error403Broadcast"
"500":
content:
application/json:
schema:
$ref: '../../../components/migrated.yml#/components/schemas/Error500'
description: Internal server error. There was an error on the server while processing
$ref: "../../../components/migrated.yml#/components/schemas/Error500"
description:
Internal server error. There was an error on the server while processing
the request.
security:
- X-API-Key: []
- X-API-Key: []
x-codeSamples: []
summary: Broadcast signed Ada transaction
tags:
- Cardano
- Cardano
Loading

0 comments on commit fbf53ee

Please sign in to comment.