cURL
curl --request POST \ --url https://app.aegister.com/api/v1/cloud-defender/{id}/traffic \ --header 'Content-Type: application/json' \ --header 'X-Aegister-Token: <api-key>' \ --data '"<string>"'
{ "error": 0, "messages": "<array>" }
Create Cloud Defender traffic logs in the Web Application. You can create only Cloud Defender traffic logs for organizations you can manage.
Specify 'attachment' as content disposition and file name.
JSON file containing access log lines
Any value different from 0 indicates an error. More details can be found in messages.
messages
0 <= x <= 0
0
If error is 1, contains zero or more details on the error.
error
1
[]