Skip to content

List the files in a directory

To list files in a directory, the directory ID or the path of the file must be provided.

  • API CALL:
GET {base URL}/api/directories/{id}/files

—OR—

GET {base URL}/api/directories/files?path={file_path}
  • HEADER:

    • Accept: application/json

    This may be automatically added by your development tool. Postman and curl add this header to all requests.

    • Value: Bearer {bearer token}

    Include Trimble Identity v3 OAuth bearer token for your application.

Reference Materials

Data Ocean API definition