docs: replace curl examples with Scaleway CLI commands#5844
Closed
docs: replace curl examples with Scaleway CLI commands#5844
Conversation
| @@ -95,8 +91,6 @@ Run the following command to obtain your consumption for a specific Project only | |||
| Then inject it in your API request: | |||
Contributor
There was a problem hiding this comment.
Suggested change
| Then inject it in your API request: | |
| Then inject it in your Scaleway CLI request: |
| @@ -8,7 +8,7 @@ tags: iot iot-hub io-hub-api api curl mqtt jq json | |||
| import Requirements from '@macros/iam/requirements.mdx' | |||
Contributor
There was a problem hiding this comment.
Github won't let me comment the lines 2 to 6: update mentions of API/curl to CLI
| In this tutorial we will use the API through the well known utility [curl](https://curl.haxx.se/). This will show you how to create Hubs and Devices, as well as more advanced features of the Scaleway IoT Hub: Hub Events and Routes. | ||
| In this tutorial we will use the Scaleway CLI. This will show you how to create Hubs and Devices, as well as more advanced features of the Scaleway IoT Hub: Hub Events and Routes. | ||
|
|
||
| The API reference is here: [IoT API](https://www.scaleway.com/en/developers/api/iot-hub/) |
| @@ -52,13 +52,9 @@ An output similar to the following should display: | |||
|
|
|||
| Paste the following command to create your data encryption key via the Key Manager API. Make sure that you replace the placeholder values with your own. | |||
Contributor
There was a problem hiding this comment.
Suggested change
| Paste the following command to create your data encryption key via the Key Manager API. Make sure that you replace the placeholder values with your own. | |
| Paste the following command to create your data encryption key via the Scaleway CLI. Make sure that you replace the placeholder values with your own. |
Contributor
There was a problem hiding this comment.
Not commenting other occurrences in order not to spam to much, but there seems to be a few similar API mentions left that should be replaced with the CLI
Collaborator
|
For each page where you change cURL commands to CLI commands, please update the following elements if required:
Thank you |
Collaborator
|
Closing this PR for now, we must better plan update first. will reopen when needed. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Your checklist for this pull request
Description
Please describe what you added or changed.