News for hackers. Stuff that matters.
Re:Show HN: Pantry – Free JSON Storage for Personal Projects by mikequinlan on Friday May 01, 2020 @04:29AM (#23040155)
What are the rate and size limits for the API? Also what is the data retention (how long before you delete the buckets)?
Re:Show HN: Pantry – Free JSON Storage for Personal Projects by fiveSpeedManual on Friday May 01, 2020 @09:09AM (#23041616)
Great question!

Size limits are pretty small, a little over 1mb per basket.

As for data retention, the account has a TTL of 5 days, baskets 3. Any activity on the account/bucket will result in the TTL's being refreshed.

Re:Show HN: Pantry – Free JSON Storage for Personal Projects by mikequinlan on Friday May 01, 2020 @10:42AM (#23042439)
Some API requests get a JSON response (Retrieve Account, Get Basket). Others get a plain text response (Create Account, Create Basket). Errors seem to get an HTTP response with an HTML page. Is this documented anywhere?
Re:Show HN: Pantry – Free JSON Storage for Personal Projects by fiveSpeedManual on Friday May 01, 2020 @12:10PM (#23043532)
Ouch that is confusing. And no, I haven't added these details to documentation yet. This is a bit of an issue at the moment, having everything return in one format is the right thing to do.

Will be addressing this in the near future - thanks!

Re:Show HN: Pantry – Free JSON Storage for Personal Projects by mikequinlan on Friday May 01, 2020 @12:38PM (#23043856)
The Retrieve Account API seems to always return an empty baskets array, even if baskets with data exit. fyi,
Re:Show HN: Pantry – Free JSON Storage for Personal Projects by fiveSpeedManual on Saturday May 02, 2020 @09:40AM (#23051718)
Oh yeah, this definitely needs to be addressed and is currently an active issue on GitHub. Thanks for reporting!