@thinkingai/ae-cli 6.1.28 → 6.1.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -4
- package/README.zh.md +24 -4
- package/bin/ae-cli.js +5 -0
- package/bin/runtime-capabilities.json +5 -0
- package/cli-installation-guide.md +24 -3
- package/dist/{auth-NKD5Z5BQ.js → auth-ADZHUIJR.js} +30 -12
- package/dist/{automation-K32V2NKP.js → automation-FD2QZUP6.js} +6 -6
- package/dist/{capability-4CGSL7PK.js → capability-QXFRJYZD.js} +54 -26
- package/dist/{chunk-P6VFCH3P.js → chunk-2F64AZYH.js} +2 -2
- package/dist/{chunk-LMCYSVVA.js → chunk-4PSTYEG5.js} +50 -41
- package/dist/{chunk-KHS64JZQ.js → chunk-72NJKS7O.js} +4 -4
- package/dist/chunk-AVXDJAFC.js +132 -0
- package/dist/{chunk-GI5BMEZO.js → chunk-AWVZTN2B.js} +1 -1
- package/dist/chunk-CG773QXN.js +2289 -0
- package/dist/{chunk-UUD5RB36.js → chunk-E25OSZLJ.js} +3 -3
- package/dist/{chunk-UF244C5C.js → chunk-EUFP4M2A.js} +7 -7
- package/dist/{chunk-QW3R6O7L.js → chunk-HRUOV6EQ.js} +57 -15
- package/dist/{chunk-T44M3PLZ.js → chunk-JEUXDY3B.js} +1 -1
- package/dist/{chunk-2UWS5CUP.js → chunk-JSBLCLFE.js} +3 -3
- package/dist/{chunk-QSAR3GHY.js → chunk-OAWPT7VP.js} +2 -2
- package/dist/{chunk-2IYIYSUO.js → chunk-QVRIDN42.js} +2 -2
- package/dist/{chunk-P7KL7IOH.js → chunk-SOSFRU3O.js} +2 -2
- package/dist/{chunk-GTPWDLTE.js → chunk-TFORY6WY.js} +35 -14
- package/dist/{chunk-JJJIP2XQ.js → chunk-VDICGXCY.js} +2 -2
- package/dist/{chunk-UJ7UPRXK.js → chunk-Y3AM6LIO.js} +10 -8
- package/dist/chunk-YULUBP3R.js +222 -0
- package/dist/{chunk-X7DRLE62.js → chunk-YVG6QD3V.js} +1 -1
- package/dist/{chunk-ZW4VMY5H.js → chunk-Z3Q2AEIN.js} +152 -98
- package/dist/{community-report-client-S2K3A3Q6.js → community-report-client-TJVCLZ3K.js} +1 -1
- package/dist/compat-check-HERBTQZN.js +32 -0
- package/dist/{config-ASSAAIOI.js → config-E3KANXMK.js} +38 -6
- package/dist/{context-6RWLVOM5.js → context-CDB5H5PD.js} +4 -4
- package/dist/{data-integration-EXSUPUDZ.js → data-integration-QE37EQ3A.js} +207 -24
- package/dist/{evaluation-5YT4QLCL.js → evaluation-LR4YDYWL.js} +4 -4
- package/dist/index.js +297 -70
- package/dist/{local-data-upload-client-7HCPGIS3.js → local-data-upload-client-KCMG6J62.js} +1 -1
- package/dist/{memory-VCYLVPMI.js → memory-SNFR5M23.js} +6 -6
- package/dist/{metadata-YGI5M6OF.js → metadata-EXQYDZTH.js} +16 -8
- package/dist/{model-DPJHSD73.js → model-KEVCEXWD.js} +4 -4
- package/dist/{personal-semantic-preference-76TBKAPY.js → personal-semantic-preference-ETY3KU2O.js} +7 -6
- package/dist/{project-semantic-XOEBO2Q5.js → project-semantic-UHRMVOJF.js} +11 -10
- package/dist/{sync-7PP6KQ75.js → sync-XKEBXESC.js} +8 -7
- package/dist/{te-agent-PJVAPKBD.js → te-agent-S6UQR4IE.js} +11 -7
- package/dist/{te-analysis-OX62G5VD.js → te-analysis-WOFFCIBC.js} +185 -33
- package/dist/{te-community-QN3WMPNT.js → te-community-R7B6QYOO.js} +720 -228
- package/dist/{te-dataops-UKD2XN3E.js → te-dataops-KPILYVHA.js} +6 -5
- package/dist/{te-engage-X3DIXPRA.js → te-engage-IAUM6ONX.js} +13 -12
- package/dist/{te-experiment-MEIIK3DP.js → te-experiment-TMLRA7B3.js} +55 -21
- package/dist/{te-kb-73EWDFDF.js → te-kb-GKWPSLSY.js} +409 -85
- package/dist/{te-system-IE7NCKC3.js → te-system-CYWSK3UN.js} +6 -6
- package/dist/{te-team-MGQ5CNRW.js → te-team-ISN52YNG.js} +7 -6
- package/dist/{things-4JIBCA55.js → things-DDQ52Z3Q.js} +7 -7
- package/dist/{update-AX66IFMJ.js → update-CTLNTX35.js} +11 -7
- package/dist/{workspace-Q5NMEKEN.js → workspace-2CKQX2XL.js} +6 -6
- package/package.json +17 -7
- package/skills/ae-agent/references/resource-package.md +4 -0
- package/skills/ae-analysis/SKILL.md +14 -10
- package/skills/ae-analysis/references/agent_review_preflight.md +52 -11
- package/skills/ae-analysis/references/agent_review_priorities_comparisons.md +5 -3
- package/skills/ae-analysis/references/agent_review_submit_to_page.md +57 -25
- package/skills/ae-analysis/references/command_index.md +7 -3
- package/skills/ae-analysis/references/governance_recommendation_export.md +31 -17
- package/skills/ae-analysis/references/governance_recommendation_run_update.md +13 -0
- package/skills/ae-analysis/references/project_semantic_knowledge_wiki.md +9 -1
- package/skills/ae-analysis/references/scenario_append.md +6 -0
- package/skills/ae-analysis/references/scenario_begin.md +11 -0
- package/skills/ae-analysis/references/scenario_collect.md +10 -2
- package/skills/ae-analysis/references/scenario_evaluation.md +6 -18
- package/skills/ae-analysis/references/scenario_get.md +15 -0
- package/skills/ae-analysis/references/scenario_list.md +64 -0
- package/skills/ae-analysis/scripts/project-semantic-knowledge-wiki/company-kb.mjs +14 -1
- package/skills/ae-community/SKILL.md +77 -27
- package/skills/ae-community/references/community-analyzing-theme-comment.md +10 -8
- package/skills/ae-community/references/community-data-quality.md +68 -0
- package/skills/ae-community/references/community-query-evidence.md +85 -0
- package/skills/ae-community/references/community-scenario-capabilities.md +137 -0
- package/skills/ae-community/references/community-weekly-report.md +6 -3
- package/skills/ae-community/references/get_channel_info.md +7 -4
- package/skills/ae-community/references/get_comment_tag_analysis.md +3 -3
- package/skills/ae-community/references/get_comments_summary.md +4 -4
- package/skills/ae-community/references/get_corpus_tags.md +3 -3
- package/skills/ae-community/references/get_daily_summary.md +3 -3
- package/skills/ae-community/references/get_hot_topics.md +3 -3
- package/skills/ae-community/references/get_livestream_analysis.md +3 -3
- package/skills/ae-community/references/get_livestream_detail.md +4 -4
- package/skills/ae-community/references/get_livestream_list.md +3 -3
- package/skills/ae-community/references/get_livestream_overview.md +3 -3
- package/skills/ae-community/references/get_livestream_room_metrics.md +3 -3
- package/skills/ae-community/references/get_livestream_rooms.md +3 -3
- package/skills/ae-community/references/get_overview_metrics.md +3 -3
- package/skills/ae-community/references/get_post_detail.md +4 -4
- package/skills/ae-community/references/get_risk_content.md +5 -5
- package/skills/ae-community/references/get_sentiment_overview.md +4 -4
- package/skills/ae-community/references/get_tag_trends.md +3 -3
- package/skills/ae-community/references/get_topic_detail.md +3 -3
- package/skills/ae-community/references/list_sources.md +28 -0
- package/skills/ae-community/references/list_spaces.md +39 -0
- package/skills/ae-community/references/search_posts.md +21 -7
- package/skills/ae-data-integration/SKILL.md +6 -4
- package/skills/ae-data-integration/references/error-handling.md +1 -0
- package/skills/ae-data-integration/references/handoff.md +1 -1
- package/skills/ae-data-integration/references/sink-upload.md +11 -0
- package/skills/ae-data-integration/references/source-inspect.md +2 -1
- package/skills/ae-data-integration/references/transform.md +1 -1
- package/skills/ae-data-integration/references/ue-mapping.md +1 -1
- package/skills/ae-experiment/SKILL.md +7 -1
- package/skills/ae-experiment/references/manage_experiment.md +18 -1
- package/skills/ae-experiment/references/query_experiment_detail.md +7 -0
- package/skills/ae-experiment/references/save_experiment.md +76 -2
- package/skills/ae-experiment/references/save_submit_experiment.md +7 -0
- package/skills/ae-kb/SKILL.md +37 -8
- package/skills/ae-kb/references/publication.md +81 -0
- package/skills/ae-kb/references/query-workflow.md +20 -6
- package/skills/ae-kb-discovery/SKILL.md +15 -6
- package/skills/ae-metadata/SKILL.md +2 -2
- package/skills/ae-metadata/references/metadata_data_table_get.md +35 -0
- package/dist/chunk-ELCR235M.js +0 -1429
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
# Community Scenario Capabilities
|
|
2
|
+
|
|
3
|
+
Use this reference when the user needs a workflow that is not covered by one legacy curated
|
|
4
|
+
`community +...` command. The capabilities below are Gateway L3 unless explicitly shown as an L1/L2
|
|
5
|
+
command. Always discover and inspect the live capability before constructing input:
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
ae-cli capability search "<user intent>" --domain community
|
|
9
|
+
ae-cli capability inspect <capability-id>
|
|
10
|
+
ae-cli capability validate <capability-id> --input '<json>'
|
|
11
|
+
ae-cli capability run <capability-id> --input '<json>'
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
Use either `validate` or `dry-run` while correcting input; do not run both by default. Copy every
|
|
15
|
+
int64 ID exactly and keep it as a JSON integer or quoted string accepted by the inspected schema.
|
|
16
|
+
|
|
17
|
+
## Admission decisions
|
|
18
|
+
|
|
19
|
+
| Candidate area | Decision | Reason |
|
|
20
|
+
|---|---|---|
|
|
21
|
+
| Bounded full-text evidence | L1: `community evidence fetch` | Deduplicates up to 20 real locators, verifies response identity, and reports a text budget and per-item failures. |
|
|
22
|
+
| Space and source discovery | L2: `community spaces list`, `community sources list` | They remove ID guessing and close the reporting prerequisite chain with typed int64 flags. |
|
|
23
|
+
| Comments, workbench, visual analysis, tag/hotspot/risk/keyword queries | L3 capabilities | They have stable read contracts, but a static alias would add no value beyond discovery and schema inspection. |
|
|
24
|
+
| Comment image evidence | Reuse `community.content.post_detail` | Images belong to the post/video evidence contract; the independent comment result has no stable comment-image field. |
|
|
25
|
+
| Livestream report status | Reuse `community.content.livestream_analysis` | Its `status` is already the authoritative state: `0` processing, `1` finished, `2` ready, `3` error. |
|
|
26
|
+
| Tag refresh, report generation, keyword/risk/alert mutations | Do not add yet | The analysis workflows do not require mutation, and these writes do not yet have a stable Gateway dry-run contract. |
|
|
27
|
+
| Dedicated chat permission | Do not invent | No deployed chat-specific Apollo permission function exists. Trust the inspected capability metadata and never claim dedicated isolation. |
|
|
28
|
+
|
|
29
|
+
## Foundation: space, source, and channel IDs
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
ae-cli community spaces list
|
|
33
|
+
ae-cli community sources list --space-id <space-id>
|
|
34
|
+
ae-cli community +get_channel_info --space-id <space-id>
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
Use `community.space.get` only after selecting a space and when its metadata is needed. The L2
|
|
38
|
+
`community sources list` command is backed by `community.source.list`. Source discovery requires
|
|
39
|
+
data-configuration view permission; a permission error is not evidence that no sources exist.
|
|
40
|
+
|
|
41
|
+
## Workbench and saved reports
|
|
42
|
+
|
|
43
|
+
Use this chain for “what reports exist?”, “show the preset metric”, or “inspect this saved report”:
|
|
44
|
+
|
|
45
|
+
1. `community.dashboard.preset_catalog` discovers the eight stable preset keys.
|
|
46
|
+
2. `community.dashboard.preset_report` runs one preset for a date range and optional channels.
|
|
47
|
+
3. `community.visual.report_list` searches saved visual reports.
|
|
48
|
+
4. `community.visual.report_detail` returns the selected report's graph shape and saved config.
|
|
49
|
+
|
|
50
|
+
Do not treat the preset catalog as current dashboard layout. It is a side-effect-free catalog; it
|
|
51
|
+
does not initialize or modify dashboard state.
|
|
52
|
+
|
|
53
|
+
## Post and comment evidence closure
|
|
54
|
+
|
|
55
|
+
Use this sequence when a summary must be supported by raw discussion evidence:
|
|
56
|
+
|
|
57
|
+
1. `community.content.search_posts` finds candidate posts or videos.
|
|
58
|
+
2. `community.content.post_detail` returns the subject, media/image evidence, tags, and initial comments.
|
|
59
|
+
3. `community.content.list_comments` independently pages a flat comment list with stable reply/root identifiers; it does not return a complete reply tree.
|
|
60
|
+
4. Apply its date, sentiment, and `tag_filters` fields to narrow the evidence set.
|
|
61
|
+
5. Use `community.content.comments_summary` and `community.content.comment_tag_analysis` for aggregates.
|
|
62
|
+
|
|
63
|
+
Never claim that `list_comments` returns comment-level images. Cite post/video images from
|
|
64
|
+
`post_detail`, and cite flat comment text and returned stable comment IDs from `list_comments`.
|
|
65
|
+
|
|
66
|
+
## Livestream chain
|
|
67
|
+
|
|
68
|
+
1. Discover rooms with `community.content.livestream_rooms`.
|
|
69
|
+
2. List sessions with `community.content.livestream_list`, then inspect a session with
|
|
70
|
+
`community.content.livestream_detail`.
|
|
71
|
+
3. Use `community.live.follower_trend` for daily room follower changes.
|
|
72
|
+
4. Use `community.content.livestream_analysis` for both the AI report and generation status.
|
|
73
|
+
|
|
74
|
+
If report status is `2` (`ready`), report that generation has not started. Do not trigger report
|
|
75
|
+
generation automatically; no stable read-only capability performs that write.
|
|
76
|
+
|
|
77
|
+
## Chat chain
|
|
78
|
+
|
|
79
|
+
The detailed identity and service-metric safeguards remain in `community-chat-analysis.md`.
|
|
80
|
+
Additional discovery routes are:
|
|
81
|
+
|
|
82
|
+
- `community.chat.top_keywords` for an explicit ranked keyword list;
|
|
83
|
+
- `community.chat.list_intent_rules` for configured intent meanings;
|
|
84
|
+
- `community.chat.list_servers` for server discovery before segmented comparisons.
|
|
85
|
+
|
|
86
|
+
Do not infer a server-by-room-type result from `list_servers`, and do not calculate service KPIs
|
|
87
|
+
without the complete staff roster required by the chat workflow.
|
|
88
|
+
|
|
89
|
+
## Metadata-driven visual analysis
|
|
90
|
+
|
|
91
|
+
Use this strict order:
|
|
92
|
+
|
|
93
|
+
1. `community.visual.metadata` returns supported filters, dimension properties, metrics, and static quotas.
|
|
94
|
+
2. `community.visual.filter_values` discovers actual values for a selected metadata field and date range.
|
|
95
|
+
3. Build `community.visual.analysis` input only from returned metadata. Include at least one `quotas`
|
|
96
|
+
or `formulas` item.
|
|
97
|
+
4. Preserve the exact query and the raw axis `value` fields from the result.
|
|
98
|
+
5. Pass that query and selected raw values to `community.visual.drilldown` to retrieve source content.
|
|
99
|
+
|
|
100
|
+
Never invent `column_name`, `table_type`, calculation symbols, metric codes, group definitions, or
|
|
101
|
+
formula aliases. Labels are for presentation; drill-down uses raw axis values.
|
|
102
|
+
|
|
103
|
+
## Tag definition and refresh plan
|
|
104
|
+
|
|
105
|
+
Start from `community.content.corpus_tags`, select a real `tagId`, then call
|
|
106
|
+
`community.tag.detail` with both `game_id` and `tag_id`. The result contains the rule definition,
|
|
107
|
+
corpus range, `refreshStatus`, refresh type/interval/hour, and update timestamps. The capability
|
|
108
|
+
rejects a tag that belongs to a different space.
|
|
109
|
+
|
|
110
|
+
This is inspection only. Do not promise that a refresh was scheduled or run.
|
|
111
|
+
|
|
112
|
+
## Daily summary and topic evidence
|
|
113
|
+
|
|
114
|
+
1. `community.hot.summary_dates` discovers dates that actually have summaries.
|
|
115
|
+
2. `community.hot.daily_summary` returns the selected day's ranked hotspots and opinions.
|
|
116
|
+
3. `community.hot.hotspot_evidence` pages the source content behind one `hotspotId`.
|
|
117
|
+
4. `community.hot.topic_detail` gives topic aggregates.
|
|
118
|
+
5. `community.hot.topic_resources` closes the topic-to-content evidence loop for a selected date range.
|
|
119
|
+
|
|
120
|
+
Use available dates instead of repeatedly guessing dates with no generated summary.
|
|
121
|
+
|
|
122
|
+
## Risk configuration inspection
|
|
123
|
+
|
|
124
|
+
Use `community.risk.type_catalog` to discover supported rule templates, then
|
|
125
|
+
`community.risk.rules` for space-specific rules and `community.risk.alerts` for alert configuration.
|
|
126
|
+
Use `community.content.risk_content` only after that discovery when the user needs matching risky
|
|
127
|
+
content and trends. Keep rule configuration separate from detected content.
|
|
128
|
+
|
|
129
|
+
## Keyword discovery
|
|
130
|
+
|
|
131
|
+
`community.keyword.groups` lists configured main/sub-keyword relationships.
|
|
132
|
+
`community.keyword.ranking` returns high-frequency unmerged keywords for a date range. These are
|
|
133
|
+
read-only inspection abilities, not management writes; never claim a keyword or group was changed.
|
|
134
|
+
|
|
135
|
+
## Query and evidence quality
|
|
136
|
+
|
|
137
|
+
See [community-query-evidence.md](community-query-evidence.md) for the query contract, A100-only contributor drill-down, cumulative interaction semantics, and bounded evidence command. Do not treat formula base content as numerator evidence or assume that a result has a snapshot.
|
|
@@ -12,8 +12,9 @@ You are "Director of Community Operations + Senior Data Analyst". The goal is no
|
|
|
12
12
|
## Time deduction rules
|
|
13
13
|
|
|
14
14
|
1. The user clearly gives the date: query strictly according to the user scope.
|
|
15
|
-
2. The user does not provide a date: automatically retrieve the past 7 days (`endTime=yesterday`, `startTime=endTime-
|
|
16
|
-
3.
|
|
15
|
+
2. The user does not provide a date: automatically retrieve the past 7 days (`endTime=yesterday`, `startTime=endTime-6d`).
|
|
16
|
+
3. These bounds include both dates: state the exact seven calendar days and service timezone. Use the preceding seven days for an equal-length comparison. Missing or failed data is unknown, never zero.
|
|
17
|
+
4. For filtered questions, use the same effective visual query for all comparisons and evidence. An unfiltered overview is not the denominator of a filtered search.
|
|
17
18
|
|
|
18
19
|
## Required tool chain
|
|
19
20
|
|
|
@@ -24,7 +25,9 @@ You are "Director of Community Operations + Senior Data Analyst". The goal is no
|
|
|
24
25
|
5. `+get_risk_content` (compliance risk control)
|
|
25
26
|
6. `+get_hot_topics` (hotspot assisted verification)
|
|
26
27
|
|
|
27
|
-
## Output structure
|
|
28
|
+
## Output structure
|
|
29
|
+
|
|
30
|
+
Mark unsupported or unavailable sections explicitly. Never invent results to fill this template.
|
|
28
31
|
|
|
29
32
|
1. **Core summary of the report**: Setting the tone for this week + hot keywords
|
|
30
33
|
2. **Overview indicator board**: total volume, sentiment distribution, channel matrix (table)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# ae-community +get_channel_info
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
Get the list of valid channels for the community space, including channel IDs and names. **This is the prerequisite step for most commands that require `--channel-id` / `--channel-id-list
|
|
4
|
+
Get the list of valid channels for the community space, including channel IDs and names. **This is the prerequisite step for most commands that require `--channel-id` / `--channel-id-list`**: first get the real channel ID here, then call `+search_posts`, `+get_post_detail`, `+get_comments_summary`, `+get_livestream_list`, etc. If the space ID is unknown, run `ae-cli community spaces list` first.
|
|
5
5
|
|
|
6
6
|
Mapping command: `ae-cli community +get_channel_info`
|
|
7
7
|
|
|
@@ -9,12 +9,15 @@ Mapping command: `ae-cli community +get_channel_info`
|
|
|
9
9
|
|
|
10
10
|
| Flag | Type | Required | Description |
|
|
11
11
|
|------|------|------|------|
|
|
12
|
-
| `--space-id` |
|
|
13
|
-
| `--game-id` |
|
|
12
|
+
| `--space-id` | int64 | yes | Community space ID returned by `community spaces list` |
|
|
13
|
+
| `--game-id` | int64 | no | Deprecated compatibility alias; omit it, or make it equal to `--space-id` |
|
|
14
14
|
|
|
15
15
|
## Example
|
|
16
16
|
|
|
17
17
|
```bash
|
|
18
18
|
# Get channel list
|
|
19
|
-
ae-cli community +get_channel_info --space-id 1
|
|
19
|
+
ae-cli community +get_channel_info --space-id 1
|
|
20
20
|
```
|
|
21
|
+
|
|
22
|
+
Copy returned channel IDs exactly. JSON output preserves IDs outside JavaScript's safe integer range
|
|
23
|
+
as strings.
|
|
@@ -9,8 +9,8 @@ Mapping command: `ae-cli community +get_comment_tag_analysis`
|
|
|
9
9
|
|
|
10
10
|
| Flag | Type | Required | Description |
|
|
11
11
|
|------|------|------|------|
|
|
12
|
-
| `--space-id` |
|
|
13
|
-
| `--game-id` |
|
|
12
|
+
| `--space-id` | int64 | yes | Community space ID returned by `community spaces list` |
|
|
13
|
+
| `--game-id` | int64 | no | Deprecated compatibility alias; omit it, or make it equal to `--space-id` |
|
|
14
14
|
| `--channel-id` | number | yes | channel ID |
|
|
15
15
|
| `--uuid` | string | yes | content UUID |
|
|
16
16
|
| `--resource-type` | number | Yes | Resource type: `0` for posts, `1` for videos |
|
|
@@ -23,7 +23,7 @@ Mapping command: `ae-cli community +get_comment_tag_analysis`
|
|
|
23
23
|
```bash
|
|
24
24
|
# Analyze comment tags
|
|
25
25
|
ae-cli community +get_comment_tag_analysis \
|
|
26
|
-
--space-id 1
|
|
26
|
+
--space-id 1 \
|
|
27
27
|
--channel-id 1 --uuid <uuid> \
|
|
28
28
|
--resource-type 0 --tag-code "sentiment"
|
|
29
29
|
```
|
|
@@ -9,8 +9,8 @@ Mapping command: `ae-cli community +get_comments_summary`
|
|
|
9
9
|
|
|
10
10
|
| Flag | Type | Required | Description |
|
|
11
11
|
|------|------|------|------|
|
|
12
|
-
| `--space-id` |
|
|
13
|
-
| `--game-id` |
|
|
12
|
+
| `--space-id` | int64 | yes | Community space ID returned by `community spaces list` |
|
|
13
|
+
| `--game-id` | int64 | no | Deprecated compatibility alias; omit it, or make it equal to `--space-id` |
|
|
14
14
|
| `--channel-id` | number | yes | channel ID |
|
|
15
15
|
| `--uuid` | string | yes | content UUID |
|
|
16
16
|
| `--start-time` | string | No | Earliest comment publish date, format yyyy-MM-dd, default is the publishing time of the post |
|
|
@@ -21,12 +21,12 @@ Mapping command: `ae-cli community +get_comments_summary`
|
|
|
21
21
|
```bash
|
|
22
22
|
# Get comment summary
|
|
23
23
|
ae-cli community +get_comments_summary \
|
|
24
|
-
--space-id 1
|
|
24
|
+
--space-id 1 \
|
|
25
25
|
--channel-id 1 --uuid <uuid>
|
|
26
26
|
|
|
27
27
|
#Specify time range
|
|
28
28
|
ae-cli community +get_comments_summary \
|
|
29
|
-
--space-id 1
|
|
29
|
+
--space-id 1 \
|
|
30
30
|
--channel-id 1 --uuid <uuid> \
|
|
31
31
|
--start-time 2024-01-01 --end-time 2024-01-07
|
|
32
32
|
```
|
|
@@ -9,12 +9,12 @@ Mapping command: `ae-cli community +get_corpus_tags`
|
|
|
9
9
|
|
|
10
10
|
| Flag | Type | Required | Description |
|
|
11
11
|
|------|------|------|------|
|
|
12
|
-
| `--space-id` |
|
|
13
|
-
| `--game-id` |
|
|
12
|
+
| `--space-id` | int64 | yes | Community space ID returned by `community spaces list` |
|
|
13
|
+
| `--game-id` | int64 | no | Deprecated compatibility alias; omit it, or make it equal to `--space-id` |
|
|
14
14
|
|
|
15
15
|
## Example
|
|
16
16
|
|
|
17
17
|
```bash
|
|
18
18
|
# Get the tag list
|
|
19
|
-
ae-cli community +get_corpus_tags --space-id 1
|
|
19
|
+
ae-cli community +get_corpus_tags --space-id 1
|
|
20
20
|
```
|
|
@@ -9,8 +9,8 @@ Mapping command: `ae-cli community +get_daily_summary`
|
|
|
9
9
|
|
|
10
10
|
| Flag | Type | Required | Description |
|
|
11
11
|
|------|------|------|------|
|
|
12
|
-
| `--space-id` |
|
|
13
|
-
| `--game-id` |
|
|
12
|
+
| `--space-id` | int64 | yes | Community space ID returned by `community spaces list` |
|
|
13
|
+
| `--game-id` | int64 | no | Deprecated compatibility alias; omit it, or make it equal to `--space-id` |
|
|
14
14
|
| `--date` | string | Yes | Date, format yyyy-MM-dd |
|
|
15
15
|
|
|
16
16
|
## Example
|
|
@@ -18,5 +18,5 @@ Mapping command: `ae-cli community +get_daily_summary`
|
|
|
18
18
|
```bash
|
|
19
19
|
# Get daily report
|
|
20
20
|
ae-cli community +get_daily_summary \
|
|
21
|
-
--space-id 1 --
|
|
21
|
+
--space-id 1 --date 2024-01-01
|
|
22
22
|
```
|
|
@@ -9,8 +9,8 @@ Mapping command: `ae-cli community +get_hot_topics`
|
|
|
9
9
|
|
|
10
10
|
| Flag | Type | Required | Description |
|
|
11
11
|
|------|------|------|------|
|
|
12
|
-
| `--space-id` |
|
|
13
|
-
| `--game-id` |
|
|
12
|
+
| `--space-id` | int64 | yes | Community space ID returned by `community spaces list` |
|
|
13
|
+
| `--game-id` | int64 | no | Deprecated compatibility alias; omit it, or make it equal to `--space-id` |
|
|
14
14
|
| `--start-time` | string | No | Topic statistics start time, format yyyy-MM-dd |
|
|
15
15
|
| `--end-time` | string | No | Topic statistics end time, format yyyy-MM-dd |
|
|
16
16
|
| `--order-by` | number | No | Sort: 0 by popularity desc, 1 by start time desc |
|
|
@@ -20,6 +20,6 @@ Mapping command: `ae-cli community +get_hot_topics`
|
|
|
20
20
|
```bash
|
|
21
21
|
# Get hot topics
|
|
22
22
|
ae-cli community +get_hot_topics \
|
|
23
|
-
--space-id 1
|
|
23
|
+
--space-id 1 \
|
|
24
24
|
--start-time 2024-01-01 --end-time 2024-01-07
|
|
25
25
|
```
|
|
@@ -9,14 +9,14 @@ Mapping command: `ae-cli community +get_livestream_analysis`
|
|
|
9
9
|
|
|
10
10
|
| Flag | Type | Required | Description |
|
|
11
11
|
|------|------|------|------|
|
|
12
|
-
| `--space-id` |
|
|
13
|
-
| `--game-id` |
|
|
12
|
+
| `--space-id` | int64 | yes | Community space ID returned by `community spaces list` |
|
|
13
|
+
| `--game-id` | int64 | no | Deprecated compatibility alias; omit it, or make it equal to `--space-id` |
|
|
14
14
|
| `--stream-id` | string | Yes | Livestream session ID, streamId from `get_livestream_list` |
|
|
15
15
|
|
|
16
16
|
## Example
|
|
17
17
|
|
|
18
18
|
```bash
|
|
19
19
|
ae-cli community +get_livestream_analysis \
|
|
20
|
-
--space-id 1
|
|
20
|
+
--space-id 1 \
|
|
21
21
|
--stream-id <stream-id>
|
|
22
22
|
```
|
|
@@ -9,8 +9,8 @@ Mapping command: `ae-cli community +get_livestream_detail`
|
|
|
9
9
|
|
|
10
10
|
| Flag | Type | Required | Description |
|
|
11
11
|
|------|------|------|------|
|
|
12
|
-
| `--space-id` |
|
|
13
|
-
| `--game-id` |
|
|
12
|
+
| `--space-id` | int64 | yes | Community space ID returned by `community spaces list` |
|
|
13
|
+
| `--game-id` | int64 | no | Deprecated compatibility alias; omit it, or make it equal to `--space-id` |
|
|
14
14
|
| `--stream-id` | string | Yes | Live session ID, obtained from get_livestream_list |
|
|
15
15
|
| `--activity-types` | string | No | Interaction type filtering: 0 danmaku, 1 gift, 2 eye-catching message, 3 premium, comma separated |
|
|
16
16
|
| `--anchor-time` | string | No | Interaction anchor time, format yyyy-MM-dd HH:mm |
|
|
@@ -24,10 +24,10 @@ Mapping command: `ae-cli community +get_livestream_detail`
|
|
|
24
24
|
```bash
|
|
25
25
|
# Get livestream details
|
|
26
26
|
ae-cli community +get_livestream_detail \
|
|
27
|
-
--space-id 1 --
|
|
27
|
+
--space-id 1 --stream-id <stream-id>
|
|
28
28
|
|
|
29
29
|
# Filter danmaku types
|
|
30
30
|
ae-cli community +get_livestream_detail \
|
|
31
|
-
--space-id 1 --
|
|
31
|
+
--space-id 1 --stream-id <stream-id> \
|
|
32
32
|
--activity-types 0,1
|
|
33
33
|
```
|
|
@@ -9,8 +9,8 @@ Mapping command: `ae-cli community +get_livestream_list`
|
|
|
9
9
|
|
|
10
10
|
| Flag | Type | Required | Description |
|
|
11
11
|
|------|------|------|------|
|
|
12
|
-
| `--space-id` |
|
|
13
|
-
| `--game-id` |
|
|
12
|
+
| `--space-id` | int64 | yes | Community space ID returned by `community spaces list` |
|
|
13
|
+
| `--game-id` | int64 | no | Deprecated compatibility alias; omit it, or make it equal to `--space-id` |
|
|
14
14
|
| `--channel-id` | number | no | Channel ID (obtain via `get_livestream_rooms`) |
|
|
15
15
|
| `--room-id` | string | No | Room ID (obtain via `get_livestream_rooms`) |
|
|
16
16
|
| `--start-time` | string | No | Start date for statistics, format yyyy-MM-dd |
|
|
@@ -21,5 +21,5 @@ Mapping command: `ae-cli community +get_livestream_list`
|
|
|
21
21
|
```bash
|
|
22
22
|
# Get the livestream session list
|
|
23
23
|
ae-cli community +get_livestream_list \
|
|
24
|
-
--space-id 1 --
|
|
24
|
+
--space-id 1 --channel-id 1
|
|
25
25
|
```
|
|
@@ -9,8 +9,8 @@ Mapping command: `ae-cli community +get_livestream_overview`
|
|
|
9
9
|
|
|
10
10
|
| Flag | Type | Required | Description |
|
|
11
11
|
|------|------|------|------|
|
|
12
|
-
| `--space-id` |
|
|
13
|
-
| `--game-id` |
|
|
12
|
+
| `--space-id` | int64 | yes | Community space ID returned by `community spaces list` |
|
|
13
|
+
| `--game-id` | int64 | no | Deprecated compatibility alias; omit it, or make it equal to `--space-id` |
|
|
14
14
|
| `--start-time` | string | No | Start date for statistics, format yyyy-MM-dd |
|
|
15
15
|
| `--end-time` | string | No | End date for statistics, format yyyy-MM-dd |
|
|
16
16
|
|
|
@@ -19,6 +19,6 @@ Mapping command: `ae-cli community +get_livestream_overview`
|
|
|
19
19
|
```bash
|
|
20
20
|
# Get livestream overview
|
|
21
21
|
ae-cli community +get_livestream_overview \
|
|
22
|
-
--space-id 1
|
|
22
|
+
--space-id 1 \
|
|
23
23
|
--start-time 2024-01-01 --end-time 2024-01-07
|
|
24
24
|
```
|
|
@@ -9,8 +9,8 @@ Mapping command: `ae-cli community +get_livestream_room_metrics`
|
|
|
9
9
|
|
|
10
10
|
| Flag | Type | Required | Description |
|
|
11
11
|
|------|------|------|------|
|
|
12
|
-
| `--space-id` |
|
|
13
|
-
| `--game-id` |
|
|
12
|
+
| `--space-id` | int64 | yes | Community space ID returned by `community spaces list` |
|
|
13
|
+
| `--game-id` | int64 | no | Deprecated compatibility alias; omit it, or make it equal to `--space-id` |
|
|
14
14
|
| `--channel-id` | number | Yes | Channel ID (obtain via `get_livestream_rooms`) |
|
|
15
15
|
| `--room-id` | string | yes | Room ID (obtain via `get_livestream_rooms`) |
|
|
16
16
|
| `--year` | string | No | Year, format yyyy, default is the current year |
|
|
@@ -20,6 +20,6 @@ Mapping command: `ae-cli community +get_livestream_room_metrics`
|
|
|
20
20
|
```bash
|
|
21
21
|
# Get the annual indicators of the livestream room
|
|
22
22
|
ae-cli community +get_livestream_room_metrics \
|
|
23
|
-
--space-id 1
|
|
23
|
+
--space-id 1 \
|
|
24
24
|
--channel-id 1 --room-id <room-id> --year 2024
|
|
25
25
|
```
|
|
@@ -9,8 +9,8 @@ Mapping command: `ae-cli community +get_livestream_rooms`
|
|
|
9
9
|
|
|
10
10
|
| Flag | Type | Required | Description |
|
|
11
11
|
|------|------|------|------|
|
|
12
|
-
| `--space-id` |
|
|
13
|
-
| `--game-id` |
|
|
12
|
+
| `--space-id` | int64 | yes | Community space ID returned by `community spaces list` |
|
|
13
|
+
| `--game-id` | int64 | no | Deprecated compatibility alias; omit it, or make it equal to `--space-id` |
|
|
14
14
|
| `--channel-id-list` | string | No | List of channel IDs, comma separated |
|
|
15
15
|
| `--start-time` | string | No | Start date for statistics, format yyyy-MM-dd |
|
|
16
16
|
| `--end-time` | string | No | End date for statistics, format yyyy-MM-dd |
|
|
@@ -20,6 +20,6 @@ Mapping command: `ae-cli community +get_livestream_rooms`
|
|
|
20
20
|
```bash
|
|
21
21
|
# Search livestream room
|
|
22
22
|
ae-cli community +get_livestream_rooms \
|
|
23
|
-
--space-id 1
|
|
23
|
+
--space-id 1 \
|
|
24
24
|
--start-time 2024-01-01 --end-time 2024-01-07
|
|
25
25
|
```
|
|
@@ -9,8 +9,8 @@ Mapping command: `ae-cli community +get_overview_metrics`
|
|
|
9
9
|
|
|
10
10
|
| Flag | Type | Required | Description |
|
|
11
11
|
|------|------|------|------|
|
|
12
|
-
| `--space-id` |
|
|
13
|
-
| `--game-id` |
|
|
12
|
+
| `--space-id` | int64 | yes | Community space ID returned by `community spaces list` |
|
|
13
|
+
| `--game-id` | int64 | no | Deprecated compatibility alias; omit it, or make it equal to `--space-id` |
|
|
14
14
|
| `--channel-id-list` | string | No | List of channel IDs, comma separated |
|
|
15
15
|
| `--start-time` | string | Yes | Start date for statistics, format yyyy-MM-dd |
|
|
16
16
|
| `--end-time` | string | Yes | End date for statistics, format yyyy-MM-dd |
|
|
@@ -20,6 +20,6 @@ Mapping command: `ae-cli community +get_overview_metrics`
|
|
|
20
20
|
```bash
|
|
21
21
|
# Get overall indicators
|
|
22
22
|
ae-cli community +get_overview_metrics \
|
|
23
|
-
--space-id 1
|
|
23
|
+
--space-id 1 \
|
|
24
24
|
--start-time 2024-01-01 --end-time 2024-01-07
|
|
25
25
|
```
|
|
@@ -9,8 +9,8 @@ Mapping command: `ae-cli community +get_post_detail`
|
|
|
9
9
|
|
|
10
10
|
| Flag | Type | Required | Description |
|
|
11
11
|
|------|------|------|------|
|
|
12
|
-
| `--space-id` |
|
|
13
|
-
| `--game-id` |
|
|
12
|
+
| `--space-id` | int64 | yes | Community space ID returned by `community spaces list` |
|
|
13
|
+
| `--game-id` | int64 | no | Deprecated compatibility alias; omit it, or make it equal to `--space-id` |
|
|
14
14
|
| `--channel-id` | number | yes | channel ID |
|
|
15
15
|
| `--uuid` | string | yes | content UUID |
|
|
16
16
|
| `--resource-type` | number | Yes | Resource type: `0` for posts, `1` for videos |
|
|
@@ -26,12 +26,12 @@ Mapping command: `ae-cli community +get_post_detail`
|
|
|
26
26
|
```bash
|
|
27
27
|
# Get post details
|
|
28
28
|
ae-cli community +get_post_detail \
|
|
29
|
-
--space-id 1
|
|
29
|
+
--space-id 1 \
|
|
30
30
|
--channel-id 1 --uuid <uuid> --resource-type 0
|
|
31
31
|
|
|
32
32
|
# Get video details and page comments
|
|
33
33
|
ae-cli community +get_post_detail \
|
|
34
|
-
--space-id 1
|
|
34
|
+
--space-id 1 \
|
|
35
35
|
--channel-id 1 --uuid <uuid> --resource-type 1 \
|
|
36
36
|
--reply-page-num 1 --reply-page-size 20
|
|
37
37
|
```
|
|
@@ -9,8 +9,8 @@ Mapping command: `ae-cli community +get_risk_content`
|
|
|
9
9
|
|
|
10
10
|
| Flag | Type | Required | Description |
|
|
11
11
|
|------|------|------|------|
|
|
12
|
-
| `--space-id` |
|
|
13
|
-
| `--game-id` |
|
|
12
|
+
| `--space-id` | int64 | yes | Community space ID returned by `community spaces list` |
|
|
13
|
+
| `--game-id` | int64 | no | Deprecated compatibility alias; omit it, or make it equal to `--space-id` |
|
|
14
14
|
| `--start-time` | string | Yes | Lower limit of release time for risky content, format yyyy-MM-dd |
|
|
15
15
|
| `--end-time` | string | yes | upper limit of release time for risky content, format yyyy-MM-dd |
|
|
16
16
|
| `--risk-codes` | string | No | List of risk type codes, comma separated |
|
|
@@ -25,18 +25,18 @@ Mapping command: `ae-cli community +get_risk_content`
|
|
|
25
25
|
```bash
|
|
26
26
|
# Query risk content
|
|
27
27
|
ae-cli community +get_risk_content \
|
|
28
|
-
--space-id 1
|
|
28
|
+
--space-id 1 \
|
|
29
29
|
--start-time 2024-01-01 --end-time 2024-01-07
|
|
30
30
|
|
|
31
31
|
# Filter by risk type
|
|
32
32
|
ae-cli community +get_risk_content \
|
|
33
|
-
--space-id 1
|
|
33
|
+
--space-id 1 \
|
|
34
34
|
--start-time 2024-01-01 --end-time 2024-01-07 \
|
|
35
35
|
--risk-codes 1,2
|
|
36
36
|
|
|
37
37
|
# Keyword search
|
|
38
38
|
ae-cli community +get_risk_content \
|
|
39
|
-
--space-id 1
|
|
39
|
+
--space-id 1 \
|
|
40
40
|
--start-time 2024-01-01 --end-time 2024-01-07 \
|
|
41
41
|
--search-word "violating keywords"
|
|
42
42
|
```
|
|
@@ -9,8 +9,8 @@ Mapping command: `ae-cli community +get_sentiment_overview`
|
|
|
9
9
|
|
|
10
10
|
| Flag | Type | Required | Description |
|
|
11
11
|
|------|------|------|------|
|
|
12
|
-
| `--space-id` |
|
|
13
|
-
| `--game-id` |
|
|
12
|
+
| `--space-id` | int64 | yes | Community space ID returned by `community spaces list` |
|
|
13
|
+
| `--game-id` | int64 | no | Deprecated compatibility alias; omit it, or make it equal to `--space-id` |
|
|
14
14
|
| `--channel-id-list` | string | No | List of channel IDs, comma separated |
|
|
15
15
|
| `--start-time` | string | Yes | Start date for statistics, format yyyy-MM-dd |
|
|
16
16
|
| `--end-time` | string | Yes | End date for statistics, format yyyy-MM-dd |
|
|
@@ -22,12 +22,12 @@ Mapping command: `ae-cli community +get_sentiment_overview`
|
|
|
22
22
|
```bash
|
|
23
23
|
#emotionoverview
|
|
24
24
|
ae-cli community +get_sentiment_overview \
|
|
25
|
-
--space-id 1
|
|
25
|
+
--space-id 1 \
|
|
26
26
|
--start-time 2024-01-01 --end-time 2024-01-07
|
|
27
27
|
|
|
28
28
|
# Limit the number of returns
|
|
29
29
|
ae-cli community +get_sentiment_overview \
|
|
30
|
-
--space-id 1
|
|
30
|
+
--space-id 1 \
|
|
31
31
|
--start-time 2024-01-01 --end-time 2024-01-07 \
|
|
32
32
|
--limit 50
|
|
33
33
|
```
|
|
@@ -9,8 +9,8 @@ Mapping command: `ae-cli community +get_tag_trends`
|
|
|
9
9
|
|
|
10
10
|
| Flag | Type | Required | Description |
|
|
11
11
|
|------|------|------|------|
|
|
12
|
-
| `--space-id` |
|
|
13
|
-
| `--game-id` |
|
|
12
|
+
| `--space-id` | int64 | yes | Community space ID returned by `community spaces list` |
|
|
13
|
+
| `--game-id` | int64 | no | Deprecated compatibility alias; omit it, or make it equal to `--space-id` |
|
|
14
14
|
| `--tag-code` | string | Yes | Tag code (obtain via `get_corpus_tags`) |
|
|
15
15
|
| `--channel-id-list` | string | No | List of channel IDs, comma separated |
|
|
16
16
|
| `--start-time` | string | No | Start date for statistics, format yyyy-MM-dd |
|
|
@@ -21,7 +21,7 @@ Mapping command: `ae-cli community +get_tag_trends`
|
|
|
21
21
|
```bash
|
|
22
22
|
# Get tag trends
|
|
23
23
|
ae-cli community +get_tag_trends \
|
|
24
|
-
--space-id 1
|
|
24
|
+
--space-id 1 \
|
|
25
25
|
--tag-code "game_version" \
|
|
26
26
|
--start-time 2024-01-01 --end-time 2024-01-07
|
|
27
27
|
```
|
|
@@ -9,8 +9,8 @@ Mapping command: `ae-cli community +get_topic_detail`
|
|
|
9
9
|
|
|
10
10
|
| Flag | Type | Required | Description |
|
|
11
11
|
|------|------|------|------|
|
|
12
|
-
| `--space-id` |
|
|
13
|
-
| `--game-id` |
|
|
12
|
+
| `--space-id` | int64 | yes | Community space ID returned by `community spaces list` |
|
|
13
|
+
| `--game-id` | int64 | no | Deprecated compatibility alias; omit it, or make it equal to `--space-id` |
|
|
14
14
|
| `--topic-id` | string | yes | Topic ID, obtained from get_hot_topics |
|
|
15
15
|
| `--start-time` | string | Yes | Statistics start date, format yyyy-MM-dd, priority is given to the start time of the topic |
|
|
16
16
|
| `--end-time` | string | Yes | Statistics end date, format yyyy-MM-dd, priority is given to the end time of the topic |
|
|
@@ -20,7 +20,7 @@ Mapping command: `ae-cli community +get_topic_detail`
|
|
|
20
20
|
```bash
|
|
21
21
|
# Get topic details
|
|
22
22
|
ae-cli community +get_topic_detail \
|
|
23
|
-
--space-id 1
|
|
23
|
+
--space-id 1 \
|
|
24
24
|
--topic-id <topic-id> \
|
|
25
25
|
--start-time 2024-01-01 --end-time 2024-01-07
|
|
26
26
|
```
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# List Configured Community Sources
|
|
2
|
+
|
|
3
|
+
Use this L2 command when an ingestion or reporting workflow needs the exact source and channel IDs
|
|
4
|
+
configured in a selected community space.
|
|
5
|
+
|
|
6
|
+
## Command
|
|
7
|
+
|
|
8
|
+
```bash
|
|
9
|
+
ae-cli community sources list --space-id <space-id>
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
## Input
|
|
13
|
+
|
|
14
|
+
| Flag | Required | Description |
|
|
15
|
+
|---|---|---|
|
|
16
|
+
| `--space-id` | yes | Positive signed int64 space ID returned by `community spaces list`. |
|
|
17
|
+
|
|
18
|
+
The command is backed by `community.source.list` and requires the product's data-configuration view
|
|
19
|
+
permission. A permission error does not mean that the space has no data sources.
|
|
20
|
+
|
|
21
|
+
## Output and next step
|
|
22
|
+
|
|
23
|
+
Each source includes its `sourceId`, `sourceName`, `sourceType`, `channelId`, and `channelName`, plus
|
|
24
|
+
the configured template/config metadata. Preserve every digit of IDs exactly.
|
|
25
|
+
|
|
26
|
+
For `community data report`, select the source that matches the real data producer, then pass its
|
|
27
|
+
`sourceId` as `--source-id` and its `channelId` as `--channel-id`. Do not choose a source by position
|
|
28
|
+
in the list and never fabricate a missing source.
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# ae-community spaces list
|
|
2
|
+
|
|
3
|
+
List the community spaces available to the authenticated user. Run this before curated community
|
|
4
|
+
analysis when the real `spaceId` is unknown.
|
|
5
|
+
|
|
6
|
+
Mapping command: `ae-cli community spaces list`
|
|
7
|
+
|
|
8
|
+
Capability: `community.space.list`
|
|
9
|
+
|
|
10
|
+
## Flags
|
|
11
|
+
|
|
12
|
+
No command-specific flags are required. Authentication and host selection use the standard ae-cli
|
|
13
|
+
configuration and global flags.
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
ae-cli community spaces list
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
Use the returned `spaceId` as `--space-id` for `+get_channel_info` and the other curated commands.
|
|
22
|
+
IDs outside JavaScript's safe integer range are emitted as strings in JSON. Copy all digits exactly
|
|
23
|
+
and never convert an ID to a floating-point number.
|
|
24
|
+
|
|
25
|
+
## Returned count and failures
|
|
26
|
+
|
|
27
|
+
A successful array response includes `meta.returned_count`, calculated by the CLI from the number
|
|
28
|
+
of entries in `data`. Use it when reporting how many entries this call returned; verify that the
|
|
29
|
+
number matches the rows you display. It is not a global total or a count of unique space IDs.
|
|
30
|
+
If the server also supplies `returned_count`, the CLI's array count takes precedence. Other server
|
|
31
|
+
metadata, including `total` when present, is preserved with its original meaning.
|
|
32
|
+
|
|
33
|
+
The count describes the original response before any `--jq` projection or filtering. If you filter
|
|
34
|
+
the displayed rows locally, state the displayed count separately rather than presenting
|
|
35
|
+
`meta.returned_count` as the filtered count.
|
|
36
|
+
|
|
37
|
+
`ok: true`, `data: []`, and `meta.returned_count: 0` mean this successful call returned no visible
|
|
38
|
+
spaces. Authentication, permission, routing, and capability failures remain failures; never turn
|
|
39
|
+
them into an empty successful list or infer zero available spaces from an error.
|