get(siteUrl, url, category, platform)
Retrieves details about crawl errors for a site's sample URL.
list(siteUrl, category, platform)
Lists a site's sample URLs for the specified crawl error category and platform.
markAsFixed(siteUrl, url, category, platform)
Marks the provided site's sample URL as fixed, and removes it from the samples list.
get(siteUrl, url, category, platform)
Retrieves details about crawl errors for a site's sample URL. Args: siteUrl: string, The site's URL, including protocol. For example: http://www.example.com/ (required) url: string, The relative path (without the site) of the sample URL. It must be one of the URLs returned by list(). For example, for the URL https://www.example.com/pagename on the site https://www.example.com/, the url value is pagename (required) category: string, The crawl error category. For example: authPermissions (required) Allowed values authPermissions - flashContent - manyToOneRedirect - notFollowed - notFound - other - roboted - serverError - soft404 - platform: string, The user agent type (platform) that made the request. For example: web (required) Allowed values mobile - smartphoneOnly - web - Returns: An object of the form: { # Contains information about specific crawl errors. "urlDetails": { # Additional details about the URL, set only when calling get(). # Additional details about the URL, set only when calling get(). "containingSitemaps": [ # List of sitemaps pointing at this URL. "A String", ], "linkedFromUrls": [ # A sample set of URLs linking to this URL. "A String", ], }, "first_detected": "A String", # The time the error was first detected, in RFC 3339 format. "pageUrl": "A String", # The URL of an error, relative to the site. "responseCode": 42, # The HTTP response code, if any. "last_crawled": "A String", # The time when the URL was last crawled, in RFC 3339 format. }
list(siteUrl, category, platform)
Lists a site's sample URLs for the specified crawl error category and platform. Args: siteUrl: string, The site's URL, including protocol. For example: http://www.example.com/ (required) category: string, The crawl error category. For example: authPermissions (required) Allowed values authPermissions - flashContent - manyToOneRedirect - notFollowed - notFound - other - roboted - serverError - soft404 - platform: string, The user agent type (platform) that made the request. For example: web (required) Allowed values mobile - smartphoneOnly - web - Returns: An object of the form: { # List of crawl error samples. "urlCrawlErrorSample": [ # Information about the sample URL and its crawl error. { # Contains information about specific crawl errors. "urlDetails": { # Additional details about the URL, set only when calling get(). # Additional details about the URL, set only when calling get(). "containingSitemaps": [ # List of sitemaps pointing at this URL. "A String", ], "linkedFromUrls": [ # A sample set of URLs linking to this URL. "A String", ], }, "first_detected": "A String", # The time the error was first detected, in RFC 3339 format. "pageUrl": "A String", # The URL of an error, relative to the site. "responseCode": 42, # The HTTP response code, if any. "last_crawled": "A String", # The time when the URL was last crawled, in RFC 3339 format. }, ], }
markAsFixed(siteUrl, url, category, platform)
Marks the provided site's sample URL as fixed, and removes it from the samples list. Args: siteUrl: string, The site's URL, including protocol. For example: http://www.example.com/ (required) url: string, The relative path (without the site) of the sample URL. It must be one of the URLs returned by list(). For example, for the URL https://www.example.com/pagename on the site https://www.example.com/, the url value is pagename (required) category: string, The crawl error category. For example: authPermissions (required) Allowed values authPermissions - flashContent - manyToOneRedirect - notFollowed - notFound - other - roboted - serverError - soft404 - platform: string, The user agent type (platform) that made the request. For example: web (required) Allowed values mobile - smartphoneOnly - web -