Sites web
GET https://seolytix.com/api/websites/
curl --request GET \
--url 'https://seolytix.com/api/websites/' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://seolytix.com/api/websites/' \
--header 'Authorization: Bearer {api_key}' \
| Paramètres | Détails | Description |
|---|---|---|
| page | Optionnel Entier | Le numéro de page à partir duquel vous souhaitez obtenir des résultats. Par défaut, 1. |
| results_per_page | Optionnel Entier | Combien de résultats souhaitez-vous par page. Les valeurs autorisées sont : 10 , 25 , 50 , 100 , 250 , 500 , 1000. Par défaut : 25. |
{
"data": [
{
"id": 1,
"user_id": 1,
"domain_id": 0,
"scheme": "https",
"host": "example.com",
"score": 100,
"total_audits": 10,
"total_archived_audits": 5,
"total_issues": 0,
"major_issues": 0,
"moderate_issues": 0,
"minor_issues": 0,
"last_audit_datetime": "2024-11-10 02:26:19",
"datetime": "2025-10-25 21:31:10",
}
],
"meta": {
"page": 1,
"results_per_page": 25,
"total": 1,
"total_pages": 1
},
"links": {
"first": "https://seolytix.com/api/websites?page=1",
"last": "https://seolytix.com/api/websites?page=1",
"next": null,
"prev": null,
"self": "https://seolytix.com/api/websites?page=1"
}
}
GET https://seolytix.com/api/websites/{website_id}
curl --request GET \
--url 'https://seolytix.com/api/websites/{website_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://seolytix.com/api/websites/{website_id}' \
--header 'Authorization: Bearer {api_key}' \
{
"data": {
"id": 1,
"user_id": 1,
"domain_id": 0,
"scheme": "https",
"host": "example.com",
"score": 100,
"total_audits": 10,
"total_archived_audits": 5,
"total_issues": 0,
"major_issues": 0,
"moderate_issues": 0,
"minor_issues": 0,
"last_audit_datetime": "2024-11-10 02:26:19",
"datetime": "2025-10-25 21:31:10",
}
}
POST https://seolytix.com/api/websites/{website_id}
| Paramètres | Détails | Description |
|---|---|---|
| domain_id | Optionnel Entier | - |
| password | Optionnel Chaîne | - |
| is_public | Optionnel Booléen | - |
| audit_check_interval | Optionnel Entier | Valeurs autorisées : {empty_string},21600, 43200, 86400, 259200, 432000, 864000, 1296000, 2592000 (secondes) |
| notifications | Optionnel Tableau | Identifiants de gestionnaire de notifications |
curl --request POST \
--url 'https://seolytix.com/api/websites/{website_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'is_public=1' \
--form 'password=example' \
--url 'https://seolytix.com/api/websites/{website_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'is_public=1' \
--form 'password=example' \
{
"data": {
"id": 1
}
}
DELETE https://seolytix.com/api/websites/{website_id}
curl --request DELETE \
--url 'https://seolytix.com/api/websites/{website_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://seolytix.com/api/websites/{website_id}' \
--header 'Authorization: Bearer {api_key}' \