Home
%3CLINGO-SUB%20id%3D%22lingo-sub-763023%22%20slang%3D%22en-US%22%3ERe%3A%20Azure%20API%20Managment%20%3A%20Paging%20in%20APIM%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-763023%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F377492%22%20target%3D%22_blank%22%3E%40Rakesh_Mohan%3C%2FA%3E%26nbsp%3B%20Thanks%20for%20sharing%20this%20blog%20and%20providing%20an%20out%20of%20box%20solution.%20It%20is%20really%20helpful%20to%20enhance%20the%20Product.%20Looking%20forward%20for%20more%20blogs%20from%20you.%3C%2FP%3E%0A%3CHR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-768919%22%20slang%3D%22en-US%22%3ERe%3A%20Azure%20API%20Managment%20%3A%20Paging%20in%20APIM%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-768919%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F377492%22%20target%3D%22_blank%22%3E%40Rakesh_Mohan%3C%2FA%3E%26nbsp%3B%20Thanks%20for%20providing%20the%20pagination%20solution.%20Is%20there%20any%20way%20to%20implement%20the%20keyset%20Pagination%20using%20continuation%20token.%20Due%20to%20large%20number%20of%20records%20and%20frequent%20record%20addition%20on%20top%2C%20I%20want%20to%20avoid%20offset%20pagination.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-770948%22%20slang%3D%22en-US%22%3ERe%3A%20Azure%20API%20Managment%20%3A%20Paging%20in%20APIM%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-770948%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Azure9%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThank%20you%20for%20your%20comment.%20I%20am%20not%20sure%20what%20you%20mean%20by%20keyset%20pagination.%20if%20you%20could%20explain%20further%20it%20would%20help%20me%20put%20something%20together.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-758786%22%20slang%3D%22en-US%22%3EAzure%20API%20Managment%20%3A%20Paging%20in%20APIM%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-758786%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSTRONG%3EUse%20case%3A%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EImplementing%20paging%20using%20Azure%20APIM%20policies.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EWork%20Around%3A%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3ECurrently%20there%20is%20no%20out%20of%20the%20box%20functionality%20available%20to%20achieve%20this%20as%20of%20now%20in%20APIM%20but%20below%20policy%20can%20help.%3CBR%20%2F%3E%3CBR%20%2F%3ENote%3A%20This%20is%20not%20meant%20for%20production%20as%20it%20is%2C%20please%20test%20thoroughly%20before%20using%20in%20prod%20environment.%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F123537iD13A32D720550DCA%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22image.png%22%20title%3D%22image.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F123538i4F7BEC417960E108%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22image.png%22%20title%3D%22image.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F123540iBB2E17655425A17D%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22image.png%22%20title%3D%22image.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-758786%22%20slang%3D%22en-US%22%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F123537iD13A32D720550DCA%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22image.png%22%20title%3D%22image.png%22%20%2F%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F123538i4F7BEC417960E108%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22image.png%22%20title%3D%22image.png%22%20%2F%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20892px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F123539i5793ABCB96A24E24%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22image.png%22%20title%3D%22image.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-758786%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%20API%20Management%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Microsoft

Use case:

Implementing paging using Azure APIM policies.

 

Work Around:

Currently there is no out of the box functionality available to achieve this as of now in APIM but below policy can help.

Note: This is not meant for production as it is, please test thoroughly before using in prod environment.

image.png

image.png

image.png

 

3 Comments
Microsoft

@Rakesh_Mohan  Thanks for sharing this blog and providing an out of box solution. It is really helpful to enhance the Product. Looking forward for more blogs from you.


Occasional Visitor

@Rakesh_Mohan  Thanks for providing the pagination solution. Is there any way to implement the keyset Pagination using continuation token. Due to large number of records and frequent record addition on top, I want to avoid offset pagination. 

Microsoft

Hi Azure9,

 

Thank you for your comment. I am not sure what you mean by keyset pagination. if you could explain further it would help me put something together.