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