You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: skills/opencloud-cli/SKILL.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ description: 'Manage files, folders and spaces of an OpenCloud server using the
7
7
8
8
## How to Use This Skill
9
9
10
-
Use the `oc-cli` command to interact with the OpenCloud CLI. The `references` directory contains detailed documentation for all available resources and operations.
10
+
Use the `oc-cli` command to interact with the OpenCloud CLI. The `references` directory contains detailed documentation for all available resources and operations. Responses get returned in TOON format.
11
11
12
12
### Examples
13
13
@@ -21,7 +21,7 @@ oc-cli api --help
21
21
# examples
22
22
oc-cli api -p /v1beta1/me/drives -m GET # list all my drives
23
23
oc-cli api -p /v1.0/drives/90eedea1-dea1-90ee-a1de-ee90a1deee90 -m GET # get a drive by its id
24
-
oc-cli api -p /v1.0/drives/90eedea1-dea1-90ee-a1de-ee90a1deee90 -m PATCH -b '{"name": "New Drive Name"}'# update a drive
24
+
oc-cli api -p /v1.0/drives/90eedea1-dea1-90ee-a1de-ee90a1deee90 -m PATCH -b '{"name": "New Drive Name"}'--status-only # update a drive
25
25
26
26
```
27
27
@@ -76,3 +76,4 @@ references/
76
76
## General tips
77
77
78
78
- prefer the `v1beta1` endpoints over the `v1.0` endpoints
79
+
- use the `--status-only` flag when the response body is not needed, e.g. for update and delete operations
0 commit comments