Skip to content

Fixed shell examples #875

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

Merged
merged 3 commits into from
Oct 16, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 12 additions & 11 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2787,7 +2787,7 @@ paths:
curl -H "Content-Type: application/json" \
-H "Authorization: Bearer $TOKEN" \
-X PUT -d '{
"network_helper": true,
"network_helper": true
}' \
https://api.linode.com/v4/account/settings
- lang: CLI
Expand Down Expand Up @@ -3228,7 +3228,7 @@ paths:
{
"id": 345,
"permissions": "read_only"
},
}
],
"longview": [
{
Expand Down Expand Up @@ -3785,7 +3785,7 @@ paths:
"duration": 3,
"hour_of_day": 12,
"day_of_week": 4,
"week_of_month": 3,
"week_of_month": 3
}
}' \
https://api.linode.com/v4/databases/mysql/instances/123
Expand Down Expand Up @@ -4569,7 +4569,7 @@ paths:
"duration": 3,
"hour_of_day": 12,
"day_of_week": 4,
"week_of_month": 3,
"week_of_month": 3
}
}' \
https://api.linode.com/v4/databases/postgresql/instances/123
Expand Down Expand Up @@ -8849,7 +8849,7 @@ paths:
"stackscript_id": 10079,
"stackscript_data": {
"gh_username": "linode"
}
},
"type": "g6-standard-2",
"metadata": {
"user_data": "I2Nsb3VkLWNvbmZpZw=="
Expand Down Expand Up @@ -9953,12 +9953,12 @@ paths:
curl -H "Content-Type: application/json" \
-H "Authorization: Bearer $TOKEN" \
-X PUT -d '{
"label": "lkecluster54321"
"tags" : ["ecomm", "blog", "prod", "monitoring"]
"label": "lkecluster54321",
"tags" : ["ecomm", "blog", "prod", "monitoring"],
"control_plane": {
"high_availability": true
},
"k8s_version": "1.17"
"k8s_version": "1.27"
}' \
https://api.linode.com/v4/lke/clusters/12345
- lang: CLI
Expand Down Expand Up @@ -18383,13 +18383,14 @@ paths:
--linodes 456 \
--volumes 9082 \
--volumes 10003
/tags/{label}:
/tags/{tagLabel}:
x-linode-cli-command: tags
parameters:
- name: label
- name: tagLabel
in: path
schema:
type: string
description: The `label` of the Tag to access.
required: true
get:
summary: Tagged Objects List
Expand Down Expand Up @@ -18451,7 +18452,7 @@ paths:
- lang: Shell
source: >
curl -H "Authorization: Bearer $TOKEN" \
"https://api.linode.com/v4/tags/example tag"
https://api.linode.com/v4/tags/$tagLabel
delete:
summary: Tag Delete
description: >
Expand Down