Download site of the specified subdomain.
GET/api/site
Returns a zip file which was uploaded by user (last)
Request
Header Parameters
x-subdomain stringrequired
x-subdomain header represents name of subdomain to call action on
Responses
- 200
- 400
- 401
- 403
- 404
- 500
Site was successfully downloaded
- application/octet-stream
- Schema
Schema
string
The 'x-subdomain' header is missing or contains invalid characters.
- application/json
- Schema
- Example (from schema)
Schema
reason stringrequired
This field will contain error information
{
"reason": "string"
}
Unauthorized: The JWT in the header is invalid or expired.
- application/json
- Schema
- Example (from schema)
Schema
reason stringrequired
This field will contain error information
{
"reason": "string"
}
Forbidden: The subdomain is owned by another user.
- application/json
- Schema
- Example (from schema)
Schema
reason stringrequired
This field will contain error information
{
"reason": "string"
}
Not Found: The login or subdomain was not found. See details for more information.
- application/json
- Schema
- Example (from schema)
Schema
reason stringrequired
This field will contain error information
{
"reason": "string"
}
Internal Server Error: An error occurred on the server.
- application/json
- Schema
- Example (from schema)
Schema
reason stringrequired
This field will contain error information
{
"reason": "string"
}
Loading...