1. Concepts
  2. LIDs

Concepts

LIDs

Link IDs and how they work in Stubber

  • LIDs are sets of data that link via a single uuid
  • LID data is saved inside stubber
  • When you create a lid you receive a UUID
  • This UUID is used to reference the data inside the platform
  • LIDs are used when you wish to attach data to something while keeping it inside stubber

image

Uses

  • You can use a lid to store data that you wish to reference inside a URL
  • You can use a lid to store data that you wish to reference inside a webhook

Enabling

LIDs are disabled by default in most systems. In any system where LIDs are disabled by default, they can be enabled by setting the top level parameter enable_lids to true.

Examples

Create a LID and then reference it in a Stub URL

  1. Use the create_lid task to create a LID with some data.
  2. Use the stuburl helper to reference the LID in a URL.