Read folder contents

GET /v2/files/readdir
experimental

Description

Use this API method to check all the files within a folder. It will return the filename, mimetype, content type and file size. It will also return any folders that exist.

CORS

Origin
maxAge
86400
headers
  • Accept
  • Authorization
  • Content-Type
  • If-None-Match
additionalHeaders
  • Content-Length
  • User-Agent
exposedHeaders
  • *
Credentials
false
Override
  • Request Parameters

    Query Parameters

    Response Parameters

    •  
      {
      • Presence of this field means there is next page of results. Resend request with *continuation* query parameter to get next page.

      • required
        Max
        100
        [
        • Any of:
          • {
            • filename
              string required
            • mtime
              date required
            • contentType
              string
            • size
              number
            • isDirectory
              boolean
            }
        ]
      }

Looking for file management?

The S3 API let's you upload / download / query / delete / modify / move files.

S3 API documentation

Need Help?