Skip to main content

QIDs (qualified identifiers)

QIDs (short for "qualified identifiers") uniquely identify entities within Loop. Their structure is as follows:

qid:<reserved>:<entity-type>:<identifier>

The <identifier> part is often (but not necessarily) a UUID. QIDs match the following regular expression:

^qid::[a-z_]+:[a-zA-Z0-9-_]+$

Example QIDs include:

qid::user:64d8de89-3eb2-4376-93af-656ba5dbf9f3
qid::tenant:5dcd2391-ce67-447d-9fe8-bdb6492d10f4

QIDs may include @<revision-number> at the end to uniquely identify a specific revision of an entity:

qid::tenant:5dcd2391-ce67-447d-9fe8-bdb6492d10f4@3