GET/core-log/:trafficSourceIdtrafficSourceId | string | Yes | The ID of the traffic source. |Authorization header of the request. The token must be obtained through the user authentication route.Authorization: Bearer <your-token-here>bash
curl -X GET http://localhost:3000/core-log/d290f1ee-6c54-4b01-90e6-d701748f0851
200 OKjson
{"statusCode": 200,"data": [{"id": "c290f1ee-6c54-4b01-90e6-d701748f0852","title": "Sample Log 1","description": "This is a sample log.","source": "Server A","layer": "Application","stack": "...","createdAt": "2024-06-12T10:00:00.000Z","httpTrafficId": "b290f1ee-6c54-4b01-90e6-d701748f0853"},{"id": "e290f1ee-6c54-4b01-90e6-d701748f0854","title": "Sample Log 2","description": "This is another example log.","source": "Server B","layer": "Database","stack": "...","createdAt": "2024-06-12T10:05:00.000Z","httpTrafficId": "b290f1ee-6c54-4b01-90e6-d701748f0853"}]}
json
{"data": [],"meta": {"total": 0,"page": 1,"limit": 10}}
404 Not Foundjson
{"statusCode": 404,"error": "Traffic Source not found"}
400 Bad Requestjson
{"statusCode": 400,"error": "Validation error: 'trafficSourceId' must be a valid UUID."}
500 Internal Server Errorjson
{"statusCode": 500,"error": "Internal Server Error"}