@@ -28,11 +28,11 @@ endpoints:
2828 email :
2929 description : The email address for the contact.
3030 type : String
31- phone1 :
31+ phone_primary :
3232 description : A primary phone number for the contact.
3333 type : String
34- phone2 :
35- description : A primary phone number for the contact.
34+ phone_secondary :
35+ description : A secondary phone number for the contact.
3636 type : String
3737 group :
3838 description : Contacts can be associated with a monitored service by the group they belong to.
@@ -44,8 +44,8 @@ endpoints:
4444 -X POST -d '{
4545 "name": "John Q. Public",
464647- "phone1 ": "215-555-3000",
48- "phone2 ": "215-555-3001",
47+ "phone_primary ": "215-555-3000",
48+ "phone_secondary ": "215-555-3001",
4949 "group": "Support",
5050 }' \
5151 https://$api_root/$version/managed/contacts
@@ -75,9 +75,9 @@ endpoints:
7575 -X PUT -d '{
7676 "name": "John Q. Public, Jr.",
777778- "phone1": "215-555-4000",
79- "phone2": "215-555-4001",
78+ "phone": {
79+ "primary": "215-555-4000",
80+ "secondary": "215-555-4001",
8081 "group": "Developers"
8182 }' \
8283 https://$api_root/$version/account/oauth-clients/$client_id
83-
0 commit comments