curl --request GET \
--url http://localhost:14400/api/orders \
--header 'Authorization: Bearer <token>'
[
{
"orderId": "<string>",
"symbol": "<string>",
"side": "<string>",
"type": "<string>",
"quantity": 123,
"price": 123,
"status": "<string>",
"createdAt": "2023-11-07T05:31:56Z"
}
]
Get all orders for the authenticated user
curl --request GET \
--url http://localhost:14400/api/orders \
--header 'Authorization: Bearer <token>'
[
{
"orderId": "<string>",
"symbol": "<string>",
"side": "<string>",
"type": "<string>",
"quantity": 123,
"price": 123,
"status": "<string>",
"createdAt": "2023-11-07T05:31:56Z"
}
]
Dynamic authentication JWT token
List of orders
The response is of type object[]
.