Download OpenAPI specification:
Public API for managing DVPs. Public routes are GET /, GET /openapi.json, GET /health, and GET /registry. Protected routes are authorized by a dedicated Lambda authorizer that verifies the Auth API JWT access token locally and validates its scope claim. GET /portfolios, GET /portfolios/{portfolio-id}, and GET /orders require portfolios:#read. GET /portfolios/{portfolio-id}/price, GET /portfolios/{portfolio-id}/metadata, and GET /portfolios/{portfolio-id}/vaults/cardano/orders require portfolios:{portfolio-id}:read. GET /portfolios/{portfolio-id}/vaults/ib requires portfolios:{portfolio-id}:manage. POST /portfolios/{portfolio-id}/metadata and POST /portfolios/{portfolio-id}/vaults/cardano/orders require portfolios:{portfolio-id}:write. Portfolio management routes require portfolios:#manage. GET /assets and GET /assets/{ticker} require assets:#read. Asset registry mutation routes require assets:#manage.
[- {
- "id": 0,
- "name": "string",
- "admin": {
- "_tag": "Single",
- "hash": "string"
}, - "status": "initializing",
- "vaults": [
- {
- "_tag": "Cardano",
- "address": "string",
- "displayName": "string",
- "composition": [
- {
- "ticker": "string",
- "amount": 0,
- "valueUsd": 0
}
]
}
], - "cardano": {
- "agent": "string",
- "contract": "string"
}, - "displayName": "string",
- "ticker": "string",
- "teaser": "string",
- "description": "string",
- "accentColor": "string",
- "logoUrl": "string",
- "totalValueUsd": 0,
- "change24hUsd": 0,
- "change24hPct": 0,
- "updatedAt": "string",
- "primaryVaultAddress": "string",
- "totalSupply": "string",
- "tokenPriceUsd": 0,
- "tokenPrice": {
- "top": "string",
- "bottom": "string",
- "timestamp": "string"
}, - "assets": [
- {
- "symbol": "string",
- "amount": "string",
- "valueUsd": 0,
- "percentage": 0,
- "change24hPct": 0,
- "category": "string",
- "risk": "Low",
- "description": "string",
- "rationale": "string",
- "color": "string"
}
]
}
]| portfolio-id required | integer |
| secretArn required | string AWS Secrets Manager ARN containing credentials for this IB vault only. |
{- "secretArn": "string"
}{- "id": 0,
- "name": "string",
- "admin": {
- "_tag": "Single",
- "hash": "string"
}, - "status": "initializing",
- "vaults": [
- {
- "_tag": "Cardano",
- "address": "string",
- "displayName": "string",
- "composition": [
- {
- "ticker": "string",
- "amount": 0,
- "valueUsd": 0
}
]
}
], - "cardano": {
- "agent": "string",
- "contract": "string"
}, - "displayName": "string",
- "ticker": "string",
- "teaser": "string",
- "description": "string",
- "accentColor": "string",
- "logoUrl": "string",
- "totalValueUsd": 0,
- "change24hUsd": 0,
- "change24hPct": 0,
- "updatedAt": "string",
- "primaryVaultAddress": "string",
- "totalSupply": "string",
- "tokenPriceUsd": 0,
- "tokenPrice": {
- "top": "string",
- "bottom": "string",
- "timestamp": "string"
}, - "assets": [
- {
- "symbol": "string",
- "amount": "string",
- "valueUsd": 0,
- "percentage": 0,
- "change24hPct": 0,
- "category": "string",
- "risk": "Low",
- "description": "string",
- "rationale": "string",
- "color": "string"
}
]
}| portfolio-id required | integer |
| name | string non-empty |
| ticker | string non-empty |
| logo | string |
| url | string |
| decimals | integer >= 0 |
| description | string non-empty |
{- "name": "string",
- "ticker": "string",
- "logo": "string",
- "url": "string",
- "decimals": 0,
- "description": "string"
}{- "executionArn": "string"
}| portfolio-id required | integer |
| _tag required | any Value: "Create" |
| action required | string Enum: "RefreshValue" "AddValue" "RemoveValue" |
object USD delta amount. Required for AddValue and RemoveValue. | |
| walletAddress | string Required for AddValue when participation tokens are minted. |
| changeAddress | string Required for RemoveValue when participation tokens are burned. |
| utxos | Array of strings CBOR hex encoded full Cardano UTxOs required for RemoveValue burn transactions. |
{- "_tag": "Create",
- "action": "RefreshValue",
- "amount": {
- "top": "string",
- "bottom": "string"
}, - "walletAddress": "string",
- "changeAddress": "string",
- "utxos": [
- "string"
]
}{- "status": "Created",
- "transactionId": "string",
- "tx": "string",
- "generatedTx": "string",
- "portfolioId": 0,
- "txHash": "string",
- "tokenDelta": "string",
- "valueMicroUsd": "string",
- "valueBottom": "string",
- "valueTop": "string"
}| portfolio-id required | integer |
{- "orders": [
- {
- "blockchain": "Cardano",
- "completedAt": "2019-08-24T14:15:22Z",
- "completionTxHash": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "details": {
- "property1": "string",
- "property2": "string"
}, - "id": "string",
- "kind": "string",
- "orderRef": "string",
- "owner": "string",
- "portfolioId": 0,
- "status": "Created",
- "txHash": "string",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]
}| portfolio-id required | integer |
| _tag required | any Value: "Create" |
| utxos required | Array of strings non-empty |
| changeAddress required | string |
| amount required | string CBOR hex encoded Cardano Value. This is the net deposit amount; the API adds required min lovelace to the order UTxO. |
{- "_tag": "Create",
- "utxos": [
- "string"
], - "changeAddress": "string",
- "amount": "string"
}{- "network": "Cardano",
- "orderId": "string",
- "orderRef": "string",
- "status": "Created",
- "tx": "string",
- "txHash": "string",
- "vaultAddress": "string",
- "orderAssetClass": "string"
}{- "orders": [
- {
- "blockchain": "Cardano",
- "completedAt": "2019-08-24T14:15:22Z",
- "completionTxHash": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "details": {
- "property1": "string",
- "property2": "string"
}, - "id": "string",
- "kind": "string",
- "orderRef": "string",
- "owner": "string",
- "portfolioId": 0,
- "status": "Created",
- "txHash": "string",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]
}