web3.storage icon indicating copy to clipboard operation
web3.storage copied to clipboard

Add pagination to the /pins endpoint

Open joshJarr opened this issue 2 years ago • 3 comments

As discussed on the previous pagination ticket, it may make sense to add pagination on the pins endpoint. This will help when loading a large set of pins and keep the endpoint consistent with the GET /user/uploads endpoint.

joshJarr avatar Jun 17 '22 14:06 joshJarr

Let us know once this lands @joshJarr so we can update the frontend to use it.

JeffLowe avatar Jun 20 '22 21:06 JeffLowe

@dchoi27 Are you happy for us to add this into the psa follow up initiative as well? This would make things a lot easier for the pins table in the front end, as it will mean they use the same structure as the uploads table.

Let us know if you need more info and we'll be happy to explain further why that is the case. CC @joshJarr

mbommerez avatar Jun 22 '22 14:06 mbommerez

yup let’s do it! thanks

dchoi27 avatar Jun 22 '22 17:06 dchoi27

This should have been done as part of https://github.com/web3-storage/web3.storage/pull/1718 I believe this ticket can therefore be closed.

joshghent avatar Aug 17 '22 08:08 joshghent