Clatter LabsHelp Center

How do I look at an older version of my code?

How-toUpdated
  1. List the bucket's events filtered to code updates:
curl "$CB/v1/buckets/BUCKET_ID/events?type=code.updated" \
  -H "Authorization: Bearer $CLATTER_API_KEY" -H "X-Clatter-Account: $CLATTER_ACCOUNT_ID"
  1. Pick the version you want and copy its data.ref.
  2. Read it: GET …/tree?ref=REF or GET …/files/src/app.ts?ref=REF.

To make an old version current again, restore a backup that captured it, or upload that version's zip again.

Learn more#

Related articles

Still need help?

Tried the steps above and still stuck? Email us. We usually reply within the first hour, and always within 24 hours. A full support team is with you.

Infrastructure questions, or permanent deletion of your data
infrastructure@clatterlabs.xyz
For deleting your whole account or the data of one service.