From 40ecf0300a46ffd10a210968cae4e020e94c54e4 Mon Sep 17 00:00:00 2001 From: Raymond Roestenburg Date: Fri, 14 Nov 2025 09:59:58 +0000 Subject: [PATCH] Remove /v0/total-amulet-balance and /v0/wallet-balance - /v0/total-amulet-balance is replaced by total supply on /registry/metadata/v1/instruments/{instrumentId} - /v0/wallet-balance is replaced by /v0/holdings/summary Signed-off-by: Raymond Roestenburg --- apps/scan/src/main/openapi/scan.yaml | 66 ---------------------------- 1 file changed, 66 deletions(-) diff --git a/apps/scan/src/main/openapi/scan.yaml b/apps/scan/src/main/openapi/scan.yaml index 26173f2a98..0443484728 100644 --- a/apps/scan/src/main/openapi/scan.yaml +++ b/apps/scan/src/main/openapi/scan.yaml @@ -1174,60 +1174,6 @@ paths: "500": $ref: "../../../../common/src/main/openapi/common-external.yaml#/components/responses/500" - /v0/total-amulet-balance: - get: - deprecated: true - tags: [deprecated, scan] - x-jvm-package: scan - operationId: "getTotalAmuletBalance" - description: "**Deprecated**. Get the total balance of Amulet in the network" - parameters: - - in: query - name: asOfEndOfRound - required: true - schema: - type: integer - format: int64 - responses: - "200": - description: ok - content: - application/json: - schema: - "$ref": "#/components/schemas/GetTotalAmuletBalanceResponse" - "404": - $ref: "../../../../common/src/main/openapi/common-external.yaml#/components/responses/404" - - /v0/wallet-balance: - get: - deprecated: true - tags: [deprecated] - x-jvm-package: scan - operationId: "getWalletBalance" - description: | - **Deprecated**, use /v0/holdings/summary with /v0/state/acs/snapshot-timestamp instead. Get the Amulet balance for a specific party at the end of a closed round - parameters: - - in: query - name: party_id - required: true - schema: - type: string - - in: query - name: asOfEndOfRound - required: true - schema: - type: integer - format: int64 - responses: - "200": - description: ok - content: - application/json: - schema: - "$ref": "#/components/schemas/GetWalletBalanceResponse" - "404": - $ref: "../../../../common/src/main/openapi/common-external.yaml#/components/responses/404" - /v0/amulet-config-for-round: get: deprecated: true @@ -1780,18 +1726,6 @@ components: properties: featured_app_right: $ref: "../../../../common/src/main/openapi/common-external.yaml#/components/schemas/Contract" - GetWalletBalanceResponse: - type: object - required: ["wallet_balance"] - properties: - wallet_balance: - type: string - GetTotalAmuletBalanceResponse: - type: object - required: ["total_balance"] - properties: - total_balance: - type: string GetAmuletConfigForRoundResponse: type: object required: