POST
/
api
/
external
/
warnings-v2
/
details
curl --request POST \
  --url https://backend.nebuly.com/api/external/warnings-v2/details \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "time_range": {
    "kind": "<string>",
    "start": "<string>",
    "end": "<string>"
  },
  "category_id": "<string>"
}'

You will get detailed info given a warning category an also the related list of subcategories. You need an API key to authenticate. See here for more information about the API keys.

time_range
object
required

The time range to consider when computing the metrics and analytics to show.

kind
string
required

The value of the time range. It can be one between today, 7_days, this_month, 30_days, 6_months, 12_months, ytd, custom. If custom is given the values pass in the start and end fields will be used as start date and end date if the time range.

start
string
required

The start date for the time-range. Please consider that this parameter is used only when custom is given as kind.

end
string
required

The end date for the time-range. Please consider that this parameter is used only when custom is given as kind.

category_id
string
required

The category for which you want to get the details. You can get the category id from the Get Warning Categories endpoint.