mardi 18 août 2020

Why use acronyms at the beginning of a resource ID?

Why are some financial APIs using acronyms at the beginning of a resource ID? Is there a specific reason? Avoid coalition of ID's?

And, is it possible to have a coalition of V4 UUIDs in short mode? How to avoid?

PS1: Example of IDs with acronyms at the beginning: card_1HHTFf2eZvKYlo2Cfk8wcBwa, tok_1HHTFg2eZvKYlo2CJyMFQfnf in Stripe API and acc_1234567890cc in Yapily API.

PS2: I use the NPM short-uuid package so that the V4 UUIDs are in short mode.

Aucun commentaire:

Enregistrer un commentaire