/services/websites/v1/projects/clone-tree-export
Auth
Returns: { project, sitebuilder: {customization, layouts, templates, pages, menus, structures}, forms: {forms}, webshop: {...}, manifest, exported_at }
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
target_project_id |
integer | Yes | 104449 |
| Header | Type | Description | Example |
|---|---|---|---|
X-RateLimit-Limit |
integer | Maximum number of requests allowed per minute | 60 |
X-RateLimit-Remaining |
integer | Number of requests remaining in the current window | 57 |
| Field | Type | Description |
|---|---|---|
project |
object | |
project.id |
integer | |
project.title |
string|null | |
project.full_domain_name |
string|null | |
project.platform_id |
integer|null | |
project.language |
string | |
project.logo_image |
string | |
project.favicon_image |
string | |
project.is_theme |
boolean | |
project.is_active |
string|null | |
project.customization |
mixed | Shaped customization (subset of project_meta, organized like `websites/get` returns it — colors/fonts/buttons/etc grouped). |
project.project_meta |
string | Raw bag (every key/value). Source of truth for round-trip. |
sitebuilder |
object | |
sitebuilder.layouts |
object[] | |
sitebuilder.templates |
object[] | |
sitebuilder.pages |
object[] | |
sitebuilder.menus |
object[] | |
sitebuilder.structures |
object[] | |
forms |
object | |
forms.forms |
object[] | |
webshop |
string[] | |
manifest |
mixed[] | |
exported_at |
string |
| Header | Type | Description | Example |
|---|---|---|---|
X-RateLimit-Limit |
integer | Maximum number of requests allowed per minute | 60 |
X-RateLimit-Remaining |
integer | Number of requests remaining in the current window | 57 |
| Field | Type | Description |
|---|---|---|
error |
boolean | |
message |
string | |
data |
mixed[] |
| Header | Type | Description | Example |
|---|---|---|---|
X-RateLimit-Limit |
integer | Maximum number of requests allowed per minute | 60 |
X-RateLimit-Remaining |
integer | Number of requests remaining in the current window | 57 |
| Field | Type | Description |
|---|---|---|
error |
boolean | |
message |
string | |
data |
mixed[] |
| Field | Type | Description |
|---|---|---|
message |
string | Errors overview. |
errors |
object | A detailed description of each field that failed validation. |
| Header | Type | Description | Example |
|---|---|---|---|
X-RateLimit-Limit |
integer | Maximum number of requests allowed per minute | 60 |
X-RateLimit-Remaining |
integer | Number of requests remaining in the current window | 57 |
| Field | Type | Description |
|---|---|---|
error |
boolean | |
message |
string |
| Header | Type | Description | Example |
|---|---|---|---|
X-RateLimit-Limit |
integer | Maximum number of requests allowed per minute | 60 |
X-RateLimit-Remaining |
integer | Number of requests remaining in the current window | 57 |
Retry-After |
integer | Seconds until the rate limit resets | 60 |
| Field | Type | Description |
|---|---|---|
error |
boolean | |
message |
string |
curl -X POST "https://api.wemasy.nl/api/services/websites/v1/projects/clone-tree-export" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{
"target_project_id": 104449
}'
fetch('https://api.wemasy.nl/api/services/websites/v1/projects/clone-tree-export', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
'Content-Type': 'application/json'
},
body: JSON.stringify({
"target_project_id": 104449
})})
.then(r => r.json())
.then(data => console.log(data));
$response = Http::withToken('YOUR_API_TOKEN')
->accept('application/json')
->post('https://api.wemasy.nl/api/services/websites/v1/projects/clone-tree-export', {
"target_project_id": 104449
});
$data = $response->json();
import requests
headers = {
"Authorization": "Bearer YOUR_API_TOKEN",
"Accept": "application/json"
}
data = {
"target_project_id": 104449
}
r = requests.post("https://api.wemasy.nl/api/services/websites/v1/projects/clone-tree-export", headers=headers, json=data)
print(r.json())
{
"project": {
"id": 0,
"title": "string",
"full_domain_name": "string",
"platform_id": 0,
"language": "string",
"logo_image": "string",
"favicon_image": "string",
"is_theme": true,
"is_active": "string",
"customization": "string",
"project_meta": "string"
},
"sitebuilder": {
"layouts": [],
"templates": [],
"pages": [],
"menus": [],
"structures": []
},
"forms": {
"forms": []
},
"webshop": [],
"manifest": [],
"exported_at": "string"
}