Skip to content

Commit 607cdb4

Browse files
vrom911v0d1ch
authored andcommitted
Add MissingTokenPolicies and InvalidTokenRequest to the api.yaml
1 parent 34a5569 commit 607cdb4

File tree

1 file changed

+55
-0
lines changed

1 file changed

+55
-0
lines changed

hydra-node/json-schemas/api.yaml

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2705,6 +2705,61 @@ components:
27052705
totalUTxOValue:
27062706
type: integer
27072707
minimum: 0
2708+
- title: MissingTokenPolicies
2709+
description: |
2710+
Raised if the user requests tokens that require missing policy IDs.
2711+
type: object
2712+
additionalProperties: false
2713+
required:
2714+
- tag
2715+
- contents
2716+
properties:
2717+
tag:
2718+
type: string
2719+
enum: ["MissingTokenPolicies"]
2720+
contents:
2721+
type: array
2722+
items:
2723+
type: string
2724+
contentEncoding: base16
2725+
description: |
2726+
A hex-encoded policy ID.
2727+
- title: InvalidTokenRequest
2728+
description: |
2729+
Raised if the user makes an invalid token request.
2730+
type: object
2731+
additionalProperties: false
2732+
required:
2733+
- tag
2734+
- contents
2735+
properties:
2736+
tag:
2737+
type: string
2738+
enum: ["InvalidTokenRequest"]
2739+
contents:
2740+
type: array
2741+
items:
2742+
type: object
2743+
additionalProperties: false
2744+
required:
2745+
- policyId
2746+
- assetName
2747+
- quantity
2748+
properties:
2749+
policyId:
2750+
type: string
2751+
contentEncoding: base16
2752+
description: |
2753+
A hex-encoded policy ID.
2754+
assetName:
2755+
type: string
2756+
contentEncoding: base16
2757+
description: |
2758+
A hex-encoded asset name.
2759+
quantity:
2760+
type: integer
2761+
description: |
2762+
A quantity of the asset.
27082763
27092764
Signature:
27102765
type: string

0 commit comments

Comments
 (0)