Open APIs

 View Only
  • 1.  Headers in Swagger documentation

    TM Forum Member
    Posted 8 days ago

    As we can see in swagger documentation of TMF 620 Product Catalog Management, we have section for headers and 2 headers are defined X-Total-CountTotal number of items matching criteria and X-Result-Count: Actual number of items returned in the response body.

    What are these headers (X-Total-Count  and X-Result-Count), how are they used in TMF Swagger documentation.



    ------------------------------
    Naveen Baloda
    Infosys
    ------------------------------


  • 2.  RE: Headers in Swagger documentation

    TM Forum Member
    Posted 8 days ago

    Hi Naveen

    These header items relate to paging of large result sets. See the design guidelines Part 1 for more details:

    https://projects.tmforum.org/wiki/display/PUB/TMF630+REST+API+Design+Guidelines+v4.2.0

    Hope it helps



    ------------------------------
    Jonathan Goldberg
    Amdocs Management Limited
    Any opinions and statements made by me on this forum are purely personal, and do not necessarily reflect the position of the TM Forum or my employer.
    ------------------------------