fastly 4.0.0.alpha4 → 4.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +100 -21
- data/docs/AclEntry.md +1 -1
- data/docs/AclEntryApi.md +0 -176
- data/docs/AclEntryResponse.md +1 -1
- data/docs/ApexRedirectApi.md +4 -4
- data/docs/AutomationToken.md +14 -0
- data/docs/AutomationTokenCreateRequest.md +10 -0
- data/docs/AutomationTokenCreateRequestAttributes.md +15 -0
- data/docs/AutomationTokenCreateResponse.md +24 -0
- data/docs/AutomationTokenCreateResponseAllOf.md +17 -0
- data/docs/AutomationTokenResponse.md +23 -0
- data/docs/AutomationTokenResponseAllOf.md +18 -0
- data/docs/AutomationTokensApi.md +209 -0
- data/docs/AwsRegion.md +9 -0
- data/docs/Backend.md +1 -0
- data/docs/BackendApi.md +4 -0
- data/docs/BackendResponse.md +1 -0
- data/docs/Billing.md +2 -1
- data/docs/BillingAddressRequest.md +1 -0
- data/docs/BillingAddressVerificationErrorResponse.md +10 -0
- data/docs/BillingAddressVerificationErrorResponseErrors.md +14 -0
- data/docs/BillingEstimateResponse.md +2 -1
- data/docs/BillingResponse.md +2 -1
- data/docs/BulkUpdateAclEntry.md +1 -1
- data/docs/ConditionApi.md +4 -4
- data/docs/EnabledProduct.md +12 -0
- data/docs/EnabledProductLinks.md +11 -0
- data/docs/EnabledProductProduct.md +11 -0
- data/docs/EnabledProductsApi.md +133 -0
- data/docs/ErrorResponse.md +10 -0
- data/docs/ErrorResponseData.md +11 -0
- data/docs/EventAttributes.md +1 -0
- data/docs/EventsApi.md +4 -2
- data/docs/HeaderApi.md +4 -4
- data/docs/Healthcheck.md +5 -4
- data/docs/HealthcheckApi.md +46 -42
- data/docs/HealthcheckResponse.md +5 -4
- data/docs/Http3Api.md +4 -4
- data/docs/HttpResponseFormat.md +14 -0
- data/docs/HttpStreamFormat.md +11 -0
- data/docs/InlineObject.md +10 -0
- data/docs/InlineObject1.md +10 -0
- data/docs/InlineResponse2001.md +1 -1
- data/docs/LoggingAzureblob.md +3 -3
- data/docs/LoggingAzureblobApi.md +12 -12
- data/docs/LoggingAzureblobResponse.md +3 -3
- data/docs/LoggingBigquery.md +4 -3
- data/docs/LoggingBigqueryApi.md +16 -12
- data/docs/LoggingBigqueryResponse.md +4 -3
- data/docs/LoggingCloudfiles.md +3 -3
- data/docs/LoggingCloudfilesApi.md +12 -12
- data/docs/LoggingCloudfilesResponse.md +3 -3
- data/docs/LoggingCommon.md +1 -1
- data/docs/LoggingDatadog.md +1 -1
- data/docs/LoggingDatadogApi.md +4 -4
- data/docs/LoggingDatadogResponse.md +1 -1
- data/docs/LoggingDigitalocean.md +3 -3
- data/docs/LoggingDigitaloceanApi.md +12 -12
- data/docs/LoggingDigitaloceanResponse.md +3 -3
- data/docs/LoggingElasticsearch.md +1 -1
- data/docs/LoggingElasticsearchApi.md +4 -4
- data/docs/LoggingElasticsearchResponse.md +1 -1
- data/docs/LoggingFtp.md +3 -3
- data/docs/LoggingFtpApi.md +12 -12
- data/docs/LoggingFtpResponse.md +3 -3
- data/docs/LoggingGcs.md +7 -5
- data/docs/LoggingGcsAllOf.md +1 -0
- data/docs/LoggingGcsApi.md +32 -24
- data/docs/LoggingGcsCommon.md +3 -2
- data/docs/LoggingGcsResponse.md +7 -5
- data/docs/LoggingGenericCommon.md +2 -2
- data/docs/LoggingGooglePubsub.md +4 -3
- data/docs/LoggingGooglePubsubResponse.md +4 -3
- data/docs/LoggingHeroku.md +1 -1
- data/docs/LoggingHerokuApi.md +4 -4
- data/docs/LoggingHerokuResponse.md +1 -1
- data/docs/LoggingHoneycomb.md +1 -1
- data/docs/LoggingHoneycombApi.md +4 -4
- data/docs/LoggingHoneycombResponse.md +1 -1
- data/docs/LoggingHttps.md +1 -1
- data/docs/LoggingHttpsApi.md +4 -4
- data/docs/LoggingHttpsResponse.md +1 -1
- data/docs/LoggingKafka.md +1 -1
- data/docs/LoggingKafkaApi.md +2 -2
- data/docs/LoggingKafkaResponse.md +1 -1
- data/docs/LoggingKinesis.md +1 -1
- data/docs/LoggingKinesisApi.md +2 -2
- data/docs/LoggingKinesisResponse.md +1 -1
- data/docs/LoggingLogentries.md +1 -1
- data/docs/LoggingLogentriesApi.md +4 -4
- data/docs/LoggingLogentriesResponse.md +1 -1
- data/docs/LoggingLoggly.md +1 -1
- data/docs/LoggingLogglyApi.md +4 -4
- data/docs/LoggingLogglyResponse.md +1 -1
- data/docs/LoggingLogshuttle.md +1 -1
- data/docs/LoggingLogshuttleApi.md +4 -4
- data/docs/LoggingLogshuttleResponse.md +1 -1
- data/docs/LoggingNewrelic.md +2 -2
- data/docs/LoggingNewrelicAllOf.md +1 -1
- data/docs/LoggingNewrelicApi.md +8 -8
- data/docs/LoggingNewrelicResponse.md +2 -2
- data/docs/LoggingOpenstack.md +3 -3
- data/docs/LoggingOpenstackApi.md +12 -12
- data/docs/LoggingOpenstackResponse.md +3 -3
- data/docs/LoggingPapertrail.md +1 -1
- data/docs/LoggingPapertrailApi.md +4 -4
- data/docs/LoggingPapertrailResponse.md +1 -1
- data/docs/LoggingPubsubApi.md +16 -12
- data/docs/LoggingS3.md +3 -3
- data/docs/LoggingS3Api.md +12 -12
- data/docs/LoggingS3Response.md +3 -3
- data/docs/LoggingScalyr.md +1 -1
- data/docs/LoggingScalyrApi.md +4 -4
- data/docs/LoggingScalyrResponse.md +1 -1
- data/docs/LoggingSftp.md +4 -4
- data/docs/LoggingSftpAllOf.md +1 -1
- data/docs/LoggingSftpApi.md +16 -16
- data/docs/LoggingSftpResponse.md +4 -4
- data/docs/LoggingSplunk.md +1 -1
- data/docs/LoggingSplunkApi.md +4 -4
- data/docs/LoggingSplunkResponse.md +1 -1
- data/docs/LoggingSumologic.md +1 -1
- data/docs/LoggingSumologicApi.md +4 -4
- data/docs/LoggingSumologicResponse.md +1 -1
- data/docs/LoggingSyslog.md +1 -1
- data/docs/LoggingSyslogApi.md +4 -4
- data/docs/LoggingSyslogResponse.md +1 -1
- data/docs/MutualAuthentication.md +10 -0
- data/docs/MutualAuthenticationApi.md +207 -0
- data/docs/MutualAuthenticationData.md +12 -0
- data/docs/MutualAuthenticationDataAttributes.md +12 -0
- data/docs/MutualAuthenticationResponse.md +10 -0
- data/docs/MutualAuthenticationResponseAttributes.md +13 -0
- data/docs/MutualAuthenticationResponseAttributesAllOf.md +10 -0
- data/docs/MutualAuthenticationResponseData.md +13 -0
- data/docs/MutualAuthenticationResponseDataAllOf.md +11 -0
- data/docs/MutualAuthenticationsResponse.md +12 -0
- data/docs/MutualAuthenticationsResponseAllOf.md +10 -0
- data/docs/PublishApi.md +54 -0
- data/docs/PublishItem.md +13 -0
- data/docs/PublishItemFormats.md +12 -0
- data/docs/PublishRequest.md +10 -0
- data/docs/PurgeApi.md +9 -9
- data/docs/RealtimeMeasurements.md +23 -0
- data/docs/RelationshipCommonName.md +1 -1
- data/docs/RelationshipMemberMutualAuthentication.md +11 -0
- data/docs/RelationshipMutualAuthentication.md +10 -0
- data/docs/RelationshipMutualAuthenticationMutualAuthentication.md +10 -0
- data/docs/RelationshipMutualAuthentications.md +10 -0
- data/docs/RelationshipMutualAuthenticationsMutualAuthentications.md +10 -0
- data/docs/RelationshipService.md +1 -1
- data/docs/RelationshipServices.md +1 -1
- data/docs/{RelationshipServiceService.md → RelationshipServicesServices.md} +1 -1
- data/docs/RelationshipTlsCertificateTlsCertificate.md +1 -1
- data/docs/RelationshipTlsCertificates.md +1 -1
- data/docs/RelationshipTlsCertificatesTlsCertificates.md +10 -0
- data/docs/RelationshipTlsConfigurationTlsConfiguration.md +1 -1
- data/docs/RelationshipTlsConfigurations.md +1 -1
- data/docs/RelationshipTlsConfigurationsTlsConfigurations.md +10 -0
- data/docs/RelationshipTlsDomainTlsDomain.md +1 -1
- data/docs/RelationshipTlsDomains.md +1 -1
- data/docs/RelationshipTlsDomainsTlsDomains.md +10 -0
- data/docs/RelationshipTlsPrivateKeyTlsPrivateKey.md +1 -1
- data/docs/RelationshipTlsPrivateKeys.md +1 -1
- data/docs/RelationshipTlsPrivateKeysTlsPrivateKeys.md +10 -0
- data/docs/RelationshipUserUser.md +1 -1
- data/docs/RelationshipsForMutualAuthentication.md +10 -0
- data/docs/RelationshipsForStar.md +1 -1
- data/docs/RelationshipsForTlsBulkCertificate.md +2 -2
- data/docs/RelationshipsForTlsConfiguration.md +1 -1
- data/docs/RelationshipsForTlsCsr.md +10 -0
- data/docs/RelationshipsForTlsPrivateKey.md +1 -1
- data/docs/RelationshipsForTlsSubscription.md +2 -2
- data/docs/Results.md +24 -1
- data/docs/SchemasUserResponse.md +2 -2
- data/docs/Service.md +1 -1
- data/docs/ServiceApi.md +4 -4
- data/docs/ServiceAuthorizationData.md +1 -1
- data/docs/ServiceAuthorizationDataRelationships.md +11 -0
- data/docs/ServiceAuthorizationDataRelationshipsUser.md +10 -0
- data/docs/{RelationshipUserUserData.md → ServiceAuthorizationDataRelationshipsUserData.md} +1 -1
- data/docs/ServiceAuthorizationResponseData.md +1 -1
- data/docs/ServiceCreate.md +1 -1
- data/docs/ServiceDetail.md +1 -1
- data/docs/ServiceInvitationData.md +1 -1
- data/docs/ServiceInvitationDataRelationships.md +10 -0
- data/docs/ServiceListResponse.md +1 -1
- data/docs/ServiceResponse.md +1 -1
- data/docs/ServiceVersionDetail.md +1 -1
- data/docs/ServiceVersionDetailOrNull.md +1 -1
- data/docs/TlsCsr.md +10 -0
- data/docs/TlsCsrData.md +12 -0
- data/docs/TlsCsrDataAttributes.md +19 -0
- data/docs/TlsCsrResponse.md +10 -0
- data/docs/TlsCsrResponseAttributes.md +10 -0
- data/docs/TlsCsrResponseData.md +13 -0
- data/docs/TlsCsrsApi.md +52 -0
- data/docs/TypeMutualAuthentication.md +9 -0
- data/docs/TypeTlsCsr.md +9 -0
- data/docs/UpdateBillingAddressRequest.md +1 -0
- data/docs/User.md +1 -1
- data/docs/UserApi.md +4 -4
- data/docs/UserResponse.md +2 -2
- data/docs/UserResponseAllOf.md +1 -1
- data/docs/ValidatorResult.md +14 -0
- data/docs/ValidatorResultMessages.md +13 -0
- data/docs/VclApi.md +78 -0
- data/docs/VersionDetail.md +1 -1
- data/docs/VersionDetailSettings.md +13 -0
- data/docs/WafFirewallVersionDataAttributes.md +1 -1
- data/docs/WsMessageFormat.md +11 -0
- data/lib/fastly/api/acl_entry_api.rb +0 -332
- data/lib/fastly/api/automation_tokens_api.rb +340 -0
- data/lib/fastly/api/backend_api.rb +6 -0
- data/lib/fastly/api/cache_settings_api.rb +2 -2
- data/lib/fastly/api/enabled_products_api.rb +228 -0
- data/lib/fastly/api/events_api.rb +6 -3
- data/lib/fastly/api/healthcheck_api.rb +48 -42
- data/lib/fastly/api/logging_azureblob_api.rb +12 -12
- data/lib/fastly/api/logging_bigquery_api.rb +18 -12
- data/lib/fastly/api/logging_cloudfiles_api.rb +12 -12
- data/lib/fastly/api/logging_datadog_api.rb +4 -4
- data/lib/fastly/api/logging_digitalocean_api.rb +12 -12
- data/lib/fastly/api/logging_elasticsearch_api.rb +4 -4
- data/lib/fastly/api/logging_ftp_api.rb +12 -12
- data/lib/fastly/api/logging_gcs_api.rb +32 -20
- data/lib/fastly/api/logging_heroku_api.rb +4 -4
- data/lib/fastly/api/logging_honeycomb_api.rb +4 -4
- data/lib/fastly/api/logging_https_api.rb +4 -4
- data/lib/fastly/api/logging_kafka_api.rb +2 -2
- data/lib/fastly/api/logging_kinesis_api.rb +2 -6
- data/lib/fastly/api/logging_logentries_api.rb +4 -4
- data/lib/fastly/api/logging_loggly_api.rb +4 -4
- data/lib/fastly/api/logging_logshuttle_api.rb +4 -4
- data/lib/fastly/api/logging_newrelic_api.rb +8 -8
- data/lib/fastly/api/logging_openstack_api.rb +12 -12
- data/lib/fastly/api/logging_papertrail_api.rb +4 -4
- data/lib/fastly/api/logging_pubsub_api.rb +18 -12
- data/lib/fastly/api/logging_s3_api.rb +12 -12
- data/lib/fastly/api/logging_scalyr_api.rb +4 -4
- data/lib/fastly/api/logging_sftp_api.rb +16 -16
- data/lib/fastly/api/logging_splunk_api.rb +4 -4
- data/lib/fastly/api/logging_sumologic_api.rb +4 -4
- data/lib/fastly/api/logging_syslog_api.rb +4 -4
- data/lib/fastly/api/mutual_authentication_api.rb +347 -0
- data/lib/fastly/api/publish_api.rb +90 -0
- data/lib/fastly/api/purge_api.rb +14 -15
- data/lib/fastly/api/service_api.rb +4 -4
- data/lib/fastly/api/{domain_ownerships_api.rb → tls_csrs_api.rb} +24 -17
- data/lib/fastly/api/user_api.rb +4 -4
- data/lib/fastly/api/vcl_api.rb +143 -0
- data/lib/fastly/api_client.rb +16 -0
- data/lib/fastly/models/acl_entry.rb +1 -1
- data/lib/fastly/models/acl_entry_response.rb +1 -4
- data/lib/fastly/models/acl_entry_response_all_of.rb +0 -3
- data/lib/fastly/models/acl_response.rb +0 -3
- data/lib/fastly/models/acl_response_all_of.rb +0 -1
- data/lib/fastly/models/apex_redirect.rb +0 -2
- data/lib/fastly/models/automation_token.rb +307 -0
- data/lib/fastly/models/automation_token_create_request.rb +216 -0
- data/lib/fastly/models/automation_token_create_request_attributes.rb +317 -0
- data/lib/fastly/models/automation_token_create_response.rb +416 -0
- data/lib/fastly/models/automation_token_create_response_all_of.rb +285 -0
- data/lib/fastly/models/automation_token_response.rb +394 -0
- data/lib/fastly/models/automation_token_response_all_of.rb +295 -0
- data/lib/fastly/models/aws_region.rb +56 -0
- data/lib/fastly/models/backend.rb +12 -1
- data/lib/fastly/models/backend_response.rb +12 -3
- data/lib/fastly/models/billing.rb +12 -3
- data/lib/fastly/models/billing_address_attributes.rb +4 -1
- data/lib/fastly/models/billing_address_request.rb +11 -1
- data/lib/fastly/models/billing_address_verification_error_response.rb +218 -0
- data/lib/fastly/models/billing_address_verification_error_response_errors.rb +275 -0
- data/lib/fastly/models/billing_estimate_response.rb +12 -3
- data/lib/fastly/models/billing_response.rb +12 -3
- data/lib/fastly/models/billing_response_line_item.rb +0 -1
- data/lib/fastly/models/billing_response_line_item_all_of.rb +0 -1
- data/lib/fastly/models/billing_status.rb +0 -1
- data/lib/fastly/models/billing_total.rb +1 -0
- data/lib/fastly/models/bulk_update_acl_entry.rb +1 -2
- data/lib/fastly/models/bulk_update_acl_entry_all_of.rb +0 -1
- data/lib/fastly/models/cache_setting.rb +2 -2
- data/lib/fastly/models/cache_setting_response.rb +2 -4
- data/lib/fastly/models/condition.rb +0 -1
- data/lib/fastly/models/condition_response.rb +0 -1
- data/lib/fastly/models/contact_response.rb +0 -1
- data/lib/fastly/models/contact_response_all_of.rb +0 -1
- data/lib/fastly/models/customer_response.rb +0 -1
- data/lib/fastly/models/customer_response_all_of.rb +0 -1
- data/lib/fastly/models/dictionary_item_response.rb +0 -2
- data/lib/fastly/models/dictionary_item_response_all_of.rb +0 -2
- data/lib/fastly/models/dictionary_response.rb +0 -3
- data/lib/fastly/models/dictionary_response_all_of.rb +0 -1
- data/lib/fastly/models/director_backend.rb +0 -2
- data/lib/fastly/models/director_response.rb +0 -2
- data/lib/fastly/models/domain_response.rb +0 -2
- data/lib/fastly/models/enabled_product.rb +234 -0
- data/lib/fastly/models/enabled_product_links.rb +225 -0
- data/lib/fastly/models/enabled_product_product.rb +225 -0
- data/lib/fastly/models/error_response.rb +218 -0
- data/lib/fastly/models/error_response_data.rb +225 -0
- data/lib/fastly/models/event.rb +0 -1
- data/lib/fastly/models/event_attributes.rb +13 -7
- data/lib/fastly/models/gzip_response.rb +0 -2
- data/lib/fastly/models/header_response.rb +0 -2
- data/lib/fastly/models/healthcheck.rb +17 -5
- data/lib/fastly/models/healthcheck_response.rb +17 -7
- data/lib/fastly/models/historical_usage_month_response_all_of_data.rb +0 -1
- data/lib/fastly/models/http3.rb +0 -2
- data/lib/fastly/models/http_response_format.rb +262 -0
- data/lib/fastly/models/http_stream_format.rb +228 -0
- data/lib/fastly/models/inline_object.rb +221 -0
- data/lib/fastly/models/inline_object1.rb +221 -0
- data/lib/fastly/models/inline_response2001.rb +10 -8
- data/lib/fastly/models/invitation_response_data.rb +0 -1
- data/lib/fastly/models/invitation_response_data_all_of.rb +0 -1
- data/lib/fastly/models/logging_azureblob.rb +3 -3
- data/lib/fastly/models/logging_azureblob_response.rb +3 -5
- data/lib/fastly/models/logging_bigquery.rb +14 -4
- data/lib/fastly/models/logging_bigquery_response.rb +14 -6
- data/lib/fastly/models/logging_cloudfiles.rb +3 -3
- data/lib/fastly/models/logging_cloudfiles_response.rb +3 -5
- data/lib/fastly/models/logging_common.rb +1 -1
- data/lib/fastly/models/logging_datadog.rb +1 -1
- data/lib/fastly/models/logging_datadog_response.rb +1 -3
- data/lib/fastly/models/logging_digitalocean.rb +3 -3
- data/lib/fastly/models/logging_digitalocean_response.rb +3 -5
- data/lib/fastly/models/logging_elasticsearch.rb +1 -1
- data/lib/fastly/models/logging_elasticsearch_response.rb +1 -3
- data/lib/fastly/models/logging_ftp.rb +3 -3
- data/lib/fastly/models/logging_ftp_response.rb +3 -5
- data/lib/fastly/models/logging_gcs.rb +30 -11
- data/lib/fastly/models/logging_gcs_all_of.rb +15 -6
- data/lib/fastly/models/logging_gcs_common.rb +16 -6
- data/lib/fastly/models/logging_gcs_response.rb +26 -9
- data/lib/fastly/models/logging_generic_common.rb +2 -2
- data/lib/fastly/models/logging_google_pubsub.rb +14 -4
- data/lib/fastly/models/logging_google_pubsub_response.rb +14 -6
- data/lib/fastly/models/logging_heroku.rb +1 -1
- data/lib/fastly/models/logging_heroku_response.rb +1 -3
- data/lib/fastly/models/logging_honeycomb.rb +1 -1
- data/lib/fastly/models/logging_honeycomb_response.rb +1 -3
- data/lib/fastly/models/logging_https.rb +1 -1
- data/lib/fastly/models/logging_https_response.rb +1 -3
- data/lib/fastly/models/logging_kafka.rb +1 -1
- data/lib/fastly/models/logging_kafka_response.rb +1 -3
- data/lib/fastly/models/logging_kinesis.rb +1 -36
- data/lib/fastly/models/logging_kinesis_response.rb +1 -38
- data/lib/fastly/models/logging_logentries.rb +1 -1
- data/lib/fastly/models/logging_logentries_response.rb +1 -3
- data/lib/fastly/models/logging_loggly.rb +1 -1
- data/lib/fastly/models/logging_loggly_response.rb +1 -3
- data/lib/fastly/models/logging_logshuttle.rb +1 -1
- data/lib/fastly/models/logging_logshuttle_response.rb +1 -3
- data/lib/fastly/models/logging_newrelic.rb +4 -3
- data/lib/fastly/models/logging_newrelic_all_of.rb +3 -2
- data/lib/fastly/models/logging_newrelic_response.rb +4 -5
- data/lib/fastly/models/logging_openstack.rb +3 -3
- data/lib/fastly/models/logging_openstack_response.rb +3 -5
- data/lib/fastly/models/logging_papertrail.rb +1 -1
- data/lib/fastly/models/logging_papertrail_response.rb +1 -3
- data/lib/fastly/models/logging_s3.rb +3 -3
- data/lib/fastly/models/logging_s3_response.rb +3 -5
- data/lib/fastly/models/logging_scalyr.rb +1 -1
- data/lib/fastly/models/logging_scalyr_response.rb +1 -3
- data/lib/fastly/models/logging_sftp.rb +6 -5
- data/lib/fastly/models/logging_sftp_all_of.rb +3 -2
- data/lib/fastly/models/logging_sftp_response.rb +6 -7
- data/lib/fastly/models/logging_splunk.rb +1 -1
- data/lib/fastly/models/logging_splunk_response.rb +1 -3
- data/lib/fastly/models/logging_sumologic.rb +1 -1
- data/lib/fastly/models/logging_sumologic_response.rb +1 -3
- data/lib/fastly/models/logging_syslog.rb +1 -1
- data/lib/fastly/models/logging_syslog_response.rb +1 -3
- data/lib/fastly/models/mutual_authentication.rb +216 -0
- data/lib/fastly/models/mutual_authentication_data.rb +236 -0
- data/lib/fastly/models/mutual_authentication_data_attributes.rb +237 -0
- data/lib/fastly/models/mutual_authentication_response.rb +216 -0
- data/lib/fastly/models/mutual_authentication_response_attributes.rb +258 -0
- data/lib/fastly/models/mutual_authentication_response_attributes_all_of.rb +217 -0
- data/lib/fastly/models/mutual_authentication_response_data.rb +253 -0
- data/lib/fastly/models/mutual_authentication_response_data_all_of.rb +225 -0
- data/lib/fastly/models/mutual_authentications_response.rb +244 -0
- data/lib/fastly/models/mutual_authentications_response_all_of.rb +218 -0
- data/lib/fastly/models/package_response.rb +0 -2
- data/lib/fastly/models/pool_response.rb +0 -3
- data/lib/fastly/models/pool_response_all_of.rb +0 -1
- data/lib/fastly/models/publish_item.rb +257 -0
- data/lib/fastly/models/publish_item_formats.rb +235 -0
- data/lib/fastly/models/publish_request.rb +225 -0
- data/lib/fastly/models/purge_response.rb +0 -1
- data/lib/fastly/models/rate_limiter_response.rb +0 -2
- data/lib/fastly/models/realtime.rb +0 -1
- data/lib/fastly/models/realtime_entry.rb +3 -2
- data/lib/fastly/models/realtime_measurements.rb +234 -4
- data/lib/fastly/models/relationship_common_name.rb +1 -1
- data/lib/fastly/models/relationship_member_customer.rb +0 -1
- data/lib/fastly/models/relationship_member_mutual_authentication.rb +227 -0
- data/lib/fastly/models/relationship_member_service.rb +0 -1
- data/lib/fastly/models/relationship_member_tls_activation.rb +0 -1
- data/lib/fastly/models/relationship_member_tls_bulk_certificate.rb +0 -1
- data/lib/fastly/models/relationship_member_tls_certificate.rb +0 -1
- data/lib/fastly/models/relationship_member_tls_configuration.rb +0 -1
- data/lib/fastly/models/relationship_member_tls_dns_record.rb +0 -1
- data/lib/fastly/models/relationship_member_tls_private_key.rb +0 -1
- data/lib/fastly/models/relationship_member_tls_subscription.rb +0 -1
- data/lib/fastly/models/relationship_member_waf_active_rule.rb +0 -1
- data/lib/fastly/models/relationship_member_waf_firewall.rb +0 -1
- data/lib/fastly/models/relationship_member_waf_rule.rb +0 -1
- data/lib/fastly/models/relationship_mutual_authentication.rb +216 -0
- data/lib/fastly/models/relationship_mutual_authentication_mutual_authentication.rb +216 -0
- data/lib/fastly/models/relationship_mutual_authentications.rb +216 -0
- data/lib/fastly/models/relationship_mutual_authentications_mutual_authentications.rb +218 -0
- data/lib/fastly/models/relationship_service.rb +1 -1
- data/lib/fastly/models/relationship_services.rb +1 -1
- data/lib/fastly/models/{relationship_service_service.rb → relationship_services_services.rb} +3 -3
- data/lib/fastly/models/relationship_tls_certificate_tls_certificate.rb +2 -4
- data/lib/fastly/models/relationship_tls_certificates.rb +1 -1
- data/lib/fastly/models/relationship_tls_certificates_tls_certificates.rb +218 -0
- data/lib/fastly/models/relationship_tls_configuration_tls_configuration.rb +2 -4
- data/lib/fastly/models/relationship_tls_configurations.rb +1 -1
- data/lib/fastly/models/relationship_tls_configurations_tls_configurations.rb +218 -0
- data/lib/fastly/models/relationship_tls_domain_tls_domain.rb +2 -4
- data/lib/fastly/models/relationship_tls_domains.rb +1 -1
- data/lib/fastly/models/relationship_tls_domains_tls_domains.rb +218 -0
- data/lib/fastly/models/relationship_tls_private_key_tls_private_key.rb +2 -4
- data/lib/fastly/models/relationship_tls_private_keys.rb +1 -1
- data/lib/fastly/models/relationship_tls_private_keys_tls_private_keys.rb +218 -0
- data/lib/fastly/models/relationship_user_user.rb +1 -1
- data/lib/fastly/models/relationships_for_mutual_authentication.rb +235 -0
- data/lib/fastly/models/relationships_for_star.rb +1 -1
- data/lib/fastly/models/relationships_for_tls_bulk_certificate.rb +2 -2
- data/lib/fastly/models/relationships_for_tls_configuration.rb +1 -1
- data/lib/fastly/models/relationships_for_tls_csr.rb +235 -0
- data/lib/fastly/models/relationships_for_tls_private_key.rb +1 -1
- data/lib/fastly/models/relationships_for_tls_subscription.rb +2 -2
- data/lib/fastly/models/request_settings_response.rb +0 -2
- data/lib/fastly/models/response_object_response.rb +0 -2
- data/lib/fastly/models/results.rb +235 -5
- data/lib/fastly/models/schemas_contact_response.rb +0 -1
- data/lib/fastly/models/schemas_snippet_response.rb +0 -3
- data/lib/fastly/models/schemas_user_response.rb +0 -3
- data/lib/fastly/models/schemas_vcl_response.rb +0 -2
- data/lib/fastly/models/schemas_version_response.rb +0 -1
- data/lib/fastly/models/server_response.rb +0 -3
- data/lib/fastly/models/server_response_all_of.rb +0 -3
- data/lib/fastly/models/service.rb +1 -1
- data/lib/fastly/models/service_authorization_data.rb +1 -2
- data/lib/fastly/models/service_authorization_data_relationships.rb +225 -0
- data/lib/fastly/models/service_authorization_data_relationships_user.rb +217 -0
- data/lib/fastly/models/{relationship_user_user_data.rb → service_authorization_data_relationships_user_data.rb} +3 -4
- data/lib/fastly/models/service_authorization_response_data.rb +1 -3
- data/lib/fastly/models/service_authorization_response_data_all_of.rb +0 -1
- data/lib/fastly/models/service_create.rb +1 -1
- data/lib/fastly/models/service_detail.rb +2 -2
- data/lib/fastly/models/service_detail_all_of.rb +1 -0
- data/lib/fastly/models/service_id_and_version.rb +0 -2
- data/lib/fastly/models/service_invitation_data.rb +1 -3
- data/lib/fastly/models/service_invitation_data_relationships.rb +217 -0
- data/lib/fastly/models/service_invitation_response_all_of_data.rb +0 -1
- data/lib/fastly/models/service_list_response.rb +1 -2
- data/lib/fastly/models/service_list_response_all_of.rb +0 -1
- data/lib/fastly/models/service_response.rb +1 -2
- data/lib/fastly/models/service_response_all_of.rb +0 -1
- data/lib/fastly/models/service_version_detail.rb +1 -4
- data/lib/fastly/models/service_version_detail_or_null.rb +5 -20
- data/lib/fastly/models/settings_response.rb +0 -2
- data/lib/fastly/models/snippet_response.rb +0 -3
- data/lib/fastly/models/snippet_response_all_of.rb +0 -1
- data/lib/fastly/models/tls_activation_response_data.rb +0 -1
- data/lib/fastly/models/tls_activation_response_data_all_of.rb +0 -1
- data/lib/fastly/models/tls_bulk_certificate_response_data.rb +0 -1
- data/lib/fastly/models/tls_bulk_certificate_response_data_all_of.rb +0 -1
- data/lib/fastly/models/tls_certificate_response_data.rb +0 -1
- data/lib/fastly/models/tls_certificate_response_data_all_of.rb +0 -1
- data/lib/fastly/models/tls_configuration_response_data.rb +0 -1
- data/lib/fastly/models/tls_configuration_response_data_all_of.rb +0 -1
- data/lib/fastly/models/tls_csr.rb +216 -0
- data/lib/fastly/models/tls_csr_data.rb +236 -0
- data/lib/fastly/models/tls_csr_data_attributes.rb +314 -0
- data/lib/fastly/models/tls_csr_response.rb +216 -0
- data/lib/fastly/models/tls_csr_response_attributes.rb +217 -0
- data/lib/fastly/models/tls_csr_response_data.rb +245 -0
- data/lib/fastly/models/tls_private_key_response_data.rb +0 -1
- data/lib/fastly/models/tls_subscription_response_data.rb +0 -1
- data/lib/fastly/models/tls_subscription_response_data_all_of.rb +0 -1
- data/lib/fastly/models/token_created_response.rb +0 -2
- data/lib/fastly/models/token_response.rb +0 -2
- data/lib/fastly/models/token_response_all_of.rb +0 -2
- data/lib/fastly/models/type_mutual_authentication.rb +34 -0
- data/lib/fastly/models/type_tls_csr.rb +34 -0
- data/lib/fastly/models/update_billing_address_request.rb +11 -1
- data/lib/fastly/models/user.rb +0 -1
- data/lib/fastly/models/user_response.rb +0 -3
- data/lib/fastly/models/user_response_all_of.rb +0 -2
- data/lib/fastly/models/validator_result.rb +294 -0
- data/lib/fastly/models/validator_result_messages.rb +265 -0
- data/lib/fastly/models/vcl_response.rb +0 -2
- data/lib/fastly/models/version_create_response.rb +0 -2
- data/lib/fastly/models/version_detail.rb +1 -3
- data/lib/fastly/models/version_detail_settings.rb +252 -0
- data/lib/fastly/models/version_response.rb +0 -1
- data/lib/fastly/models/version_response_all_of.rb +0 -1
- data/lib/fastly/models/waf_active_rule_response_data.rb +0 -1
- data/lib/fastly/models/waf_active_rule_response_data_all_of.rb +0 -1
- data/lib/fastly/models/waf_firewall_data_attributes.rb +0 -1
- data/lib/fastly/models/waf_firewall_response_data.rb +0 -1
- data/lib/fastly/models/waf_firewall_response_data_all_of.rb +0 -1
- data/lib/fastly/models/waf_firewall_response_data_attributes.rb +0 -1
- data/lib/fastly/models/waf_firewall_response_data_attributes_all_of.rb +0 -1
- data/lib/fastly/models/waf_firewall_version_data_attributes.rb +1 -2
- data/lib/fastly/models/waf_rule.rb +0 -1
- data/lib/fastly/models/waf_rule_response_data.rb +0 -1
- data/lib/fastly/models/waf_tag_attributes.rb +0 -1
- data/lib/fastly/models/ws_message_format.rb +228 -0
- data/lib/fastly/version.rb +1 -1
- data/lib/fastly.rb +65 -5
- data/pkg/fastly-4.0.0.gem +0 -0
- data/sig.json +1 -0
- metadata +137 -15
- data/docs/ContentApi.md +0 -52
- data/docs/DocsApi.md +0 -123
- data/docs/DomainOwnershipsApi.md +0 -47
- data/lib/fastly/api/content_api.rb +0 -79
- data/lib/fastly/api/docs_api.rb +0 -210
data/docs/DocsApi.md
DELETED
@@ -1,123 +0,0 @@
|
|
1
|
-
# Fastly::DocsApi
|
2
|
-
|
3
|
-
|
4
|
-
```ruby
|
5
|
-
require 'fastly'
|
6
|
-
api_instance = Fastly::DocsApi.new
|
7
|
-
```
|
8
|
-
|
9
|
-
## Methods
|
10
|
-
|
11
|
-
| Method | HTTP request | Description |
|
12
|
-
| ------ | ------------ | ----------- |
|
13
|
-
| [**get_docs**](DocsApi.md#get_docs) | **GET** /docs | Get Fastly API docs as structured data |
|
14
|
-
| [**get_docs_section**](DocsApi.md#get_docs_section) | **GET** /docs/section/{section} | Get API docs matching a section filter |
|
15
|
-
| [**get_docs_subject**](DocsApi.md#get_docs_subject) | **GET** /docs/subject/{subject} | Get API docs for a single subject |
|
16
|
-
|
17
|
-
|
18
|
-
## `get_docs()`
|
19
|
-
|
20
|
-
```ruby
|
21
|
-
get_docs: Array<Object> # Get Fastly API docs as structured data
|
22
|
-
```
|
23
|
-
|
24
|
-
Gets all documentation associated with the Fastly API.
|
25
|
-
|
26
|
-
### Examples
|
27
|
-
|
28
|
-
```ruby
|
29
|
-
api_instance = Fastly::DocsApi.new
|
30
|
-
|
31
|
-
begin
|
32
|
-
# Get Fastly API docs as structured data
|
33
|
-
result = api_instance.get_docs
|
34
|
-
p result
|
35
|
-
rescue Fastly::ApiError => e
|
36
|
-
puts "Error when calling DocsApi->get_docs: #{e}"
|
37
|
-
end
|
38
|
-
```
|
39
|
-
|
40
|
-
### Options
|
41
|
-
|
42
|
-
This endpoint does not need any parameter.
|
43
|
-
|
44
|
-
### Return type
|
45
|
-
|
46
|
-
**Array<Object>**
|
47
|
-
|
48
|
-
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
49
|
-
[[Back to README]](../../README.md)
|
50
|
-
## `get_docs_section()`
|
51
|
-
|
52
|
-
```ruby
|
53
|
-
get_docs_section(opts) # Get API docs matching a section filter
|
54
|
-
```
|
55
|
-
|
56
|
-
Gets all documentation associated with a given Categorical Section where `section` is a regular_expression. Passing `invert=true` will force a return of everything that does not match the given regular expression.
|
57
|
-
|
58
|
-
### Examples
|
59
|
-
|
60
|
-
```ruby
|
61
|
-
api_instance = Fastly::DocsApi.new
|
62
|
-
opts = {
|
63
|
-
section: 'backend', # String | The section to search for. Supports regular expressions.
|
64
|
-
invert: 'invert_example', # String | Get everything that does not match section.
|
65
|
-
}
|
66
|
-
|
67
|
-
begin
|
68
|
-
# Get API docs matching a section filter
|
69
|
-
api_instance.get_docs_section(opts)
|
70
|
-
rescue Fastly::ApiError => e
|
71
|
-
puts "Error when calling DocsApi->get_docs_section: #{e}"
|
72
|
-
end
|
73
|
-
```
|
74
|
-
|
75
|
-
### Options
|
76
|
-
|
77
|
-
| Name | Type | Description | Notes |
|
78
|
-
| ---- | ---- | ----------- | ----- |
|
79
|
-
| **section** | **String** | The section to search for. Supports regular expressions. | |
|
80
|
-
| **invert** | **String** | Get everything that does not match section. | |
|
81
|
-
|
82
|
-
### Return type
|
83
|
-
|
84
|
-
nil (empty response body)
|
85
|
-
|
86
|
-
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
87
|
-
[[Back to README]](../../README.md)
|
88
|
-
## `get_docs_subject()`
|
89
|
-
|
90
|
-
```ruby
|
91
|
-
get_docs_subject(opts) # Get API docs for a single subject
|
92
|
-
```
|
93
|
-
|
94
|
-
Gets all documentation relating to a given 'Subject'.
|
95
|
-
|
96
|
-
### Examples
|
97
|
-
|
98
|
-
```ruby
|
99
|
-
api_instance = Fastly::DocsApi.new
|
100
|
-
opts = {
|
101
|
-
subject: 'backend', # String | The subject to search for. Supports regular expressions.
|
102
|
-
}
|
103
|
-
|
104
|
-
begin
|
105
|
-
# Get API docs for a single subject
|
106
|
-
api_instance.get_docs_subject(opts)
|
107
|
-
rescue Fastly::ApiError => e
|
108
|
-
puts "Error when calling DocsApi->get_docs_subject: #{e}"
|
109
|
-
end
|
110
|
-
```
|
111
|
-
|
112
|
-
### Options
|
113
|
-
|
114
|
-
| Name | Type | Description | Notes |
|
115
|
-
| ---- | ---- | ----------- | ----- |
|
116
|
-
| **subject** | **String** | The subject to search for. Supports regular expressions. | |
|
117
|
-
|
118
|
-
### Return type
|
119
|
-
|
120
|
-
nil (empty response body)
|
121
|
-
|
122
|
-
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
123
|
-
[[Back to README]](../../README.md)
|
data/docs/DomainOwnershipsApi.md
DELETED
@@ -1,47 +0,0 @@
|
|
1
|
-
# Fastly::DomainOwnershipsApi
|
2
|
-
|
3
|
-
|
4
|
-
```ruby
|
5
|
-
require 'fastly'
|
6
|
-
api_instance = Fastly::DomainOwnershipsApi.new
|
7
|
-
```
|
8
|
-
|
9
|
-
## Methods
|
10
|
-
|
11
|
-
| Method | HTTP request | Description |
|
12
|
-
| ------ | ------------ | ----------- |
|
13
|
-
| [**list_domain_ownerships**](DomainOwnershipsApi.md#list_domain_ownerships) | **GET** /domain-ownerships | List domain-ownerships |
|
14
|
-
|
15
|
-
|
16
|
-
## `list_domain_ownerships()`
|
17
|
-
|
18
|
-
```ruby
|
19
|
-
list_domain_ownerships: <InlineResponse2001> # List domain-ownerships
|
20
|
-
```
|
21
|
-
|
22
|
-
List all domain-ownerships.
|
23
|
-
|
24
|
-
### Examples
|
25
|
-
|
26
|
-
```ruby
|
27
|
-
api_instance = Fastly::DomainOwnershipsApi.new
|
28
|
-
|
29
|
-
begin
|
30
|
-
# List domain-ownerships
|
31
|
-
result = api_instance.list_domain_ownerships
|
32
|
-
p result
|
33
|
-
rescue Fastly::ApiError => e
|
34
|
-
puts "Error when calling DomainOwnershipsApi->list_domain_ownerships: #{e}"
|
35
|
-
end
|
36
|
-
```
|
37
|
-
|
38
|
-
### Options
|
39
|
-
|
40
|
-
This endpoint does not need any parameter.
|
41
|
-
|
42
|
-
### Return type
|
43
|
-
|
44
|
-
[**InlineResponse2001**](InlineResponse2001.md)
|
45
|
-
|
46
|
-
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
47
|
-
[[Back to README]](../../README.md)
|
@@ -1,79 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#Fastly API
|
3
|
-
|
4
|
-
#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/)
|
5
|
-
|
6
|
-
The version of the OpenAPI document: 1.0.0
|
7
|
-
Contact: oss@fastly.com
|
8
|
-
|
9
|
-
=end
|
10
|
-
|
11
|
-
require 'cgi'
|
12
|
-
|
13
|
-
module Fastly
|
14
|
-
class ContentApi
|
15
|
-
attr_accessor :api_client
|
16
|
-
|
17
|
-
def initialize(api_client = ApiClient.default)
|
18
|
-
@api_client = api_client
|
19
|
-
end
|
20
|
-
# Check status of content in each POP's cache
|
21
|
-
# Retrieve headers and MD5 hash of the content for a particular URL from each Fastly edge server. This API is limited to 200 requests per hour.
|
22
|
-
# @option opts [String] :url Full URL (host and path) to check on all nodes. if protocol is omitted, http will be assumed.
|
23
|
-
# @return [Array<Content>]
|
24
|
-
def content_check(opts = {})
|
25
|
-
data, _status_code, _headers = content_check_with_http_info(opts)
|
26
|
-
data
|
27
|
-
end
|
28
|
-
|
29
|
-
# Check status of content in each POP's cache
|
30
|
-
# Retrieve headers and MD5 hash of the content for a particular URL from each Fastly edge server. This API is limited to 200 requests per hour.
|
31
|
-
# @option opts [String] :url Full URL (host and path) to check on all nodes. if protocol is omitted, http will be assumed.
|
32
|
-
# @return [Array<(Array<Content>, Integer, Hash)>] Array<Content> data, response status code and response headers
|
33
|
-
def content_check_with_http_info(opts = {})
|
34
|
-
if @api_client.config.debugging
|
35
|
-
@api_client.config.logger.debug 'Calling API: ContentApi.content_check ...'
|
36
|
-
end
|
37
|
-
# unbox the parameters from the hash
|
38
|
-
# resource path
|
39
|
-
local_var_path = '/content/edge_check'
|
40
|
-
|
41
|
-
# query parameters
|
42
|
-
query_params = opts[:query_params] || {}
|
43
|
-
query_params[:'url'] = opts[:'url'] if !opts[:'url'].nil?
|
44
|
-
|
45
|
-
# header parameters
|
46
|
-
header_params = opts[:header_params] || {}
|
47
|
-
# HTTP header 'Accept' (if needed)
|
48
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
49
|
-
|
50
|
-
# form parameters
|
51
|
-
form_params = opts[:form_params] || {}
|
52
|
-
|
53
|
-
# http body (model)
|
54
|
-
post_body = opts[:debug_body]
|
55
|
-
|
56
|
-
# return_type
|
57
|
-
return_type = opts[:debug_return_type] || 'Array<Content>'
|
58
|
-
|
59
|
-
# auth_names
|
60
|
-
auth_names = opts[:debug_auth_names] || ['token']
|
61
|
-
|
62
|
-
new_options = opts.merge(
|
63
|
-
:operation => :"ContentApi.content_check",
|
64
|
-
:header_params => header_params,
|
65
|
-
:query_params => query_params,
|
66
|
-
:form_params => form_params,
|
67
|
-
:body => post_body,
|
68
|
-
:auth_names => auth_names,
|
69
|
-
:return_type => return_type
|
70
|
-
)
|
71
|
-
|
72
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
73
|
-
if @api_client.config.debugging
|
74
|
-
@api_client.config.logger.debug "API called: ContentApi#content_check\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
75
|
-
end
|
76
|
-
return data, status_code, headers
|
77
|
-
end
|
78
|
-
end
|
79
|
-
end
|
data/lib/fastly/api/docs_api.rb
DELETED
@@ -1,210 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#Fastly API
|
3
|
-
|
4
|
-
#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/)
|
5
|
-
|
6
|
-
The version of the OpenAPI document: 1.0.0
|
7
|
-
Contact: oss@fastly.com
|
8
|
-
|
9
|
-
=end
|
10
|
-
|
11
|
-
require 'cgi'
|
12
|
-
|
13
|
-
module Fastly
|
14
|
-
class DocsApi
|
15
|
-
attr_accessor :api_client
|
16
|
-
|
17
|
-
def initialize(api_client = ApiClient.default)
|
18
|
-
@api_client = api_client
|
19
|
-
end
|
20
|
-
# Get Fastly API docs as structured data
|
21
|
-
# Gets all documentation associated with the Fastly API.
|
22
|
-
# @return [Array<Object>]
|
23
|
-
def get_docs(opts = {})
|
24
|
-
data, _status_code, _headers = get_docs_with_http_info(opts)
|
25
|
-
data
|
26
|
-
end
|
27
|
-
|
28
|
-
# Get Fastly API docs as structured data
|
29
|
-
# Gets all documentation associated with the Fastly API.
|
30
|
-
# @return [Array<(Array<Object>, Integer, Hash)>] Array<Object> data, response status code and response headers
|
31
|
-
def get_docs_with_http_info(opts = {})
|
32
|
-
if @api_client.config.debugging
|
33
|
-
@api_client.config.logger.debug 'Calling API: DocsApi.get_docs ...'
|
34
|
-
end
|
35
|
-
# unbox the parameters from the hash
|
36
|
-
# resource path
|
37
|
-
local_var_path = '/docs'
|
38
|
-
|
39
|
-
# query parameters
|
40
|
-
query_params = opts[:query_params] || {}
|
41
|
-
|
42
|
-
# header parameters
|
43
|
-
header_params = opts[:header_params] || {}
|
44
|
-
# HTTP header 'Accept' (if needed)
|
45
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
46
|
-
|
47
|
-
# form parameters
|
48
|
-
form_params = opts[:form_params] || {}
|
49
|
-
|
50
|
-
# http body (model)
|
51
|
-
post_body = opts[:debug_body]
|
52
|
-
|
53
|
-
# return_type
|
54
|
-
return_type = opts[:debug_return_type] || 'Array<Object>'
|
55
|
-
|
56
|
-
# auth_names
|
57
|
-
auth_names = opts[:debug_auth_names] || ['token']
|
58
|
-
|
59
|
-
new_options = opts.merge(
|
60
|
-
:operation => :"DocsApi.get_docs",
|
61
|
-
:header_params => header_params,
|
62
|
-
:query_params => query_params,
|
63
|
-
:form_params => form_params,
|
64
|
-
:body => post_body,
|
65
|
-
:auth_names => auth_names,
|
66
|
-
:return_type => return_type
|
67
|
-
)
|
68
|
-
|
69
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
70
|
-
if @api_client.config.debugging
|
71
|
-
@api_client.config.logger.debug "API called: DocsApi#get_docs\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
72
|
-
end
|
73
|
-
return data, status_code, headers
|
74
|
-
end
|
75
|
-
|
76
|
-
# Get API docs matching a section filter
|
77
|
-
# Gets all documentation associated with a given Categorical Section where `section` is a regular_expression. Passing `invert=true` will force a return of everything that does not match the given regular expression.
|
78
|
-
# @option opts [String] :section The section to search for. Supports regular expressions. (required)
|
79
|
-
# @option opts [String] :invert Get everything that does not match section. (required)
|
80
|
-
# @return [nil]
|
81
|
-
def get_docs_section(opts = {})
|
82
|
-
get_docs_section_with_http_info(opts)
|
83
|
-
nil
|
84
|
-
end
|
85
|
-
|
86
|
-
# Get API docs matching a section filter
|
87
|
-
# Gets all documentation associated with a given Categorical Section where `section` is a regular_expression. Passing `invert=true` will force a return of everything that does not match the given regular expression.
|
88
|
-
# @option opts [String] :section The section to search for. Supports regular expressions. (required)
|
89
|
-
# @option opts [String] :invert Get everything that does not match section. (required)
|
90
|
-
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
91
|
-
def get_docs_section_with_http_info(opts = {})
|
92
|
-
if @api_client.config.debugging
|
93
|
-
@api_client.config.logger.debug 'Calling API: DocsApi.get_docs_section ...'
|
94
|
-
end
|
95
|
-
# unbox the parameters from the hash
|
96
|
-
section = opts[:'section']
|
97
|
-
invert = opts[:'invert']
|
98
|
-
# verify the required parameter 'section' is set
|
99
|
-
if @api_client.config.client_side_validation && section.nil?
|
100
|
-
fail ArgumentError, "Missing the required parameter 'section' when calling DocsApi.get_docs_section"
|
101
|
-
end
|
102
|
-
# verify the required parameter 'invert' is set
|
103
|
-
if @api_client.config.client_side_validation && invert.nil?
|
104
|
-
fail ArgumentError, "Missing the required parameter 'invert' when calling DocsApi.get_docs_section"
|
105
|
-
end
|
106
|
-
# resource path
|
107
|
-
local_var_path = '/docs/section/{section}'.sub('{' + 'section' + '}', CGI.escape(section.to_s))
|
108
|
-
|
109
|
-
# query parameters
|
110
|
-
query_params = opts[:query_params] || {}
|
111
|
-
query_params[:'invert'] = invert
|
112
|
-
|
113
|
-
# header parameters
|
114
|
-
header_params = opts[:header_params] || {}
|
115
|
-
# HTTP header 'Accept' (if needed)
|
116
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
117
|
-
|
118
|
-
# form parameters
|
119
|
-
form_params = opts[:form_params] || {}
|
120
|
-
|
121
|
-
# http body (model)
|
122
|
-
post_body = opts[:debug_body]
|
123
|
-
|
124
|
-
# return_type
|
125
|
-
return_type = opts[:debug_return_type]
|
126
|
-
|
127
|
-
# auth_names
|
128
|
-
auth_names = opts[:debug_auth_names] || ['token']
|
129
|
-
|
130
|
-
new_options = opts.merge(
|
131
|
-
:operation => :"DocsApi.get_docs_section",
|
132
|
-
:header_params => header_params,
|
133
|
-
:query_params => query_params,
|
134
|
-
:form_params => form_params,
|
135
|
-
:body => post_body,
|
136
|
-
:auth_names => auth_names,
|
137
|
-
:return_type => return_type
|
138
|
-
)
|
139
|
-
|
140
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
141
|
-
if @api_client.config.debugging
|
142
|
-
@api_client.config.logger.debug "API called: DocsApi#get_docs_section\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
143
|
-
end
|
144
|
-
return data, status_code, headers
|
145
|
-
end
|
146
|
-
|
147
|
-
# Get API docs for a single subject
|
148
|
-
# Gets all documentation relating to a given 'Subject'.
|
149
|
-
# @option opts [String] :subject The subject to search for. Supports regular expressions. (required)
|
150
|
-
# @return [nil]
|
151
|
-
def get_docs_subject(opts = {})
|
152
|
-
get_docs_subject_with_http_info(opts)
|
153
|
-
nil
|
154
|
-
end
|
155
|
-
|
156
|
-
# Get API docs for a single subject
|
157
|
-
# Gets all documentation relating to a given 'Subject'.
|
158
|
-
# @option opts [String] :subject The subject to search for. Supports regular expressions. (required)
|
159
|
-
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
160
|
-
def get_docs_subject_with_http_info(opts = {})
|
161
|
-
if @api_client.config.debugging
|
162
|
-
@api_client.config.logger.debug 'Calling API: DocsApi.get_docs_subject ...'
|
163
|
-
end
|
164
|
-
# unbox the parameters from the hash
|
165
|
-
subject = opts[:'subject']
|
166
|
-
# verify the required parameter 'subject' is set
|
167
|
-
if @api_client.config.client_side_validation && subject.nil?
|
168
|
-
fail ArgumentError, "Missing the required parameter 'subject' when calling DocsApi.get_docs_subject"
|
169
|
-
end
|
170
|
-
# resource path
|
171
|
-
local_var_path = '/docs/subject/{subject}'.sub('{' + 'subject' + '}', CGI.escape(subject.to_s))
|
172
|
-
|
173
|
-
# query parameters
|
174
|
-
query_params = opts[:query_params] || {}
|
175
|
-
|
176
|
-
# header parameters
|
177
|
-
header_params = opts[:header_params] || {}
|
178
|
-
# HTTP header 'Accept' (if needed)
|
179
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
180
|
-
|
181
|
-
# form parameters
|
182
|
-
form_params = opts[:form_params] || {}
|
183
|
-
|
184
|
-
# http body (model)
|
185
|
-
post_body = opts[:debug_body]
|
186
|
-
|
187
|
-
# return_type
|
188
|
-
return_type = opts[:debug_return_type]
|
189
|
-
|
190
|
-
# auth_names
|
191
|
-
auth_names = opts[:debug_auth_names] || ['token']
|
192
|
-
|
193
|
-
new_options = opts.merge(
|
194
|
-
:operation => :"DocsApi.get_docs_subject",
|
195
|
-
:header_params => header_params,
|
196
|
-
:query_params => query_params,
|
197
|
-
:form_params => form_params,
|
198
|
-
:body => post_body,
|
199
|
-
:auth_names => auth_names,
|
200
|
-
:return_type => return_type
|
201
|
-
)
|
202
|
-
|
203
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
204
|
-
if @api_client.config.debugging
|
205
|
-
@api_client.config.logger.debug "API called: DocsApi#get_docs_subject\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
206
|
-
end
|
207
|
-
return data, status_code, headers
|
208
|
-
end
|
209
|
-
end
|
210
|
-
end
|