URL : /api/v1/orders
Method : GET
Auth required : YES
Permissions required : role: customer
Condition : If everything is OK orders are returned.
Code : 200 OK
Content example
q: [
{ uid: "0x123", "Order.title": "My test order" },
]
Condition : If no authentication was provided (empty Authorization header)
Code : 401 Unauthorized
Headers : Authorization: Bearer <JWT from auth.evidencity.com>
Content : {}
Condition : Authorization has expired
Code : 401 Unauthorized
Content example
{
"name": [
"JWT is not valid - expired."
]
}