MindSphere CLI: mdsp delivery-jobs Command

Syntax:

mdsp delivery-jobs

Help:

mdsp delivery-jobs --help

Alternative form:

mc delivery-jobs

(The CLI was using mc as default command name in older versions)

Description

manage mqtt delivery jobs to publish MQTT commands to the clients *

Usage

Parameter list:

Usage: mc delivery-jobs|dj [options]

manage mqtt delivery jobs to publish MQTT commands to the clients *

Options:
  -m, --mode [list|create|delete|template|info|commands|commandinfo]  list | create | delete | template | info | commands | commandinfo
                                                                      (default: "list")
  -f, --file                                                    .mdsp.json file with job definition (default:
                                                                      "deliveryjob.mqtt.mdsp.json")
  -i, --jobid                                                  the job id
  -c, --commandid                                          the command id
  -e, --name                                                    the name filter (contains) for list command
  -t, --filter                                                the JSON filter as specified in the API documentation
  -o, --overwrite                                                     overwrite template file if it already exists
  -k, --passkey                                              passkey
  -y, --retry                                                 retry attempts before giving up (default: "3")
  -v, --verbose                                                       verbose output
  -h, --help                                                          display help for command

Examples

Here are some examples of how to use the mdsp delivery-jobs command:


  Examples:

    mdsp delivery-jobs --mode list 					 list all jobs
    mdsp delivery-jobs --mode list --name  				 list all mqtt delivery jobs with the given name
    mdsp delivery-jobs --mode list --filter '{"createdAt": {"after": "2021-11-06T13:46:00Z"}}'  
                                                                         list all mqtt delivery jobs created after the specified date
    mdsp delivery-jobs --mode template 					 create template file for job creation
    mdsp delivery-jobs --mode create --file  		 create job
    mdsp delivery-jobs --mode info --jobid  			 get infos about the job
    mdsp delivery-jobs --mode delete --jobid  			 delete job with job id
    mdsp delivery-jobs --mode commands --jobid  			 list all commands for specified job id
    mdsp delivery-jobs --mode commandinfo --jobid  --commandid   
                                                                         get info for selected command

See MindSphere API documentation for more information about MindSphere APIs.

The content of the community tools and libraries documentation pages is licensed under the MIT License.
Siemens API Notice applies.
Back to top