This function creates a Site Quality Monitoring project. A project bundles together one or more URLs with a shared domain for monitoring.
uapi --output=jsonpretty \ --user=username \ SiteQuality \ create_project \ name=MyProject \ url='https://example.com'
{- "apiversion": 3,
- "func": "create_project",
- "module": "SiteQuality",
- "result": {
- "data": {
- "id": 1754,
- "identifier": "pro-1754",
- "location": "us",
- "name": "MyProject",
- "role": {
- "id": 0,
- "name": "Owner"
}, - "systems": [
- {
- "name": "MyProject",
- "description": null,
- "id": 2542,
- "interval": "hour",
- "limits": {
- "maximumCrawlDepth": 500
}, - "system_type": {
- "name": "Website",
- "id": 1,
- "fixedComponents": true
}
}
]
}, - "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}
}