Skip to content
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

Merged
merged 1 commit into from
Feb 19, 2024
Merged

Conversation

thgreasi
Copy link
Member

Change-type: minor


Please make sure to read the CONTRIBUTING document before opening the PR for relevant information on contributing to the documentation. Thanks!

Copy link
Member

@vipulgupta2048 vipulgupta2048 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comments inline

Comment on lines 455 to 456
"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.",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"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.

},
{
"id": "device-type-by-handle",
"summary": "Get the details of a device type by its SLUG.",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"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?

},
{
"id": "device-type-by-name",
"summary": "Get the details of a device type by its NAME.",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"summary": "Get the details of a device type by its NAME.",
"summary": "Get device type by its NAME",

Whose name?

},
{
"id": "get-supported-device-types",
"summary": "Get all supported device types.",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"summary": "Get all supported device types.",
"summary": "Get all supported device types",

Will the list include BalenaOS release ones?

@flowzone-app flowzone-app bot merged commit d23eff8 into master Feb 19, 2024
47 checks passed
@flowzone-app flowzone-app bot deleted the dts branch February 19, 2024 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants