POST /a/search/nodes

Search indexed nodes (files/folders) on various aspects

Body Parameters

Name Description Type Required
Details Load node details boolean
From Start at given position integer
Query The query object #/definitions/treeQuery
Size Limit the number of results integer
StatFlags Generic Details Flags array

Body Example

{
  "Details": true,
  "From": 10,
  "Query": {
    "Content": "string",
    "DurationDate": "string",
    "ETag": "string",
    "Extension": "string",
    "FileName": "string",
    "FileNameOrContent": "string",
    "FreeString": "string",
    "GeoQuery": {
      "BottomRight": {
        "Lat": "[Unknown Type number]",
        "Lon": "[Unknown Type number]"
      },
      "Center": {
        "Lat": "[Unknown Type number]",
        "Lon": "[Unknown Type number]"
      },
      "Distance": "string",
      "TopLeft": {
        "Lat": "[Unknown Type number]",
        "Lon": "[Unknown Type number]"
      }
    },
    "MaxDate": "string",
    "MaxSize": "string",
    "MinDate": "string",
    "MinSize": "string",
    "Not": true,
    "PathDepth": 10,
    "PathPrefix": [
      "string"
    ],
    "Paths": [
      "string"
    ],
    "Type": "string",
    "UUIDs": [
      "string"
    ]
  },
  "Size": 10,
  "StatFlags": [
    10
  ]
}

Response Example (200)

Response Type /definitions/restSearchResults

{
  "Facets": [
    {
      "Count": 10,
      "End": 10,
      "FieldName": "string",
      "Label": "string",
      "Max": "string",
      "Min": "string",
      "Start": 10,
      "Term": "string"
    }
  ],
  "Results": [
    {
      "AppearsIn": [
        {
          "Path": "string",
          "WsLabel": "string",
          "WsScope": "string",
          "WsSlug": "string",
          "WsUuid": "string"
        }
      ],
      "Commits": [
        {
          "Data": "string",
          "Description": "string",
          "Event": {
            "Metadata": {},
            "Optimistic": true,
            "Silent": true,
            "Source": "[Recursive structure]",
            "Target": "[Recursive structure]",
            "Type": "string"
          },
          "Location": "[Recursive structure]",
          "MTime": "string",
          "OwnerUuid": "string",
          "Size": "string",
          "Uuid": "string"
        }
      ],
      "Etag": "string",
      "MTime": "string",
      "MetaStore": {},
      "Mode": 10,
      "Path": "string",
      "Size": "string",
      "Type": "string",
      "Uuid": "string"
    }
  ],
  "Total": 10
}
Auto generated by Pydio Cells Enterprise Distribution v4.3.1 on 14-Nov-2023
Back to top