...

Text file src/google.golang.org/api/abusiveexperiencereport/v1/abusiveexperiencereport-api.json

Documentation: google.golang.org/api/abusiveexperiencereport/v1

     1{
     2  "basePath": "",
     3  "baseUrl": "https://abusiveexperiencereport.googleapis.com/",
     4  "batchPath": "batch",
     5  "canonicalName": "Abusive Experience Report",
     6  "description": "Views Abusive Experience Report data, and gets a list of sites that have a significant number of abusive experiences.",
     7  "discoveryVersion": "v1",
     8  "documentationLink": "https://developers.google.com/abusive-experience-report/",
     9  "fullyEncodeReservedExpansion": true,
    10  "icons": {
    11    "x16": "http://www.google.com/images/icons/product/search-16.gif",
    12    "x32": "http://www.google.com/images/icons/product/search-32.gif"
    13  },
    14  "id": "abusiveexperiencereport:v1",
    15  "kind": "discovery#restDescription",
    16  "mtlsRootUrl": "https://abusiveexperiencereport.mtls.googleapis.com/",
    17  "name": "abusiveexperiencereport",
    18  "ownerDomain": "google.com",
    19  "ownerName": "Google",
    20  "parameters": {
    21    "$.xgafv": {
    22      "description": "V1 error format.",
    23      "enum": [
    24        "1",
    25        "2"
    26      ],
    27      "enumDescriptions": [
    28        "v1 error format",
    29        "v2 error format"
    30      ],
    31      "location": "query",
    32      "type": "string"
    33    },
    34    "access_token": {
    35      "description": "OAuth access token.",
    36      "location": "query",
    37      "type": "string"
    38    },
    39    "alt": {
    40      "default": "json",
    41      "description": "Data format for response.",
    42      "enum": [
    43        "json",
    44        "media",
    45        "proto"
    46      ],
    47      "enumDescriptions": [
    48        "Responses with Content-Type of application/json",
    49        "Media download with context-dependent Content-Type",
    50        "Responses with Content-Type of application/x-protobuf"
    51      ],
    52      "location": "query",
    53      "type": "string"
    54    },
    55    "callback": {
    56      "description": "JSONP",
    57      "location": "query",
    58      "type": "string"
    59    },
    60    "fields": {
    61      "description": "Selector specifying which fields to include in a partial response.",
    62      "location": "query",
    63      "type": "string"
    64    },
    65    "key": {
    66      "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
    67      "location": "query",
    68      "type": "string"
    69    },
    70    "oauth_token": {
    71      "description": "OAuth 2.0 token for the current user.",
    72      "location": "query",
    73      "type": "string"
    74    },
    75    "prettyPrint": {
    76      "default": "true",
    77      "description": "Returns response with indentations and line breaks.",
    78      "location": "query",
    79      "type": "boolean"
    80    },
    81    "quotaUser": {
    82      "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
    83      "location": "query",
    84      "type": "string"
    85    },
    86    "uploadType": {
    87      "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
    88      "location": "query",
    89      "type": "string"
    90    },
    91    "upload_protocol": {
    92      "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
    93      "location": "query",
    94      "type": "string"
    95    }
    96  },
    97  "protocol": "rest",
    98  "resources": {
    99    "sites": {
   100      "methods": {
   101        "get": {
   102          "description": "Gets a site's Abusive Experience Report summary.",
   103          "flatPath": "v1/sites/{sitesId}",
   104          "httpMethod": "GET",
   105          "id": "abusiveexperiencereport.sites.get",
   106          "parameterOrder": [
   107            "name"
   108          ],
   109          "parameters": {
   110            "name": {
   111              "description": "Required. The name of the site whose summary to get, e.g. `sites/http%3A%2F%2Fwww.google.com%2F`. Format: `sites/{site}`",
   112              "location": "path",
   113              "pattern": "^sites/[^/]+$",
   114              "required": true,
   115              "type": "string"
   116            }
   117          },
   118          "path": "v1/{+name}",
   119          "response": {
   120            "$ref": "SiteSummaryResponse"
   121          }
   122        }
   123      }
   124    },
   125    "violatingSites": {
   126      "methods": {
   127        "list": {
   128          "description": "Lists sites that are failing in the Abusive Experience Report.",
   129          "flatPath": "v1/violatingSites",
   130          "httpMethod": "GET",
   131          "id": "abusiveexperiencereport.violatingSites.list",
   132          "parameterOrder": [],
   133          "parameters": {},
   134          "path": "v1/violatingSites",
   135          "response": {
   136            "$ref": "ViolatingSitesResponse"
   137          }
   138        }
   139      }
   140    }
   141  },
   142  "revision": "20200803",
   143  "rootUrl": "https://abusiveexperiencereport.googleapis.com/",
   144  "schemas": {
   145    "SiteSummaryResponse": {
   146      "description": "Response message for GetSiteSummary.",
   147      "id": "SiteSummaryResponse",
   148      "properties": {
   149        "abusiveStatus": {
   150          "description": "The site's Abusive Experience Report status.",
   151          "enum": [
   152            "UNKNOWN",
   153            "PASSING",
   154            "FAILING"
   155          ],
   156          "enumDescriptions": [
   157            "Not reviewed.",
   158            "Passing.",
   159            "Failing."
   160          ],
   161          "type": "string"
   162        },
   163        "enforcementTime": {
   164          "description": "The time at which [enforcement](https://support.google.com/webtools/answer/7538608) against the site began or will begin. Not set when the filter_status is OFF.",
   165          "format": "google-datetime",
   166          "type": "string"
   167        },
   168        "filterStatus": {
   169          "description": "The site's [enforcement status](https://support.google.com/webtools/answer/7538608).",
   170          "enum": [
   171            "UNKNOWN",
   172            "ON",
   173            "OFF",
   174            "PAUSED",
   175            "PENDING"
   176          ],
   177          "enumDescriptions": [
   178            "N/A.",
   179            "Enforcement is on.",
   180            "Enforcement is off.",
   181            "Enforcement is paused.",
   182            "Enforcement is pending."
   183          ],
   184          "type": "string"
   185        },
   186        "lastChangeTime": {
   187          "description": "The time at which the site's status last changed.",
   188          "format": "google-datetime",
   189          "type": "string"
   190        },
   191        "reportUrl": {
   192          "description": "A link to the full Abusive Experience Report for the site. Not set in ViolatingSitesResponse. Note that you must complete the [Search Console verification process](https://support.google.com/webmasters/answer/9008080) for the site before you can access the full report.",
   193          "type": "string"
   194        },
   195        "reviewedSite": {
   196          "description": "The name of the reviewed site, e.g. `google.com`.",
   197          "type": "string"
   198        },
   199        "underReview": {
   200          "description": "Whether the site is currently under review.",
   201          "type": "boolean"
   202        }
   203      },
   204      "type": "object"
   205    },
   206    "ViolatingSitesResponse": {
   207      "description": "Response message for ListViolatingSites.",
   208      "id": "ViolatingSitesResponse",
   209      "properties": {
   210        "violatingSites": {
   211          "description": "The list of violating sites.",
   212          "items": {
   213            "$ref": "SiteSummaryResponse"
   214          },
   215          "type": "array"
   216        }
   217      },
   218      "type": "object"
   219    }
   220  },
   221  "servicePath": "",
   222  "title": "Abusive Experience Report API",
   223  "version": "v1",
   224  "version_module": true
   225}

View as plain text