Skip to content

Latest commit

 

History

History
115 lines (78 loc) · 2.71 KB

File metadata and controls

115 lines (78 loc) · 2.71 KB

Fastly::ProductDomainResearchApi

require 'fastly'
api_instance = Fastly::ProductDomainResearchApi.new

Methods

Note

All URIs are relative to https://api.fastly.com

Method HTTP request Description
disable_product_domain_research DELETE /enabled-products/v1/domain_research Disable product
enable_domain_research PUT /enabled-products/v1/domain_research Enable product
get_domain_research GET /enabled-products/v1/domain_research Get product enablement status

disable_product_domain_research()

disable_product_domain_research # Disable product

Disable the Domain Research product.

Examples

api_instance = Fastly::ProductDomainResearchApi.new

begin
  # Disable product
  api_instance.disable_product_domain_research
rescue Fastly::ApiError => e
  puts "Error when calling ProductDomainResearchApi->disable_product_domain_research: #{e}"
end

Options

This endpoint does not need any parameter.

Return type

nil (empty response body)

[Back to top] [Back to API list] [Back to README]

enable_domain_research()

enable_domain_research: <DomainResearchResponseBodyEnable> # Enable product

Enable the Domain Research product.

Examples

api_instance = Fastly::ProductDomainResearchApi.new

begin
  # Enable product
  result = api_instance.enable_domain_research
  p result
rescue Fastly::ApiError => e
  puts "Error when calling ProductDomainResearchApi->enable_domain_research: #{e}"
end

Options

This endpoint does not need any parameter.

Return type

DomainResearchResponseBodyEnable

[Back to top] [Back to API list] [Back to README]

get_domain_research()

get_domain_research: <DomainResearchResponseBodyEnable> # Get product enablement status

Get the enablement status of the Domain Research product.

Examples

api_instance = Fastly::ProductDomainResearchApi.new

begin
  # Get product enablement status
  result = api_instance.get_domain_research
  p result
rescue Fastly::ApiError => e
  puts "Error when calling ProductDomainResearchApi->get_domain_research: #{e}"
end

Options

This endpoint does not need any parameter.

Return type

DomainResearchResponseBodyEnable

[Back to top] [Back to API list] [Back to README]