Status Page Resource
Create Status Page Resource
Endpoint to create a new Status Page Resource
post/status-page-resource
Request
- Base URLhttps://oneuptime.com/api
- AuthAPI key in header APIKey
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"data": {
"projectId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"statusPageId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"displayName": "Example Text"
}
}Response
Created successfully
Example response
{
"data": {
"_id": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"createdAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"updatedAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"deletedAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"project": {
"_id": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb"
},
"projectId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"statusPage": {
"_id": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb"
},
"statusPageId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"monitor": {
"_id": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb"
},
"monitorId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"monitorGroup": {
"_id": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb"
},
"monitorGroupId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"statusPageGroup": {
"_id": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb"
},
"statusPageGroupId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"statusPageMonitorRule": {
"_id": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb"
},
"statusPageMonitorRuleId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"displayName": "Example Text",
"displayDescription": null,
"displayTooltip": "This is an example of longer text content that provides detailed information.",
"showCurrentStatus": true,
"showUptimePercent": true,
"uptimePercentPrecision": "Example Text",
"showStatusHistoryChart": true,
"createdByUser": {
"_id": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb"
},
"createdByUserId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"order": 42,
"rowAxisValue": "Example Text",
"columnAxisValue": "Example Text"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.