What is NGSI Go?
The NGSI Go is a command-line interface supporting FIWARE Open APIs, which simplifies syntax. It's a powerful tool and easy to use. It has various features as shown:
- Supported FIWARE Open APIs
- FIWARE NGSI v2 API
- NGSI-LD API
- STH-Comet API
- QuantumLeap API
- Cygnus API
- IoT Agent Provision API
- Perseo API
- Keyrock API
- Application Mashup API
- Various convenience commands
- NGSI commands to manage NGSI Entity, subscription, registration and so on
- Time series commands to manage historical data
- IoT Agent commands to manage IoT Agent Provision APIs
- Rules commands to manage Context-Aware CEP
- Convenience commands
- Print version, health-check status and API lists of FIWARE GEs
- Admin command for FIWARE Orion
- Copy and remove entities at once
- Create template of subscription or registration
- Notification receiver
- Management commands
- Broker alias or server alias with API endpoint URL, FIWARE Service and FIWARE ServicePath
- Manage @context
- Integrated oauth token management
- Compatible with a number of traditional UNIX commands for filtering text
- A single binary program written in Golang
Contents
Tutorial
Command reference
NGSI
- append append attributes
- create create entity(ies), subscription or registration
- delete delete entity(ies), attribute, subscription or registration
- get get entity(ies), attribute(s), subscription, registration or type
- list list types, entities, subscriptions or registrations
- replace replace entities or attributes
- update update entities, attribute(s) or subscription
- upsert upsert entity or entities
Convenience
- admin: administrative command for FIWARE Orion
- apis: print endpoints of FWARE Open APIs
- cp: copy entities
- wc: print number of entities, subscriptions or registrations
- man: print URLs of the documents related to the NGSI Go
- health: print health status of FIWARE GEs
- ls: list entities
- rm: remove entities
- receiver: notification receiver
- regproxy: registration proxy
- template: create template of subscription or registration
-
version: print the version of Context Broker
-
append: append attributes
- create: create entity(ies), subscription or registration
- delete: delete entity(ies), attribute, subscription or registration
- get: get entity(ies) or attribute(s)
- list: list types, entities, subscriptions or registrations
- replace: replace entities or attributes
- update: update entities, attribute(s) or subscription
- upsert: upsert entities
Time series
Persisting context data
- namemappings: manage namemappings for Cygnus
- groupingrules: manage groupingrules for Cygnus
IoT Agent
Context-Aware CEP
- rules: rules command for Perseo
Keyrock
- users: manage users
- organizations: manage organizations for Keyrock
- users: manage users of an organization for Keyrock
- applications: manage applications for Keyrock
- roles: manage roles
- permissions: manage permissions
- organizations: mange organizations in an application
- pep-proxies: mange PEP Proxies
- iot-agent: maage IoT Agents
- trusted-applications.md: manage trusted applications
- providers: print service providers for Keyrock
application Mashup
- preferences manage preferences for WireCloud
- macs manage mashable application components for WireCloud
- workspaces manage workspaces for WireCloud
- tabs manage tabs for WireCloud
Management
- broker: manage config for broker
- context: manage @context
- settings: manage settings
- server: manage config for server
- token: manage token
Global Options
Files
GitHub repository
Copyright and License
Copyright (c) 2020-2022 Kazuhito Suda
Licensed under the MIT License.