Skip to main content
GET
/
api2
/
v1
/
automatedProjects
/
{settingsId}
/
monitoredFolder
/
{encodedMonitoredFolder}
/
connectors
/
{connectorId}
/
folders
/
{encodedFolder}
Returns files from monitored folder
curl --request GET \
  --url https://cloud.memsource.com/web/api2/v1/automatedProjects/{settingsId}/monitoredFolder/{encodedMonitoredFolder}/connectors/{connectorId}/folders/{encodedFolder} \
  --header 'Authorization: <api-key>'
{
  "currentFolder": "<string>",
  "encodedCurrentFolder": "<string>",
  "files": [
    {
      "directory": true,
      "encodedName": "<string>",
      "lastImportFailed": true,
      "lastModified": "2023-11-07T05:31:56Z",
      "lastSuccessfulImport": "2023-11-07T05:31:56Z",
      "name": "<string>",
      "size": 123,
      "uniqueIdentifier": "<string>"
    }
  ],
  "rootFolder": true
}

Authorizations

Authorization
string
header
required

Get a token from auth/login endpoint and then pass it in the Authorization HTTP header in every subsequent API call. For more information visit our help center.

Path Parameters

settingsId
string
required
encodedMonitoredFolder
string
required
connectorId
string
required
encodedFolder
string
required

Response

OK

currentFolder
string
encodedCurrentFolder
string
files
object[]
rootFolder
boolean