{
  "opencollection": "1.0.0",
  "info": {
    "name": "ControlUp for Desktops Scripts API",
    "version": "2.159.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Scripts",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List all scripts",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.controlup.com/edge/api/scripts",
            "params": [
              {
                "name": "query",
                "value": "",
                "type": "query",
                "description": "An OpenSearch query."
              },
              {
                "name": "size",
                "value": "",
                "type": "query",
                "description": "The number of rows returned per page."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "The page returned. The number of rows per page is set with the `size` parameter."
              },
              {
                "name": "from",
                "value": "",
                "type": "query",
                "description": "The index of the `rows` array to start returning data from. The array index starts at 0. For example, if you set `from` = 2, the first two rows are excluded."
              },
              {
                "name": "filters[0][field]",
                "value": "",
                "type": "query",
                "description": "Filters the returned data based on the specified field name. This parameter must be used in combination with `filters[0][type]` and `filters[0][value]` to define a filter condition.\nYou can add multiple filter conditions by changing the integer in the parameter names (for example, `filters[1][field]`).</br></br>\n"
              },
              {
                "name": "filters[0][type]",
                "value": "",
                "type": "query",
                "description": "The type of filter used in corresponding filter condition. The type of filter you can use depends on the data type of the field.<br><br>\n`<`, `<=`, `=`, `!=`, `<=`, or `>` are used to filter numbers and dates.<br>\n`boolean` is used to filter boolean fields.<br>\n`like` is used to filter text fields.\n"
              },
              {
                "name": "filters[0][value]",
                "value": "",
                "type": "query",
                "description": "The value used in the corresponding filter condition. The value you can use depends on the filter type.<br><br>\nIf you are filtering a date or text field, enter a string. If you are filtering a number field, enter a number. If you are filtering a boolean field, enter a boolean. If you are filtering a text field, you can use * as a wildcard, or begin the string with !! to exclude items that contain the string.\n"
              },
              {
                "name": "sorters[0][field]",
                "value": "",
                "type": "query",
                "description": "Sorts the returned data based on the specified field name. This parameter must be used in combination with `sorters[0][dir]` to set the sort order.\nYou can sort by more than one field by changing the integer in the parameter names (for example, `sorters[1][field]`). Sorters with a lower integer are applied first.</br></br>\n"
              },
              {
                "name": "sorters[0][dir]",
                "value": "",
                "type": "query",
                "description": "The sort order for the corresponding field. Set to `asc` for ascending, or `desc` for descending."
              }
            ]
          },
          "docs": "Returns a list of all scripts.\n\nYou can either:\n  * Use `query` to use an OpenSearch query. Note that you can't create an OpenSearch query using the request builder built into the documentation.\n  * Use the remaining query parameters to query scripts.\n"
        }
      ]
    }
  ],
  "bundled": true
}