Get Folder Conntents

GET /api/v2.0/folders/content

This endpoint fetch folder contents based on the given query parameters.

Query parameters

Responses

  • Success Response

    Hide response attributes Show response attributes object
  • The client request has not been completed because it lacks valid authentication credentials for the requested resource.

  • The client does not have access rights to the content.

  • The request method is known by the server but is not supported by the target resource.

GET /api/v2.0/folders/content
curl \
 -X GET https://openapi.niftypm.com/api/v2.0/folders/content?project_id=string&folder_id=string&limit=25&offset=0 \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "hasMore": false,
  "files": [
    {
      "id": "string",
      "name": "string",
      "size": 42.0,
      "url": "string",
      "download": "string",
      "thumbnail": "string",
      "uploader": "string",
      "comments": 42.0,
      "created_at": "2023-05-04T09:42:00+00:00",
      "googleId": "string",
      "googleType": "string",
      "processed": true,
      "task": "string",
      "project_id": "string",
      "message": "string",
      "labels": [
        "string"
      ],
      "folder": "string",
      "folder_stack": [
        "string"
      ],
      "document": "string",
      "annotations_task_id": "string"
    }
  ]
}
Response examples (200)
{
  "hasMore": false,
  "files": [
    {
      "id": "string",
      "name": "string",
      "size": 42.0,
      "url": "string",
      "download": "string",
      "thumbnail": "string",
      "uploader": "string",
      "comments": 42.0,
      "created_at": "2024-05-04T09:42:00+00:00",
      "googleId": "string",
      "googleType": "string",
      "processed": true,
      "task": "string",
      "project_id": "string",
      "message": "string",
      "labels": [
        "string"
      ],
      "folder": "string",
      "folder_stack": [
        "string"
      ],
      "document": "string",
      "annotations_task_id": "string"
    }
  ]
}