DeviceComment

Creates a device comment.

Request body: JSON object. This endpoint stores the comment text from value after HTML-encoding it. If the device does not already have a comment collection, one is created automatically before the comment is added.

post/v1/device/{deviceID}/comment

Request

  • Base URL: https://api.actionstreamer.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.actionstreamer.com/v1/device/{deviceID}/comment
  • Auth: none declared

Path parameters

deviceIDinteger required
Example:1

The ID of the device to comment on.

Request body

valuestring nullable

Example request

{
  "value": "Example value"
}

Response

Success

keyinteger
commentTextstring nullable
commentDatestring date-time nullable
creationDatestring date-time nullable

Example response

{
  "key": 1,
  "commentText": "Example value",
  "commentDate": "2026-03-30T12:00:00.0000000Z",
  "creationDate": "2026-03-30T12:00:00.0000000Z"
}

Changes

No recorded changes to this operation across all 1 revision of this API.