GET
/
waap
/
v1
/
domains
/
{domain_id}
/
insight-silences
import os
from gcore import Gcore

client = Gcore(
    api_key=os.environ.get("GCORE_API_KEY"),  # This is the default and can be omitted
)
page = client.waap.domains.insight_silences.list(
    domain_id=0,
)
page = page.results[0]
print(page.id)
{
  "limit": 123,
  "offset": 123,
  "count": 123,
  "results": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "insight_type": "<string>",
      "labels": {},
      "comment": "<string>",
      "author": "<string>",
      "expire_at": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Path Parameters

domain_id
integer
required

The domain ID

Query Parameters

ordering
enum<string>
default:-id

Sort the response by given field.

Available options:
id,
-id,
insight_type,
-insight_type,
comment,
-comment,
author,
-author,
expire_at,
-expire_at
limit
integer
default:100

Number of items to return

Required range: 0 <= x <= 100
offset
integer
default:0

Number of items to skip

Required range: 0 <= x <= 100000
id
string[] | null

The ID of the insight silence

insight_type
string[] | null

The type of the insight silence

comment
string | null

The comment of the insight silence

author
string | null

The author of the insight silence

Response

200
application/json

Successful Response

The response is of type object.