Get Logger Groups

Gets the list of logger groups.

HTTP Request

GET /api/sonar/logger-groups
Request using cURL
curl -H "Authorization: Bearer <API_KEY>" \
Request Parameters
offsetX32-bit integerNumber of records to skipDefault: 0
limitX32-bit integerMaximum number of records to loadDefault: unlimited

Success Response

  "total_count": 1,
  "logger_groups": [
      "guid": "0565a218-a78d-43ff-89b6-a9899adcf8c5",
      "name": "Firewall",
      "description": null,
      "parent_guid": null,
      "created": "2023-10-01 22:20:44+0900",
      "updated": "2023-10-01 22:20:44+0900"
  • total_count (32-bit integer): Total number of logger groups that match the search keyword
  • logger_groups (Array): Logger group list
    • guid (String): Logger group GUID
    • name (String): Logger group name
    • description (String): Logger group description
    • parent_guid (String): Parent logger group identifier
    • created (String): Creation date and time (yyyy-MM-dd HH:mm:ssZ)
    • updated (String): Last modification date and time (yyyy-MM-dd HH:mm:ssZ)
offset or limit value is not an integer

HTTP status code 400

  "error_code": "invalid-argument",
  "error_msg": "'offset' parameter should be int type"
offset or limit value is not negative

HTTP status code 400

  "error_code": "invalid-argument",
  "error_msg": "'offset' must be greater than or equal to 0."