Loading...
Loading...
Compare original and translation side by side
npx skills add kzkski/moc-skill -a opencode -y
.agents/skills/moc-skill/scripts/setup-opencode.shsetup-opencode.sh/detailsnpx skills add ./path/to/moc-skill --list
npx skills add ./path/to/moc-skill -a opencode -y
.agents/skills/moc-skill/scripts/setup-opencode.shnpx skills add kzkski/moc-skill -a opencode -y
.agents/skills/moc-skill/scripts/setup-opencode.shsetup-opencode.sh/detailsnpx skills add ./path/to/moc-skill --list
npx skills add ./path/to/moc-skill -a opencode -y
.agents/skills/moc-skill/scripts/setup-opencode.shscripts/orion.shcurlendpoints.jsonnpx skills addmoc-skillscripts/orion.sh.agents/skills/moc-skill/scripts/orion.sh.claude/skills/moc-skill/scripts/orion.sh~/.config/opencode/skills/moc-skill/scripts/orion.sh**/moc-skill/scripts/orion.shORIONorion.shendpoints.jsonORION="/path/to/moc-skill/scripts/orion.sh"ORION_ENDPOINTS_FILEendpoints.jsonscripts/orion.shcurlendpoints.jsonnpx skills addmoc-skillscripts/orion.sh.agents/skills/moc-skill/scripts/orion.sh.claude/skills/moc-skill/scripts/orion.sh~/.config/opencode/skills/moc-skill/scripts/orion.sh**/moc-skill/scripts/orion.shORIONorion.shendpoints.jsonORION="/path/to/moc-skill/scripts/orion.sh"ORION_ENDPOINTS_FILEendpoints.jsonorion.shorion.shendpoints.jsontypesGET /v2/typesnoteservice=type=endpointsnoteentities"${ORION}" endpoints
"${ORION}" entities sagacity service=moc_sagacity limit=10
"${ORION}" count sagacity service=sagacity_topita type=TopitaPointUser
"${ORION}" entities yokosuka type=WeatherForecast limit=5
"${ORION}" entity yokosuka "forecast-001" attrs=locationendpoints.jsontypesGET /v2/typesnoteservice=type=endpointsnoteentities"${ORION}" endpoints
"${ORION}" entities sagacity service=moc_sagacity limit=10
"${ORION}" count sagacity service=sagacity_topita type=TopitaPointUser
"${ORION}" entities yokosuka type=WeatherForecast limit=5
"${ORION}" entity yokosuka "forecast-001" attrs=location| コマンド | 説明 |
|---|---|
| カタログに登録された基盤名・URL・Fiware-Service 一覧・説明を表示 |
| |
| |
| |
| |
| |
<ep>endpoints.jsonSandboxsagacityyokosukaservice=NAMEservice=| 命令 | 说明 |
|---|---|
| 显示目录中已注册的平台名、URL、Fiware-Service列表及说明 |
| 执行 |
| 执行 |
| 执行 |
| 通过 |
| 仅对 |
<ep>endpoints.jsonSandboxsagacityyokosukaservice=NAMEservice=ORION_DRY_RUN=1ORION_DRY_RUN=1 "${ORION}" entities yokosuka type=WeatherForecastORION_DRY_RUN=1ORION_DRY_RUN=1 "${ORION}" entities yokosuka type=WeatherForecastentitiesentitycountraw[k=v ...]raw| パラメータ | 用途 |
|---|---|
| Entity Type でフィルタ(例: |
| 属性条件(例: |
| 返却属性の限定(例: |
| エンティティ ID の正規表現(例: |
| 最大取得件数( |
| ページング開始位置 |
| ソート(例: |
| 地理空間クエリ(例: |
| レスポンス形式( |
entitiesentitycountraw[k=v ...]raw| 参数 | 用途 |
|---|---|
| 按Entity Type过滤(示例: |
| 属性条件过滤(示例: |
| 限定返回的属性(示例: |
| 实体ID的正则匹配(示例: |
| 最大获取数量( |
| 分页起始位置 |
| 排序(示例: |
| 地理空间查询(示例: |
| 响应格式( |
/v2/typesentitiestype=count/v2/[A-Za-z0-9._:~-]+endpoints.jsonFiware-ServiceFiware-ServicePathFiware-Serviceservice=curljq/v2/typesentitiestype=count/v2/[A-Za-z0-9._:~-]+endpoints.jsonFiware-ServiceFiware-ServicePathFiware-Serviceservice=curljqendpoints.jsonendpoints.json{
"endpoints": {
"<名前>": {
"base_url": "https://orion.<自治体>.makeour.city",
"Fiware-Service": "単一ヘッダー値",
"Fiware-ServicePath": "ヘッダー値(不要なら空文字)",
"note": "説明"
},
"sagacity": {
"base_url": "https://orion.sagacity.makeour.city",
"Fiware-Service": [
{ "value": "moc_sagacity", "note": "MoC 佐賀" },
{ "value": "sagacity_topita", "note": "Topita" },
{ "value": "sagacity_ikunowa", "note": "保育園データ" }
],
"Fiware-ServicePath": "",
"note": "複数サービスを1エントリで管理"
}
}
}Fiware-ServicevalueFiware-ServicePathnoteFiware-ServicePath{
"endpoints": {
"<名称>": {
"base_url": "https://orion.<自治体>.makeour.city",
"Fiware-Service": "单一头信息值",
"Fiware-ServicePath": "头信息值(无需则为空字符串)",
"note": "说明"
},
"sagacity": {
"base_url": "https://orion.sagacity.makeour.city",
"Fiware-Service": [
{ "value": "moc_sagacity", "note": "MoC 佐贺" },
{ "value": "sagacity_topita", "note": "Topita" },
{ "value": "sagacity_ikunowa", "note": "保育园数据" }
],
"Fiware-ServicePath": "",
"note": "单个条目管理多个服务"
}
}
}Fiware-ServicevalueFiware-ServicePathnoteFiware-ServicePath