URL : /api/v1/products
Method : GET
Auth required : YES
Permissions required : role: customer
Condition : If everything is OK products are returned.
Code : 200 OK
Content example
q: [
{ uid: "0x123", "Product.title": "Due Diligence Check", "Product.id": "E1" },
]
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."
]
}