Devops

Send a piggyback command to a specific service

POST
https://ditto.eclipseprojects.io/devops/piggyback/{serviceName}

Send a piggyback command to a specific service

Body

application/json

Fields to send a command

targetActorSelectionstring
headersobject
Show child attributes
aggregatebooleanfalse
is-group-topicbooleantrue
piggybackCommandobject
Show child attributes
typestring

Parameters

serviceNamestringthingspoliciesconnectivityrequiredpath

Specified service target for the command execution

timeoutstringquery

Defines how long the backend should wait for completion of the request, e.g. applied when waiting for requested acknowledgements via the requested-acks param. Can be specified without unit (then seconds are assumed) or together with s, ms or m unit. Example: 42s, 1m.

The default (if omitted) and maximum timeout is 60s. A value of 0 applies fire and forget semantics for the command resulting in setting response-required=false.

Response

Return The current value of logging level

Response fields application/json
targetActorSelectionstring
headersobject
Show child attributes
aggregatebooleanfalse
is-group-topicbooleantrue
piggybackCommandobject
Show child attributes
typestring
400Bad RequestAdvancedError

The request could not be completed. At least one of the defined query parameters was invalid.

Response fields application/json
statusintegerrequired

The HTTP status of the error

errorstringrequired

The error code of the occurred exception

messagestringrequired

The message of the error - what went wrong

descriptionstring

A description how to fix the error or more details

hrefstring

A link to further information about the error and how to fix it

401UnauthorizedTextUnauthorizeError

The request could not be completed due to missing authentication.

Response fields text/plain
TextUnauthorizeError
Example
The supplied authentication is invalid

Authorization

DevOpsBasichttp (basic)

Eclipse Ditto devops user (devops) + password (foobar)

DevOpsBearerhttp (bearer)

A JSON Web Token issued by a supported OAuth 2.0 Identity Provider for the Eclipse Ditto devops user.