v1

latestOpenAPI 3.0.02026-08-064311,0881.3 MB
slosLibraryManagement

Search for a slo or folder.

Search for a slo or folder in the slos library structure.

get/v1/slos/search

Query parameters

querystring required

The search query to find slo or folder. Below is the list of different filters with examples:

  • createdBy : Filter by the user's identifier who created the content. Example: createdBy:000000000000968B.
  • createdBefore : Filter by the content objects created before the given timestamp(in milliseconds). Example: createdBefore:1457997222.
  • createdAfter : Filter by the content objects created after the given timestamp(in milliseconds). Example: createdAfter:1457997111.
  • modifiedBefore : Filter by the content objects modified before the given timestamp(in milliseconds). Example: modifiedBefore:1457997222.
  • modifiedAfter : Filter by the content objects modified after the given timestamp(in milliseconds). Example: modifiedAfter:1457997111.
  • type : Filter by the type of the content object. Example: type:folder.

You can also use multiple filters in one query. For example to search for all content objects created by user with identifier 000000000000968B with creation timestamp after 1457997222 containing the text Test, the query would look like:

createdBy:000000000000968B createdAfter:1457997222 Test

limitinteger

Maximum number of items you want in the response.

offsetinteger

The position or row from where to start the search operation.

skipChildrenboolean

a boolean parameter to control skipping fetching children of requested folder(s)

Response

List of folders and slos matching the search query.

pathstring required

Path of the slo or folder.

Example response

[
  {
    "item": {
      "permissions": [
        "Read",
        "Delete"
      ]
    },
    "path": "/Slos/SampleFolder/TestSlo"
  }
]