@@ -24722,6 +24722,53 @@ paths:
2472224722 application/json:
2472324723 schema:
2472424724 $ref: '#/components/schemas/PlatformError'
24725+ /api/v2/keys:
24726+ get:
24727+ summary: Get keys
24728+ description: |-
24729+ Retrieve user keys using wallet IDs.
24730+ User must have spender permissions for the specified wallets.
24731+ operationId: v2.wallet.key.list
24732+ tags:
24733+ - Keys
24734+ parameters:
24735+ - name: walletIds
24736+ description: An array of wallet IDs. A maximum of 50 wallet ids are permitted.
24737+ in: query
24738+ required: true
24739+ schema:
24740+ type: array
24741+ items:
24742+ type: string
24743+ example: 59cd72485007a239fb00282ed480da1f
24744+ minLength: 1
24745+ pattern: ^[0-9a-f]{32}$
24746+ description: An array of wallet IDs. A maximum of 50 wallet ids are permitted.
24747+ responses:
24748+ '200':
24749+ description: OK
24750+ content:
24751+ application/json:
24752+ schema:
24753+ $ref: '#/components/schemas/KeyListResponse'
24754+ '400':
24755+ description: Bad Request
24756+ content:
24757+ application/json:
24758+ schema:
24759+ $ref: '#/components/schemas/PlatformError'
24760+ '404':
24761+ description: Not Found
24762+ content:
24763+ application/json:
24764+ schema:
24765+ $ref: '#/components/schemas/PlatformError'
24766+ '500':
24767+ description: Internal Server Error
24768+ content:
24769+ application/json:
24770+ schema:
24771+ $ref: '#/components/schemas/PlatformError'
2472524772 /api/v2/organization/{organizationId}/enterprise:
2472624773 get:
2472724774 summary: List enterprises for an organization
@@ -42067,6 +42114,33 @@ components:
4206742114 allOf:
4206842115 - $ref: '#/components/schemas/KeyPurpose'
4206942116 description: The purpose of the key.
42117+ KeyListItem:
42118+ title: KeyListItem
42119+ type: object
42120+ properties:
42121+ id:
42122+ type: string
42123+ example: 59cd72485007a239fb00282ed480da1f
42124+ pattern: ^[0-9a-f]{32}$
42125+ encryptedPrv:
42126+ type: string
42127+ description: The encrypted private key
42128+ required:
42129+ - id
42130+ KeyListResponse:
42131+ title: KeyListResponse
42132+ type: array
42133+ items:
42134+ type: object
42135+ properties:
42136+ walletId:
42137+ type: string
42138+ key:
42139+ allOf:
42140+ - $ref: '#/components/schemas/KeyListItem'
42141+ description: Represents a key associated with a wallet. The key can either be a valid 'Key' object or 'null' if no key is associated.
42142+ required:
42143+ - walletId
4207042144 KeyPurpose:
4207142145 type: string
4207242146 enum:
0 commit comments