curl --request GET \
--url http://localhost:8080/v1/documents \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "<string>",
"merchant_id": "<string>",
"category": "incorporation",
"status": "uploaded",
"file_name": "<string>",
"content_type": "<string>",
"file_size": 123,
"entity_type": "<string>",
"entity_id": "<string>",
"uploaded_by": "<string>",
"description": "<string>",
"reviewed_by": "<string>",
"reviewed_at": "2023-11-07T05:31:56Z",
"rejection_reason": "<string>",
"expires_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z"
}
]
}curl --request GET \
--url http://localhost:8080/v1/documents \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "<string>",
"merchant_id": "<string>",
"category": "incorporation",
"status": "uploaded",
"file_name": "<string>",
"content_type": "<string>",
"file_size": 123,
"entity_type": "<string>",
"entity_id": "<string>",
"uploaded_by": "<string>",
"description": "<string>",
"reviewed_by": "<string>",
"reviewed_at": "2023-11-07T05:31:56Z",
"rejection_reason": "<string>",
"expires_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z"
}
]
}