Filtering

Every request to the API supports a certain number of parameters sent in the URL.

For example, the api/2.0/people request can be appended with several parameters:

api/2.0/people?startIndex=10&count=25

Request parameters

ParameterDescription
countNumber of the elements returned.
startIndexNumber of the elements to be skipped in the beginning. Used for response data pagination.
sortBySorts results by the field name.
sortOrderSorting direction ("descending" or "ascending"). It must be used together with the sortBy parameter: api/2.0/people?sortBy=userName&sortOrder=descending
filterByFilters results by the field name.
filterOpFiltering operation: "contains", "equals", "startsWith", "present".
filterValueFilter value. It must be used together with the filterBy and filterOp parameters: api/2.0/people?filterBy=userName&filterOp=startsWith&filterValue=Alex
updatedSinceReturns the values updated or created since a certain period of time.

Get Help

  • If you have any questions about ONLYOFFICE DocSpace, try the FAQ section first.
  • You can request a feature or report a bug by posting an issue on GitHub.
  • You can also ask our developers on ONLYOFFICE forum (registration required).