Building an app

Testing with sample data

Samples are real records on the open network. Write them from a test account, check them, and delete them when you are done.

  1. Use a test account, never the person’s own: a second techne.town account (another email), with the agent connected again signed in as it. Public samples are on the open network for anyone to read.
  2. Write samples the normal way: the records the app writes, with com.atproto.repo.applyWrites or the app’s SDK put. Say in the text that they are samples, and keep the URIs.
  3. Check them: pub.techne.draft.query.getRecords {uris, curation: true}.
  4. Delete them when done: #delete each with applyWrites; the platform drops what it indexed.