Skip to content

Support __next field in response for partial listing #198

@phanak-sap

Description

@phanak-sap

In response payloads, representing Collections of Entries, if the server does not include an object for every Entry in the Collection of
Entries identified by the request URI then the response represents a partial listings of the Collection. In this case, "__next" name/value
pair is included to indicate the response represents a partial listing. The value of the name/value pair is a URI which identifies
the next partial set of entities from the originally identified complete set.

  • Experimental API (intentionally not part of Changelog and Documentation) - PR service: Support for server-side pagination (partial listings) #188
  • Example: employees = northwind.entity_sets.Employees.get_entities().next_url(employees.next_url).execute()
  • Document as official API or rewrite. Check comments from PR#188 for details
  • Confirm stable status (changelog, doc update) or find more "pythonic" way for subsequent pagination requests

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions