@@ -24,7 +24,7 @@ endpoints:
24
24
name :
25
25
description : The contact's full name.
26
26
type : String
27
- limit : " 1-64 characters"
27
+ limit : 1-64 characters
28
28
email :
29
29
description : The email address for the contact.
30
30
type : String
@@ -49,7 +49,6 @@ endpoints:
49
49
"group": "Support",
50
50
}' \
51
51
https://$api_root/$version/managed/contacts
52
-
53
52
/managed/contacts/$id :
54
53
group : Contacts
55
54
type : resource
@@ -80,17 +79,99 @@ endpoints:
80
79
"group": "Developers"
81
80
}' \
82
81
https://$api_root/$version/account/oauth-clients/$client_id
83
- /managed/history :
84
- group : History
82
+ # /managed/history:
83
+ # group: History
84
+ # type: resource
85
+ # description: >
86
+ # A list of the issues created from monitoring your Services.
87
+ # methods:
88
+ # GET:
89
+ # response: ManagedHistory
90
+ # description: >
91
+ # Returns your managed service issue history list.
92
+ # examples:
93
+ # curl: |
94
+ # curl -H "Authorization: Bearer $TOKEN" \
95
+ # https://$api_root/$version/managed/history
96
+ /managed/services :
97
+ group : Services
85
98
type : resource
86
99
description : >
87
- A list of the issues created from monitoring your Services .
100
+ A list of the service monitors your account may access .
88
101
methods :
89
102
GET :
90
- response : ManagedHistory
103
+ response : ManagedService
91
104
description : >
92
- Returns your managed service issue history list.
105
+ Returns your managed services list.
93
106
examples :
94
107
curl : |
95
- curl https://$api_root/$version/managed/history
96
-
108
+ curl https://$api_root/$version/managed/services
109
+ POST :
110
+ description : >
111
+ Registers a new service to monitor.
112
+ params :
113
+ label :
114
+ description : A unique label for the service.
115
+ type : String
116
+ limit : 3-64 characters
117
+ service_type :
118
+ description : Which service type being used.
119
+ type : String
120
+ value : url
121
+ address :
122
+ description : The URL to request. If service_type is TCP, must include port number. For example, tcp://monitor.example.org:23
123
+ type : String
124
+ value : https://monitor.example.org
125
+ timeout :
126
+ description : Response must be received before this timeout or an alert will be triggered.
127
+ value : 30
128
+ limit : 1-255
129
+ body :
130
+ description : Response must contain this string or an alert will be triggered.
131
+ type : String
132
+ value : Success!
133
+ limit : 0-100 chracters
134
+ consultation_group :
135
+ description : If we need help along the way, we'll contact someone from this group.
136
+ value : Support
137
+ limit : 0-50 characters
138
+ region :
139
+ description : Required if address is a private IP, otherwise not used.
140
+ type : String
141
+ value : us-east-1a
142
+ notes :
143
+ description : We'll refer to these instructions when responding to a service-related issue.
144
+ type : String
145
+ value : If the Linode needs to be rebooted, please contact us first.
146
+ limit : 0-1000 characters
147
+ examples :
148
+ curl : |
149
+ curl -H "Content-Type: application/json" \
150
+ -H "Authorization: Bearer $TOKEN" \
151
+ -X POST -d '{
152
+ "label": "NewMonitor",
153
+ "service_type": "url",
154
+ "address": "https://monitor.example.org",
155
+ "timeout": 30,
156
+ "consultation_group": "Support",
157
+ "region": "us-east-1a",
158
+ "body": "Success!",
159
+ "notes": "Please contact us if the Linode must be rebooted",
160
+ "credentials": 12345,23456,34567
161
+ }' \
162
+ https://$api_root/$version/managed/contacts
163
+ /managed/services/$id :
164
+ group : Services
165
+ type : resource
166
+ authenticated : true
167
+ description : >
168
+ Manage a particular Managed service your account may access.
169
+ methods :
170
+ GET :
171
+ response : ManagedService
172
+ description : >
173
+ Returns information about this service.
174
+ examples :
175
+ curl : |
176
+ curl -H "Authorization: Bearer $TOKEN" \
177
+ https://$api_root/$version/managed/services/$service_id
0 commit comments