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
{{ message }}
Repository navigation
Commit e997f30
Browse filesBrowse the repository at this point in the historyBrowse files
feat: add '--schema' and '--data' options for various commands (#1691)
* feat: add '--schema' and '--data' options for various commands to enhance JSON payload handling and schema discovery
* feat: add '--json' and '--json-compact' options for output formatting and enhance '--schema' command behavior
Copy file name to clipboardExpand all lines: docs/auth0_domains_list.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,9 @@ has_toc: false
7
7
8
8
List your existing custom domains. To create one, run: `auth0 domains create`.
9
9
10
+
Use '--schema' to see available query parameters.
11
+
Use '--query' to filter results via a JSON object (any API-supported parameter works immediately).
12
+
10
13
## Usage
11
14
```
12
15
auth0 domains list [flags]
@@ -21,6 +24,10 @@ auth0 domains list [flags]
21
24
auth0 domains ls --json-compact
22
25
auth0 domains ls --csv
23
26
auth0 domains ls --filter "domain:demo* AND status:pending_verification"
27
+
auth0 domains list --schema
28
+
auth0 domains list --schema --json
29
+
auth0 domains list --query '{"take":10}'
30
+
auth0 domains list --query '{"take":10}' --json
24
31
```
25
32
26
33
@@ -31,6 +38,8 @@ auth0 domains list [flags]
31
38
--filter string Filter custom domains (EA-only).
32
39
--json Output in json format.
33
40
--json-compact Output in compact json format.
41
+
-q, --query string Filter results with a JSON object of query parameters. Any API-supported parameter works immediately. Run '--schema' to see documented parameters. On offset-paginated endpoints, add "include_totals":true to receive total counts and a pagination hint (without it the API returns a bare array and no hint can be given).
42
+
--schema Print the request payload schema for this command and exit. Use with --json or --json-compact for machine-readable output.
34
43
--sort string Sort by a field (EA-only). Only 'domain' is supported.
Copy file name to clipboardExpand all lines: docs/auth0_logs_list.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,9 @@ has_toc: false
7
7
8
8
Display the tenant logs allowing to filter using Lucene query syntax.
9
9
10
+
Use '--schema' to see available query parameters.
11
+
Use '--query' to filter results via a JSON object (any API-supported parameter works immediately).
12
+
10
13
## Usage
11
14
```
12
15
auth0 logs list [flags]
@@ -27,6 +30,10 @@ auth0 logs list [flags]
27
30
auth0 logs ls --json
28
31
auth0 logs ls --json-compact
29
32
auth0 logs ls --csv
33
+
auth0 logs list --schema
34
+
auth0 logs list --schema --json
35
+
auth0 logs list --query '{"per_page":5,"include_totals":true}'
36
+
auth0 logs list --query '{"per_page":5}' --json
30
37
```
31
38
32
39
@@ -39,6 +46,8 @@ auth0 logs list [flags]
39
46
--json-compact Output in compact json format.
40
47
-n, --number int Number of log entries to show. Minimum 1, maximum 1000. (default 100)
41
48
-p, --picker Allows to toggle from list of logs and view a selected log in detail
49
+
-q, --query string Filter results with a JSON object of query parameters. Any API-supported parameter works immediately. Run '--schema' to see documented parameters. On offset-paginated endpoints, add "include_totals":true to receive total counts and a pagination hint (without it the API returns a bare array and no hint can be given).
50
+
--schema Print the request payload schema for this command and exit. Use with --json or --json-compact for machine-readable output.
0 commit comments