WIP: implement /hit API endpoint
Cache get_namespace_id responses in memory
JSDoc-based per-function documentation
/hit API implementation
For this, it'd probably be worth adding WHERE update_upperbound > 0
to the SQL query that updates the database, just in case there's a regression one day that breaks the primary server-side…
Keys should expire after 6 months, if we're following countapi's set up.
Added the Compat/Breaking
label since this will require database changes to implement.
Keys should expire after 6 months, if we're following countapi's set up.
Should keys default to never expiring for development instances?
Allow disabling web-based key and namespace creation at a per-instance level
Keys should expire after 6 months, if we're following countapi's set up.
Would it be worth making this be able to be configured by instance admins?
/hit API implementation
This should additionally fail if
update_lowerbound
is higher than1
. (Since it increments by one)
Would that be -1
? (update_lowerbound
[cannot be set to a value greater than…
5ad2784c54
Merge pull request 'Add /get endpoint' (#4) from get-endpoint into main
2304393052
Return numbers, not strings
b622759083
Implement /get endpoints
2b0c8208f6
Merge branch 'main' into get-endpoint
0e440db38c
Add utility function for getting value of key