Skip to content

Add pagination support to TR‑547 reference implementation agreement. #651

@arthurMll

Description

@arthurMll

Many practical TAPI deployments must handle large JSON responses out of queriying root contexts. Without pagination support, clients risk overwhelming memory or network resources when consuming full datasets. To address this, I think we should discuss how to add pagination requirements to the TR‑547 reference implementation agreement.

Proposal

  • Adopt the YANG pagination model from “List Pagination for YANG‑driven Protocols” (draft‑ietf‑netconf‑list‑pagination) and its RESTCONF mapping in draft‑ietf‑netconf‑list‑pagination‑rc‑08
  • Update TR‑547 APIs by introducing parameters:
    • limit
    • offset or cursor (to support stateless or stateful paging)
    • sort-by
    • where, direction
  • Support consistent paging when dealing with operational datasets:
    • Optionally include snapshot (cursor) support for immutable pagination views .
  • Ensure compliance:
    • Register any new RESTCONF capabilities and media types, e.g., application/yang-data+xml-list.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions