CURIs are Compressed URIs which are easier to share and use wherever it is desirable to replace a long and verbose URI with something a little bit easier for humans to type or short message services to transmit.
The way it works: all URIs are stored in a database table which keeps a unique id number. This number is then converted to base32 encoding, which only uses uppercase letters and numbers from 2 to 7. Note that numbers 1 and 0 are not used in this encoding so it eliminates misinterpretation stemming from the common human error of mistaking letters O and I as numbers 0 and 1.
The prefix for loading images, CSS, etc. can be set by setting the Virtuoso registry key
CURIUISkinPrefixto a path relative to this path. It is currently set to skin/
GET /c/create?uri=<URI>&res=json
Returns a JSON object containing 2 elements:
{uri:"<Original URI>",c_uri:"<Compressed URI>"}Go Back