Skip to content

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.

1
2
3
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:

1
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.

1
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.