-
Notifications
You must be signed in to change notification settings - Fork 69
Managed contacts #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Added ID to contacts and services; removed dupe
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please check this against API code to make sure I have it 100% correct
src/data/endpoints/managed.yaml
Outdated
email: | ||
description: The email address for the contact. | ||
type: String | ||
phone1: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be "primary" and in a "phone" envelope
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should actaully be phone_primary
src/data/endpoints/managed.yaml
Outdated
phone1: | ||
description: A primary phone number for the contact. | ||
type: String | ||
phone2: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be "secondary" and in a "phone" envelope
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should actaully be phone_secondary
src/data/endpoints/managed.yaml
Outdated
-X POST -d '{ | ||
"name": "John Q. Public", | ||
"email": "[email protected]", | ||
"phone1": "215-555-3000", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"phone": {
"primary": "215-555-3000",
"secondary": "215-555-3001"
}
src/data/endpoints/managed.yaml
Outdated
-X PUT -d '{ | ||
"name": "John Q. Public, Jr.", | ||
"email": "[email protected]", | ||
"phone1": "215-555-4000", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as above
src/data/objects/managedcontact.yaml
Outdated
type: String | ||
description: > | ||
The email address of the contact person. | ||
phone1: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
primary
src/data/objects/managedcontact.yaml
Outdated
type: String | ||
description: > | ||
If we need further information regarding a service, we may call this contact if a phone number is provided. | ||
phone2: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
secondary
Added managed to prebuild.js Created Manged Contacts object Created endpoints for managed services Included both GET, POST, and PUT endpoints (consolidating two API-based tasks into one docs PR)
4a966c6
to
a1ba25d
Compare
src/data/endpoints/managed.yaml
Outdated
"name": "John Q. Public", | ||
"email": "[email protected]", | ||
"phone_primary": "215-555-3000", | ||
"phoen_secondary": "215-555-3001", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
doh!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you used to call me on my cell phoen
a1ba25d
to
19bcc92
Compare
Linode Hugo Base theme
Refactor a few files
This is a migrated linode/manager#2674