12 votes Designing APIs for humans: Object IDs Posted October 26, 2022 by Adys Tags: stripe, identity, enumeration, databases, database design, software architecture, api https://dev.to/stripe/designing-apis-for-humans-object-ids-3o5a Link information This data is scraped automatically and may be incorrect. Published Aug 30 2022 Word count 1446 words 2 comments Collapse replies Expand all Comments sorted by most votes newest first order posted relevance OK [2] skybrian October 26, 2022 Link Makes sense. Maybe include a checksum and avoid easily confused characters (0 versus o and l versus 1) as well? Makes sense. Maybe include a checksum and avoid easily confused characters (0 versus o and l versus 1) as well? 1 vote asymptotically October 28, 2022 (edited October 28, 2022) Link Parent Maybe this would be a good use-case for bech32! It has: A "human readable part", similar to the prefix in the Stripe article A character set that excludes visually similar characters An error... Maybe this would be a good use-case for bech32! It has: A "human readable part", similar to the prefix in the Stripe article A character set that excludes visually similar characters An error correcting code, so that small errors can be corrected, and larger errors can be detected ninja edit: My first comment nearly three years ago was also about Bech32 encoding! I promise that I'm not obsessed... 3 votes
[2] skybrian October 26, 2022 Link Makes sense. Maybe include a checksum and avoid easily confused characters (0 versus o and l versus 1) as well? Makes sense. Maybe include a checksum and avoid easily confused characters (0 versus o and l versus 1) as well? 1 vote asymptotically October 28, 2022 (edited October 28, 2022) Link Parent Maybe this would be a good use-case for bech32! It has: A "human readable part", similar to the prefix in the Stripe article A character set that excludes visually similar characters An error... Maybe this would be a good use-case for bech32! It has: A "human readable part", similar to the prefix in the Stripe article A character set that excludes visually similar characters An error correcting code, so that small errors can be corrected, and larger errors can be detected ninja edit: My first comment nearly three years ago was also about Bech32 encoding! I promise that I'm not obsessed... 3 votes
asymptotically October 28, 2022 (edited October 28, 2022) Link Parent Maybe this would be a good use-case for bech32! It has: A "human readable part", similar to the prefix in the Stripe article A character set that excludes visually similar characters An error... Maybe this would be a good use-case for bech32! It has: A "human readable part", similar to the prefix in the Stripe article A character set that excludes visually similar characters An error correcting code, so that small errors can be corrected, and larger errors can be detected ninja edit: My first comment nearly three years ago was also about Bech32 encoding! I promise that I'm not obsessed... 3 votes
Makes sense. Maybe include a checksum and avoid easily confused characters (0 versus o and l versus 1) as well?
Maybe this would be a good use-case for bech32!
It has:
ninja edit: My first comment nearly three years ago was also about Bech32 encoding! I promise that I'm not obsessed...