ranking_top
Creates, updates, deletes, gets or lists a ranking_top resource.
Overview
| Name | ranking_top |
| Type | Resource |
| Id | cloudflare.radar.ranking_top |
Fields
The following fields are returned by SELECT queries:
- list
Successful response.
| Name | Datatype | Description |
|---|---|---|
meta | object | |
top_0 | array |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | limit, name, location, domainCategory, date, rankingType, format | Retrieves the top or trending domains based on their rank. Popular domains are domains of broad appeal based on how people use the Internet. Trending domains are domains that are generating a surge in interest. For more information on top domains, see https://blog.cloudflare.com/radar-domain-rankings/. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
date | array | Filters results by the specified array of dates. |
domainCategory | array | Filters results by domain category. |
format | string | Format in which results will be returned. |
limit | integer | Limits the number of objects returned in the response. |
location | array | Filters results by location. Specify a comma-separated list of alpha-2 location codes. |
name | array | Array of names used to label the series in the response. |
rankingType | string | The ranking type. |
SELECT examples
- list
Retrieves the top or trending domains based on their rank. Popular domains are domains of broad appeal based on how people use the Internet. Trending domains are domains that are generating a surge in interest. For more information on top domains, see https://blog.cloudflare.com/radar-domain-rankings/.
SELECT
meta,
top_0
FROM cloudflare.radar.ranking_top
WHERE limit = '{{ limit }}'
AND name = '{{ name }}'
AND location = '{{ location }}'
AND domainCategory = '{{ domainCategory }}'
AND date = '{{ date }}'
AND rankingType = '{{ rankingType }}'
AND format = '{{ format }}'
;