Add asset links to a single alarm
PUT/alarm/assets
Adds links between assets and one existing alarm.
The request body is a list for backward compatibility, but this operation now has single-alarm semantics:
every item must contain the same id.realm and the same id.alarmId. The alarm must exist in that realm,
every asset must exist in the same realm, and the authenticated user must have access to that realm. Requests
containing mixed alarm IDs or realms are rejected as bad requests.
Existing links are left unchanged; duplicate links in the request or links that already exist are ignored. This operation does not remove existing links from the alarm.
Request
Responses
- 204
- 400
- 401
- 403
- 404
The request completed successfully; no response body is returned
The request parameters or body are invalid
Authentication is required or the supplied credentials are invalid
The authenticated user does not have permission to perform this operation
The requested resource does not exist