Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Children Display
sorttitle

Pagination

...

query string parameters

To allow paging of responses that might return large amounts of data (typically "list" requests), requests will accept paging parameters as shown below

NameTypeDefaultDescription
fromlong0

The offset in to the results list from which results should be returned

sizelong25/unlimited

The (maximum) number of items to be returned in the results list

Note: The results list is only limited if the size parameter is set (even to 0). If size is not set, Aspire will assume you are trying to retrieve all items (. TODO: the defaults not implemented yet)

Where paging parameters are applied, Aspire will add a "count" to the returned object to inform the total number of objects that exists (the fields being from, size, totalItems) TODO: not implemented

...