lib/fastly/api/tls_subscriptions_api.rb in fastly-4.0.0.alpha2 vs lib/fastly/api/tls_subscriptions_api.rb in fastly-4.0.0.alpha3

- old
+ new

@@ -2,12 +2,12 @@ #Fastly API #Via the Fastly API you can perform any of the operations that are possible within the management console, including creating services, domains, and backends, configuring rules or uploading your own application code, as well as account operations such as user administration and billing reports. The API is organized into collections of endpoints that allow manipulation of objects related to Fastly services and accounts. For the most accurate and up-to-date API reference content, visit our [Developer Hub](https://developer.fastly.com/reference/api/) The version of the OpenAPI document: 1.0.0 +Contact: oss@fastly.com - =end require 'cgi' module Fastly @@ -16,24 +16,24 @@ def initialize(api_client = ApiClient.default) @api_client = api_client end # Creates a GlobalSign email challenge. - # Creates an email challenge for domain on a GlobalSign subscription. An email challenge will generate an email that can be used to validate domain ownership. If this challenge is created, then the domain can only be validated using email for the given subscription. - # @option opts [String] :tls_subscription_id (required) - # @option opts [String] :tls_authorization_id (required) + # Creates an email challenge for a domain on a GlobalSign subscription. An email challenge will generate an email that can be used to validate domain ownership. If this challenge is created, then the domain can only be validated using email for the given subscription. + # @option opts [String] :tls_subscription_id Alphanumeric string identifying a TLS subscription. (required) + # @option opts [String] :tls_authorization_id Alphanumeric string identifying a TLS subscription. (required) # @option opts [Hash<String, Object>] :request_body # @return [Object] def create_globalsign_email_challenge(opts = {}) data, _status_code, _headers = create_globalsign_email_challenge_with_http_info(opts) data end # Creates a GlobalSign email challenge. - # Creates an email challenge for domain on a GlobalSign subscription. An email challenge will generate an email that can be used to validate domain ownership. If this challenge is created, then the domain can only be validated using email for the given subscription. - # @option opts [String] :tls_subscription_id (required) - # @option opts [String] :tls_authorization_id (required) + # Creates an email challenge for a domain on a GlobalSign subscription. An email challenge will generate an email that can be used to validate domain ownership. If this challenge is created, then the domain can only be validated using email for the given subscription. + # @option opts [String] :tls_subscription_id Alphanumeric string identifying a TLS subscription. (required) + # @option opts [String] :tls_authorization_id Alphanumeric string identifying a TLS subscription. (required) # @option opts [Hash<String, Object>] :request_body # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers def create_globalsign_email_challenge_with_http_info(opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: TlsSubscriptionsApi.create_globalsign_email_challenge ...' @@ -58,11 +58,11 @@ # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - content_type = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/vnd.api+json']) if !content_type.nil? header_params['Content-Type'] = content_type end # form parameters @@ -160,23 +160,23 @@ return data, status_code, headers end # Delete a GlobalSign email challenge # Deletes a GlobalSign email challenge. After a GlobalSign email challenge is deleted, the domain can use HTTP and DNS validation methods again. - # @option opts [String] :tls_subscription_id (required) - # @option opts [String] :globalsign_email_challenge_id (required) - # @option opts [String] :tls_authorization_id (required) + # @option opts [String] :tls_subscription_id Alphanumeric string identifying a TLS subscription. (required) + # @option opts [String] :globalsign_email_challenge_id Alphanumeric string identifying a GlobalSign email challenge. (required) + # @option opts [String] :tls_authorization_id Alphanumeric string identifying a TLS subscription. (required) # @return [nil] def delete_globalsign_email_challenge(opts = {}) delete_globalsign_email_challenge_with_http_info(opts) nil end # Delete a GlobalSign email challenge # Deletes a GlobalSign email challenge. After a GlobalSign email challenge is deleted, the domain can use HTTP and DNS validation methods again. - # @option opts [String] :tls_subscription_id (required) - # @option opts [String] :globalsign_email_challenge_id (required) - # @option opts [String] :tls_authorization_id (required) + # @option opts [String] :tls_subscription_id Alphanumeric string identifying a TLS subscription. (required) + # @option opts [String] :globalsign_email_challenge_id Alphanumeric string identifying a GlobalSign email challenge. (required) + # @option opts [String] :tls_authorization_id Alphanumeric string identifying a TLS subscription. (required) # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers def delete_globalsign_email_challenge_with_http_info(opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: TlsSubscriptionsApi.delete_globalsign_email_challenge ...' end