zone.stratos.repo.importRepo
Import a repository from a CAR file. Verifies record CID integrity and re-signs with the destination service key. The caller must be enrolled as the DID in the CAR's commit block.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | repo.stratos.zone |
| Indexed |
Procedure
procedure · POSTInput
application/vnd.ipld.carOutput
application/jsonNumber of records successfully imported.
Errors
InvalidCar
The CAR file is malformed, has missing blocks, or contains records with mismatched CIDs.
RepoAlreadyExists
The destination already has records for this DID. Import is only supported for empty repos.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
com.atproto.repo.importRepo
procedureImport a repo in the form of a CAR file. Requires Content-Length HTTP header to be set.
-
Export the full repository as a CAR file. Returns all record blocks, MST nodes, and the signed commit.