-
Notifications
You must be signed in to change notification settings - Fork 382
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
API/Resources: Add docs for the device type
resource
#2907
Conversation
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.
Comments inline
config/dictionaries/resource.json
Outdated
"summary": "Get the details of a device type by ID.", | ||
"description": "The bearer token is optional for targeting public device types, but is required for private ones.", |
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.
"summary": "Get the details of a device type by ID.", | |
"description": "The bearer token is optional for targeting public device types, but is required for private ones.", | |
"summary": "Get device type by ID", | |
"description": "You can add a bearer token to the request for target private device types", |
By ID it be better to specify exactly what ID we need for this request. Explicitly mentioning is better.
If you like the description, then please change that for all entries.
config/dictionaries/resource.json
Outdated
}, | ||
{ | ||
"id": "device-type-by-handle", | ||
"summary": "Get the details of a device type by its SLUG.", |
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.
"summary": "Get the details of a device type by its SLUG.", | |
"summary": "Get device type by slug", |
What slug is that? Where can people find it?
config/dictionaries/resource.json
Outdated
}, | ||
{ | ||
"id": "device-type-by-name", | ||
"summary": "Get the details of a device type by its NAME.", |
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.
"summary": "Get the details of a device type by its NAME.", | |
"summary": "Get device type by its NAME", |
Whose name?
config/dictionaries/resource.json
Outdated
}, | ||
{ | ||
"id": "get-supported-device-types", | ||
"summary": "Get all supported device types.", |
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.
"summary": "Get all supported device types.", | |
"summary": "Get all supported device types", |
Will the list include BalenaOS release ones?
Change-type: minor
Change-type: minor