curl --request GET \
--url https://cloud.memsource.com/web/api2/v1/connectors/{connectorId}/folders
{
"files": [
{
"id": "<string>",
"name": "<string>",
"encodedName": "<string>",
"contentType": "<string>",
"note": "<string>",
"size": 123,
"directory": true,
"lastModified": "2023-11-07T05:31:56Z",
"dueDate": "2023-11-07T05:31:56Z",
"selected": true,
"error": {
"code": "<string>",
"message": "<string>"
}
}
],
"currentFolder": "<string>",
"encodedCurrentFolder": "<string>",
"rootFolder": true,
"lastChangedFiles": [
{
"id": "<string>",
"name": "<string>",
"encodedName": "<string>",
"contentType": "<string>",
"note": "<string>",
"size": 123,
"directory": true,
"lastModified": "2023-11-07T05:31:56Z",
"dueDate": "2023-11-07T05:31:56Z",
"selected": true,
"error": {
"code": "<string>",
"message": "<string>"
}
}
]
}
List files in a root folder of the selected connector
curl --request GET \
--url https://cloud.memsource.com/web/api2/v1/connectors/{connectorId}/folders
{
"files": [
{
"id": "<string>",
"name": "<string>",
"encodedName": "<string>",
"contentType": "<string>",
"note": "<string>",
"size": 123,
"directory": true,
"lastModified": "2023-11-07T05:31:56Z",
"dueDate": "2023-11-07T05:31:56Z",
"selected": true,
"error": {
"code": "<string>",
"message": "<string>"
}
}
],
"currentFolder": "<string>",
"encodedCurrentFolder": "<string>",
"rootFolder": true,
"lastChangedFiles": [
{
"id": "<string>",
"name": "<string>",
"encodedName": "<string>",
"contentType": "<string>",
"note": "<string>",
"size": 123,
"directory": true,
"lastModified": "2023-11-07T05:31:56Z",
"dueDate": "2023-11-07T05:31:56Z",
"selected": true,
"error": {
"code": "<string>",
"message": "<string>"
}
}
]
}
successful operation
The response is of type object
.
Was this page helpful?