Maintenance Announcements
Operations Summary
Core CRUD
List Maintenance Announcements
Retrieve
Create
| http \
POST \
https://api.example.com/api/maintenance-announcements/ \
Authorization:"Token YOUR_API_TOKEN" \
name="my-awesome-maintenance-announcement" \
scheduled_start="2025-10-01T00:00:00Z" \
scheduled_end="2025-10-01T00:00:00Z" \
service_provider="https://api.example.com/api/service-provider/a1b2c3d4-e5f6-7890-abcd-ef1234567890/"
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 | from waldur_api_client.client import AuthenticatedClient
from waldur_api_client.models.maintenance_announcement_request import MaintenanceAnnouncementRequest # (1)
from waldur_api_client.api.maintenance_announcements import maintenance_announcements_create # (2)
client = AuthenticatedClient(
base_url="https://api.example.com", token="YOUR_API_TOKEN"
)
body_data = MaintenanceAnnouncementRequest(
name="my-awesome-maintenance-announcement",
scheduled_start="2025-10-01T00:00:00Z",
scheduled_end="2025-10-01T00:00:00Z",
service_provider="https://api.example.com/api/service-provider/a1b2c3d4-e5f6-7890-abcd-ef1234567890/"
)
response = maintenance_announcements_create.sync(
client=client,
body=body_data
)
print(response)
|
- Model Source:
MaintenanceAnnouncementRequest
- API Source:
maintenance_announcements_create
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 | import { maintenanceAnnouncementsCreate } from 'waldur-js-client';
try {
const response = await maintenanceAnnouncementsCreate({
auth: "Token YOUR_API_TOKEN",
body: {
"name": "my-awesome-maintenance-announcement",
"scheduled_start": "2025-10-01T00:00:00Z",
"scheduled_end": "2025-10-01T00:00:00Z",
"service_provider": "https://api.example.com/api/service-provider/a1b2c3d4-e5f6-7890-abcd-ef1234567890/"
}
});
console.log('Success:', response);
} catch (error) {
console.error('Error:', error);
}
|
| Field |
Type |
Required |
Description |
name |
string |
✓ |
|
message |
string |
|
|
maintenance_type |
any |
|
Type of maintenance being performed |
external_reference_url |
string (uri) |
|
Optional reference to an external maintenance tracker |
scheduled_start |
string (date-time) |
✓ |
When the maintenance is scheduled to begin |
scheduled_end |
string (date-time) |
✓ |
When the maintenance is scheduled to complete |
service_provider |
string (uri) |
✓ |
Service provider announcing the maintenance |
201 -
| Field |
Type |
Description |
url |
string (uri) |
|
uuid |
string (uuid) |
|
name |
string |
|
message |
string |
|
maintenance_type |
any |
Type of maintenance being performed |
external_reference_url |
string (uri) |
Optional reference to an external maintenance tracker |
state |
any |
|
scheduled_start |
string (date-time) |
When the maintenance is scheduled to begin |
scheduled_end |
string (date-time) |
When the maintenance is scheduled to complete |
actual_start |
string (date-time) |
When the maintenance actually began |
actual_end |
string (date-time) |
When the maintenance actually completed |
service_provider |
string (uri) |
Service provider announcing the maintenance |
created_by |
string (uri) |
|
affected_offerings |
array of objects |
|
affected_offerings.url |
string (uri) |
|
affected_offerings.uuid |
string (uuid) |
|
affected_offerings.maintenance |
string (uri) |
|
affected_offerings.offering |
string (uri) |
|
affected_offerings.impact_level |
any |
Expected impact on this offering |
affected_offerings.impact_level_display |
any |
|
affected_offerings.impact_description |
string |
Specific description of how this offering will be affected |
affected_offerings.offering_name |
string |
|
service_provider_name |
string |
|
backend_id |
string |
|
Update
| http \
PUT \
https://api.example.com/api/maintenance-announcements/a1b2c3d4-e5f6-7890-abcd-ef1234567890/ \
Authorization:"Token YOUR_API_TOKEN" \
name="my-awesome-maintenance-announcement" \
scheduled_start="2025-10-01T00:00:00Z" \
scheduled_end="2025-10-01T00:00:00Z" \
service_provider="https://api.example.com/api/service-provider/a1b2c3d4-e5f6-7890-abcd-ef1234567890/"
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 | from waldur_api_client.client import AuthenticatedClient
from waldur_api_client.models.maintenance_announcement_request import MaintenanceAnnouncementRequest # (1)
from waldur_api_client.api.maintenance_announcements import maintenance_announcements_update # (2)
client = AuthenticatedClient(
base_url="https://api.example.com", token="YOUR_API_TOKEN"
)
body_data = MaintenanceAnnouncementRequest(
name="my-awesome-maintenance-announcement",
scheduled_start="2025-10-01T00:00:00Z",
scheduled_end="2025-10-01T00:00:00Z",
service_provider="https://api.example.com/api/service-provider/a1b2c3d4-e5f6-7890-abcd-ef1234567890/"
)
response = maintenance_announcements_update.sync(
uuid="a1b2c3d4-e5f6-7890-abcd-ef1234567890",
client=client,
body=body_data
)
print(response)
|
- Model Source:
MaintenanceAnnouncementRequest
- API Source:
maintenance_announcements_update
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 | import { maintenanceAnnouncementsUpdate } from 'waldur-js-client';
try {
const response = await maintenanceAnnouncementsUpdate({
auth: "Token YOUR_API_TOKEN",
path: {
"uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
},
body: {
"name": "my-awesome-maintenance-announcement",
"scheduled_start": "2025-10-01T00:00:00Z",
"scheduled_end": "2025-10-01T00:00:00Z",
"service_provider": "https://api.example.com/api/service-provider/a1b2c3d4-e5f6-7890-abcd-ef1234567890/"
}
});
console.log('Success:', response);
} catch (error) {
console.error('Error:', error);
}
|
| Name |
Type |
Required |
uuid |
string (uuid) |
✓ |
| Field |
Type |
Required |
Description |
name |
string |
✓ |
|
message |
string |
|
|
maintenance_type |
any |
|
Type of maintenance being performed |
external_reference_url |
string (uri) |
|
Optional reference to an external maintenance tracker |
scheduled_start |
string (date-time) |
✓ |
When the maintenance is scheduled to begin |
scheduled_end |
string (date-time) |
✓ |
When the maintenance is scheduled to complete |
service_provider |
string (uri) |
✓ |
Service provider announcing the maintenance |
200 -
| Field |
Type |
Description |
url |
string (uri) |
|
uuid |
string (uuid) |
|
name |
string |
|
message |
string |
|
maintenance_type |
any |
Type of maintenance being performed |
external_reference_url |
string (uri) |
Optional reference to an external maintenance tracker |
state |
any |
|
scheduled_start |
string (date-time) |
When the maintenance is scheduled to begin |
scheduled_end |
string (date-time) |
When the maintenance is scheduled to complete |
actual_start |
string (date-time) |
When the maintenance actually began |
actual_end |
string (date-time) |
When the maintenance actually completed |
service_provider |
string (uri) |
Service provider announcing the maintenance |
created_by |
string (uri) |
|
affected_offerings |
array of objects |
|
affected_offerings.url |
string (uri) |
|
affected_offerings.uuid |
string (uuid) |
|
affected_offerings.maintenance |
string (uri) |
|
affected_offerings.offering |
string (uri) |
|
affected_offerings.impact_level |
any |
Expected impact on this offering |
affected_offerings.impact_level_display |
any |
|
affected_offerings.impact_description |
string |
Specific description of how this offering will be affected |
affected_offerings.offering_name |
string |
|
service_provider_name |
string |
|
backend_id |
string |
|
Partial Update
Delete
Other Actions
Cancel the maintenance announcement
Cancel the maintenance announcement
Complete the maintenance announcement
Complete the maintenance announcement
Schedule/publish the maintenance announcement
Schedule/publish the maintenance announcement
Start the maintenance announcement
Start the maintenance announcement
Unschedule/unpublish the maintenance announcement
Unschedule/unpublish the maintenance announcement