Skip to content

Commit 614bf2f

Browse files
authored
Merge pull request #875 from bbiggerr/fix-shell-examples
Fixed shell examples
2 parents 1cf26e0 + 4b3866b commit 614bf2f

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

openapi.yaml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2787,7 +2787,7 @@ paths:
27872787
curl -H "Content-Type: application/json" \
27882788
-H "Authorization: Bearer $TOKEN" \
27892789
-X PUT -d '{
2790-
"network_helper": true,
2790+
"network_helper": true
27912791
}' \
27922792
https://api.linode.com/v4/account/settings
27932793
- lang: CLI
@@ -3228,7 +3228,7 @@ paths:
32283228
{
32293229
"id": 345,
32303230
"permissions": "read_only"
3231-
},
3231+
}
32323232
],
32333233
"longview": [
32343234
{
@@ -3785,7 +3785,7 @@ paths:
37853785
"duration": 3,
37863786
"hour_of_day": 12,
37873787
"day_of_week": 4,
3788-
"week_of_month": 3,
3788+
"week_of_month": 3
37893789
}
37903790
}' \
37913791
https://api.linode.com/v4/databases/mysql/instances/123
@@ -4569,7 +4569,7 @@ paths:
45694569
"duration": 3,
45704570
"hour_of_day": 12,
45714571
"day_of_week": 4,
4572-
"week_of_month": 3,
4572+
"week_of_month": 3
45734573
}
45744574
}' \
45754575
https://api.linode.com/v4/databases/postgresql/instances/123
@@ -8849,7 +8849,7 @@ paths:
88498849
"stackscript_id": 10079,
88508850
"stackscript_data": {
88518851
"gh_username": "linode"
8852-
}
8852+
},
88538853
"type": "g6-standard-2",
88548854
"metadata": {
88558855
"user_data": "I2Nsb3VkLWNvbmZpZw=="
@@ -9953,12 +9953,12 @@ paths:
99539953
curl -H "Content-Type: application/json" \
99549954
-H "Authorization: Bearer $TOKEN" \
99559955
-X PUT -d '{
9956-
"label": "lkecluster54321"
9957-
"tags" : ["ecomm", "blog", "prod", "monitoring"]
9956+
"label": "lkecluster54321",
9957+
"tags" : ["ecomm", "blog", "prod", "monitoring"],
99589958
"control_plane": {
99599959
"high_availability": true
99609960
},
9961-
"k8s_version": "1.17"
9961+
"k8s_version": "1.27"
99629962
}' \
99639963
https://api.linode.com/v4/lke/clusters/12345
99649964
- lang: CLI
@@ -18383,13 +18383,14 @@ paths:
1838318383
--linodes 456 \
1838418384
--volumes 9082 \
1838518385
--volumes 10003
18386-
/tags/{label}:
18386+
/tags/{tagLabel}:
1838718387
x-linode-cli-command: tags
1838818388
parameters:
18389-
- name: label
18389+
- name: tagLabel
1839018390
in: path
1839118391
schema:
1839218392
type: string
18393+
description: The `label` of the Tag to access.
1839318394
required: true
1839418395
get:
1839518396
summary: Tagged Objects List
@@ -18451,7 +18452,7 @@ paths:
1845118452
- lang: Shell
1845218453
source: >
1845318454
curl -H "Authorization: Bearer $TOKEN" \
18454-
"https://api.linode.com/v4/tags/example tag"
18455+
https://api.linode.com/v4/tags/$tagLabel
1845518456
delete:
1845618457
summary: Tag Delete
1845718458
description: >

0 commit comments

Comments
 (0)