com.atproto.repo.importRepo
POST/xrpc/com.atproto.repo.importRepo
This endpoint is part of the atproto PDS repository management APIs. Requests usually require authentication (unlike the com.atproto.sync.*
endpoints), and are made directly to the user's own PDS instance.
To learn more about calling atproto API endpoints like this one, see the API Hosts and Auth guide.
Import a repo in the form of a CAR file. Requires Content-Length HTTP header to be set.
Request
- application/vnd.ipld.car
Body
required
any
Responses
- 200
- 400
- 401
OK
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
error stringrequired
Possible values: [InvalidRequest
, ExpiredToken
, InvalidToken
]
message stringrequired
{
"error": "InvalidRequest",
"message": "string"
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
error required
message stringrequired
{
"message": "string"
}
Loading...