Network comments#

Adding network comments#

To add a network comment, the network comments endpoint must be used with a POST operation. The response body will be the network comment formatted as JSON.

curl -X PUT -H "Argus-API-Key: my/api/key" -H "Content-Type: application/json" https://api.mnemonic.no/customernetworks/v1/network/<id>/comments -d '{
  "comment": "this is a comment",
}'

Tip

For more detailed information on what the response model looks like, you can check out the Swagger API documentation.

Fetching network comments#

To fetch network comments, the network comments endpoint must be used with a GET operation. The response body will be the comments for the specified network formatted as JSON. The endpoint supports the following query parameters:

Query param

Default value

Description

limit

25

The maximum number of comments to return

offset

0

The offset into the result set to return comments from

curl -X PUT -H "Argus-API-Key: my/api/key" https://api.mnemonic.no/customernetworks/v1/network/<id>/comments?offset=0&limit=25

Tip

For more detailed information on what the response model looks like, you can check out the Swagger API documentation.

Deleting a network comment#

To delete a network comment, the network comments endpoint must be used with a DELETE operation. The response body will be the deleted network comment formatted as JSON.

curl -X DELETE -H "Argus-API-Key: my/api/key" https://api.mnemonic.no/customernetworks/v1/network/<id>/comments/<id>

Tip

For more detailed information on what the response model looks like, you can check out the Swagger API documentation.