eclipse / hawkbit

Eclipse hawkBit™
https://projects.eclipse.org/projects/iot.hawkbit
Eclipse Public License 2.0
453 stars 187 forks source link

Management API to access the externalRef property of deployment actions #1650

Closed stefbehl closed 6 months ago

stefbehl commented 6 months ago

Currently the "externalRef" property of deployment actions is not exposed via the Management API of Eclipse hawkBit.

Since externalRef is a useful concept to correlate actions with other entities (for example in integration scenarios), it would be great, if the property is exposed as part of the JSON-based API representation of actions. The following Management API endpoints are affected:

Furthermore, it would be great if the "/rest/v1/actions" resource collection allows to filter actions based on their externalRef property:

Feedback is appreciated. Thanks a lot for your support!

avgustinmm commented 6 months ago

@stefbehl, thanks for the observation and the feature request.

It seems to me pretty reasonable. Since the Management REST API is the only external Northbound interface it shall provide access to all action attributes including externalrefs.