Protocol

Record Link

Reference a record within the BAQ network.

{
  "entity": "pierre.baq.run",
  "record_id": "652093513e40443ca9377e660269c3b5"
}

This object can appear both within the record envelope (e.g. app) and record content, depending on the record type.

Properties

  • entity Entity

    • Current entity representing the target record’s initial author.
  • original_entity Entity optional

    • Entity that represented the target record’s initial author at the time the referencing record version was created, if different.
  • record_id RecordId

    • Unique identifier of the record within the scope of its initial author.

A link can be to a record on any compatible server, identified by the author’s entity.

{
  "entity": "julie.freebaq.org",
  "record_id": "2758ee128ec245ffb783216fcf3ada14"
}

When a user changes entity, the entity that was active at the time of the referencing record version creation is returned as the original_entity. This allows clients and server to validate a record’s version_hash.

{
  "entity": "pierre.baq.run",
  "original_entity": "pierre.baqtest.dev",
  "record_id": "652093513e40443ca9377e660269c3b5"
}
© 2024 Quentez