Note: Reports is an extension and needs to be enabled before it can be used. If Designate returns a 404 error, ensure that the following line has been added to the designate.conf file:
enabled_extensions_v1 = reports, ...
Reports about things in the system
GET
/reports/tenants
¶Fetch all tenants
Example request:
GET /reports/tenants HTTP/1.1
Host: example.com
Accept: application/json
Content-Type: application/json
Example response:
HTTP/1.1 200 OK
Vary: Accept
Content-Type: application/json
{
"tenants": [{
"domain_count": 2,
"id": "71ee6d049a49435c8f7dd002cfe08d96"
}]
}
Form Parameters: | |
---|---|
|
|
Status Codes: |
|
GET
/reports/tenants/
(tenant_id)¶Report tenant resources
Example request:
GET /reports/tenants/3d8391080d4a4ec4b3eadf18e6b1539a HTTP/1.1
Host: example.com
Accept: application/json
Example response:
HTTP/1.1 200 OK
Vary: Accept
Content-Type: application/json
{
"domain_count": 0,
"domains": [],
"id": "3d8391080d4a4ec4b3eadf18e6b1539a"
}
Parameters: |
|
---|---|
Form Parameters: | |
|
|
Status Codes: |
|
GET
/reports/counts
¶Report resource counts
Example request:
GET /reports/counts HTTP/1.1
Host: example.com
Accept: application/json
Example response:
HTTP/1.1 200 OK
Vary: Accept
Content-Type: application/json
{
"domains": 0,
"records": 0,
"tenants": 0
}
Form Parameters: | |
---|---|
|
|
Status Codes: |
|
GET
/reports/counts/tenants
¶Report tenant counts
Example request:
GET /reports/counts/tenants HTTP/1.1
Host: example.com
Accept: application/json
Example response:
HTTP/1.1 200 OK
Vary: Accept
Content-Type: application/json
{
"tenants": 0
}
Form Parameters: | |
---|---|
|
|
Status Codes: |
|
GET
/reports/counts/domains
¶Report domain counts
Example request:
GET /reports/counts/domains HTTP/1.1
Host: example.com
Accept: application/json
Example response:
HTTP/1.1 200 OK
Vary: Accept
Content-Type: application/json
{
"domains": 0
}
Form Parameters: | |
---|---|
|
|
Status Codes: |
|
GET
/reports/counts/records
¶Report record counts
Example request:
GET /reports/counts/records HTTP/1.1
Host: example.com
Accept: application/json
Example response:
HTTP/1.1 200 OK
Vary: Accept
Content-Type: application/json
{
"records": 0
}
Form Parameters: | |
---|---|
|
|
Status Codes: |
|
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.