🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

fastly

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fastly

12.0.0
Rubygems
Version published
Maintainers
1
Created
Source

fastly-ruby

A Ruby client library for interacting with most facets of the Fastly API.

Installation

To install via RubyGems, add the following to your project's Gemfile:

gem 'fastly', '~> 12.0.0'

Then run bundle install.

Usage

# Load the gem
require 'fastly'

# Authorize the client with a Fastly API token.
Fastly.configure do |config|
# Configure API key authorization: token
  config.api_token = 'YOUR API KEY'
end

api_instance = Fastly::AclApi.new

opts = {
  service_id: 'SU1Z0isxPaozGVKXdv0eY', # String
  version_id: 56, # Integer
  name: 'my_acl', # String
}

begin
  result = api_instance.create_acl(opts)
  p result
rescue Fastly::ApiError => e
  puts "Exception when calling AclApi->create_acl: #{e}"
end

Authorization

[!NOTE] The Fastly API requires an API token for most operations.

Set up the API token in the Ruby client by assigning to api_token of a configuration as shown:

# Authorize the client with a Fastly API token.
Fastly.configure do |config|
  # Configure API key authorization: token
  config.api_token = 'YOUR API KEY'
end

Alternatively, set the FASTLY_API_TOKEN environment variable instead of setting api_token.

API Endpoints

The main documentation for the Fastly API can be found on our Developer Hub.

Table of API endpoints
ClassMethodDescription
Fastly::AclApicreate_aclCreate a new ACL
Fastly::AclApidelete_aclDelete an ACL
Fastly::AclApiget_aclDescribe an ACL
Fastly::AclApilist_aclsList ACLs
Fastly::AclApiupdate_aclUpdate an ACL
Fastly::AclEntryApibulk_update_acl_entriesUpdate multiple ACL entries
Fastly::AclEntryApicreate_acl_entryCreate an ACL entry
Fastly::AclEntryApidelete_acl_entryDelete an ACL entry
Fastly::AclEntryApiget_acl_entryDescribe an ACL entry
Fastly::AclEntryApilist_acl_entriesList ACL entries
Fastly::AclEntryApiupdate_acl_entryUpdate an ACL entry
Fastly::AclsInComputeApicompute_acl_create_aclsCreate a new ACL
Fastly::AclsInComputeApicompute_acl_delete_s_acl_idDelete an ACL
Fastly::AclsInComputeApicompute_acl_list_acl_entriesList an ACL
Fastly::AclsInComputeApicompute_acl_list_aclsList ACLs
Fastly::AclsInComputeApicompute_acl_list_acls_s_acl_idDescribe an ACL
Fastly::AclsInComputeApicompute_acl_lookup_aclsLookup an ACL
Fastly::AclsInComputeApicompute_acl_update_aclsUpdate an ACL
Fastly::ApexRedirectApicreate_apex_redirectCreate an apex redirect
Fastly::ApexRedirectApidelete_apex_redirectDelete an apex redirect
Fastly::ApexRedirectApiget_apex_redirectGet an apex redirect
Fastly::ApexRedirectApilist_apex_redirectsList apex redirects
Fastly::ApexRedirectApiupdate_apex_redirectUpdate an apex redirect
Fastly::AutomationTokensApicreate_automation_tokenCreate Automation Token
Fastly::AutomationTokensApiget_automation_token_idRetrieve an Automation Token by ID
Fastly::AutomationTokensApiget_automation_tokens_id_servicesList Automation Token Services
Fastly::AutomationTokensApilist_automation_tokensList Customer Automation Tokens
Fastly::AutomationTokensApirevoke_automation_token_idRevoke an Automation Token by ID
Fastly::BackendApicreate_backendCreate a backend
Fastly::BackendApidelete_backendDelete a backend
Fastly::BackendApiget_backendDescribe a backend
Fastly::BackendApilist_backendsList backends
Fastly::BackendApiupdate_backendUpdate a backend
Fastly::BillingAddressApiadd_billing_addrAdd a billing address to a customer
Fastly::BillingAddressApidelete_billing_addrDelete a billing address
Fastly::BillingAddressApiget_billing_addrGet a billing address
Fastly::BillingAddressApiupdate_billing_addrUpdate a billing address
Fastly::BillingInvoicesApiget_invoice_by_invoice_idGet invoice by ID.
Fastly::BillingInvoicesApiget_month_to_date_invoiceGet month-to-date invoice.
Fastly::BillingInvoicesApilist_invoicesList of invoices.
Fastly::BillingUsageMetricsApiget_service_level_usageRetrieve service-level usage metrics for services with non-zero usage units.
Fastly::BillingUsageMetricsApiget_usage_metricsGet monthly usage metrics
Fastly::CacheSettingsApicreate_cache_settingsCreate a cache settings object
Fastly::CacheSettingsApidelete_cache_settingsDelete a cache settings object
Fastly::CacheSettingsApiget_cache_settingsGet a cache settings object
Fastly::CacheSettingsApilist_cache_settingsList cache settings objects
Fastly::CacheSettingsApiupdate_cache_settingsUpdate a cache settings object
Fastly::ConditionApicreate_conditionCreate a condition
Fastly::ConditionApidelete_conditionDelete a condition
Fastly::ConditionApiget_conditionDescribe a condition
Fastly::ConditionApilist_conditionsList conditions
Fastly::ConditionApiupdate_conditionUpdate a condition
Fastly::ConfigStoreApicreate_config_storeCreate a config store
Fastly::ConfigStoreApidelete_config_storeDelete a config store
Fastly::ConfigStoreApiget_config_storeDescribe a config store
Fastly::ConfigStoreApiget_config_store_infoGet config store metadata
Fastly::ConfigStoreApilist_config_store_servicesList linked services
Fastly::ConfigStoreApilist_config_storesList config stores
Fastly::ConfigStoreApiupdate_config_storeUpdate a config store
Fastly::ConfigStoreItemApibulk_update_config_store_itemUpdate multiple entries in a config store
Fastly::ConfigStoreItemApicreate_config_store_itemCreate an entry in a config store
Fastly::ConfigStoreItemApidelete_config_store_itemDelete an item from a config store
Fastly::ConfigStoreItemApiget_config_store_itemGet an item from a config store
Fastly::ConfigStoreItemApilist_config_store_itemsList items in a config store
Fastly::ConfigStoreItemApiupdate_config_store_itemUpdate an entry in a config store
Fastly::ConfigStoreItemApiupsert_config_store_itemInsert or update an entry in a config store
Fastly::ContactApicreate_contactsAdd a new customer contact
Fastly::ContactApidelete_contactDelete a contact
Fastly::ContactApilist_contactsList contacts
Fastly::ContentApicontent_checkCheck status of content in each POP's cache
Fastly::CustomerApidelete_customerDelete a customer
Fastly::CustomerApiget_customerGet a customer
Fastly::CustomerApiget_logged_in_customerGet the logged in customer
Fastly::CustomerApilist_usersList users
Fastly::CustomerApiupdate_customerUpdate a customer
Fastly::CustomerAddressesApicreate_customer_addressCreates an address associated with a customer account.
Fastly::CustomerAddressesApilist_customer_addressesReturn the list of addresses associated with a customer account.
Fastly::CustomerAddressesApiupdate_customer_addressUpdates an address associated with a customer account.
Fastly::DdosProtectionApiddos_protection_event_getGet event by ID
Fastly::DdosProtectionApiddos_protection_event_listGet events
Fastly::DdosProtectionApiddos_protection_event_rule_listGet all rules for an event
Fastly::DdosProtectionApiddos_protection_rule_getGet a rule by ID
Fastly::DdosProtectionApiddos_protection_traffic_stats_rule_getGet traffic stats for a rule
Fastly::DictionaryApicreate_dictionaryCreate a dictionary
Fastly::DictionaryApidelete_dictionaryDelete a dictionary
Fastly::DictionaryApiget_dictionaryGet a dictionary
Fastly::DictionaryApilist_dictionariesList dictionaries
Fastly::DictionaryApiupdate_dictionaryUpdate a dictionary
Fastly::DictionaryInfoApiget_dictionary_infoGet dictionary metadata
Fastly::DictionaryItemApibulk_update_dictionary_itemUpdate multiple entries in a dictionary
Fastly::DictionaryItemApicreate_dictionary_itemCreate an entry in a dictionary
Fastly::DictionaryItemApidelete_dictionary_itemDelete an item from a dictionary
Fastly::DictionaryItemApiget_dictionary_itemGet an item from a dictionary
Fastly::DictionaryItemApilist_dictionary_itemsList items in a dictionary
Fastly::DictionaryItemApiupdate_dictionary_itemUpdate an entry in a dictionary
Fastly::DictionaryItemApiupsert_dictionary_itemInsert or update an entry in a dictionary
Fastly::DiffApidiff_service_versionsDiff two service versions
Fastly::DirectorApicreate_directorCreate a director
Fastly::DirectorApidelete_directorDelete a director
Fastly::DirectorApiget_directorGet a director
Fastly::DirectorApilist_directorsList directors
Fastly::DirectorApiupdate_directorUpdate a director
Fastly::DirectorBackendApicreate_director_backendCreate a director-backend relationship
Fastly::DirectorBackendApidelete_director_backendDelete a director-backend relationship
Fastly::DirectorBackendApiget_director_backendGet a director-backend relationship
Fastly::DomainApicheck_domainValidate DNS configuration for a single domain on a service
Fastly::DomainApicheck_domainsValidate DNS configuration for all domains on a service
Fastly::DomainApicreate_domainAdd a domain name to a service
Fastly::DomainApidelete_domainRemove a domain from a service
Fastly::DomainApiget_domainDescribe a domain
Fastly::DomainApilist_domainsList domains
Fastly::DomainApiupdate_domainUpdate a domain
Fastly::DomainInspectorHistoricalApiget_domain_inspector_historicalGet historical domain data for a service
Fastly::DomainInspectorRealtimeApiget_domain_inspector_last120_secondsGet real-time domain data for the last 120 seconds
Fastly::DomainInspectorRealtimeApiget_domain_inspector_last_max_entriesGet a limited number of real-time domain data entries
Fastly::DomainInspectorRealtimeApiget_domain_inspector_last_secondGet real-time domain data from a specified time
Fastly::DomainOwnershipsApilist_domain_ownershipsList domain-ownerships
Fastly::EventsApiget_eventGet an event
Fastly::EventsApilist_eventsList events
Fastly::GzipApicreate_gzip_configCreate a gzip configuration
Fastly::GzipApidelete_gzip_configDelete a gzip configuration
Fastly::GzipApiget_gzip_configsGet a gzip configuration
Fastly::GzipApilist_gzip_configsList gzip configurations
Fastly::GzipApiupdate_gzip_configUpdate a gzip configuration
Fastly::HeaderApicreate_header_objectCreate a Header object
Fastly::HeaderApidelete_header_objectDelete a Header object
Fastly::HeaderApiget_header_objectGet a Header object
Fastly::HeaderApilist_header_objectsList Header objects
Fastly::HeaderApiupdate_header_objectUpdate a Header object
Fastly::HealthcheckApicreate_healthcheckCreate a health check
Fastly::HealthcheckApidelete_healthcheckDelete a health check
Fastly::HealthcheckApiget_healthcheckGet a health check
Fastly::HealthcheckApilist_healthchecksList health checks
Fastly::HealthcheckApiupdate_healthcheckUpdate a health check
Fastly::HistoricalApiget_hist_statsGet historical stats
Fastly::HistoricalApiget_hist_stats_aggregatedGet aggregated historical stats
Fastly::HistoricalApiget_hist_stats_fieldGet historical stats for a single field
Fastly::HistoricalApiget_hist_stats_serviceGet historical stats for a single service
Fastly::HistoricalApiget_hist_stats_service_fieldGet historical stats for a single service/field combination
Fastly::HistoricalApiget_regionsGet region codes
Fastly::HistoricalApiget_usageGet usage statistics
Fastly::HistoricalApiget_usage_monthGet month-to-date usage statistics
Fastly::HistoricalApiget_usage_serviceGet usage statistics per service
Fastly::Http3Apicreate_http3Enable support for HTTP/3
Fastly::Http3Apidelete_http3Disable support for HTTP/3
Fastly::Http3Apiget_http3Get HTTP/3 status
Fastly::IamPermissionsApilist_permissionsList permissions
Fastly::IamRolesApiadd_role_permissionsAdd permissions to a role
Fastly::IamRolesApicreate_a_roleCreate a role
Fastly::IamRolesApidelete_a_roleDelete a role
Fastly::IamRolesApiget_a_roleGet a role
Fastly::IamRolesApilist_role_permissionsList permissions in a role
Fastly::IamRolesApilist_rolesList roles
Fastly::IamRolesApiremove_role_permissionsRemove permissions from a role
Fastly::IamRolesApiupdate_a_roleUpdate a role
Fastly::IamServiceGroupsApiadd_service_group_servicesAdd services in a service group
Fastly::IamServiceGroupsApicreate_a_service_groupCreate a service group
Fastly::IamServiceGroupsApidelete_a_service_groupDelete a service group
Fastly::IamServiceGroupsApiget_a_service_groupGet a service group
Fastly::IamServiceGroupsApilist_service_group_servicesList services to a service group
Fastly::IamServiceGroupsApilist_service_groupsList service groups
Fastly::IamServiceGroupsApiremove_service_group_servicesRemove services from a service group
Fastly::IamServiceGroupsApiupdate_a_service_groupUpdate a service group
Fastly::IamUserGroupsApiadd_user_group_membersAdd members to a user group
Fastly::IamUserGroupsApiadd_user_group_rolesAdd roles to a user group
Fastly::IamUserGroupsApiadd_user_group_service_groupsAdd service groups to a user group
Fastly::IamUserGroupsApicreate_a_user_groupCreate a user group
Fastly::IamUserGroupsApidelete_a_user_groupDelete a user group
Fastly::IamUserGroupsApiget_a_user_groupGet a user group
Fastly::IamUserGroupsApilist_user_group_membersList members of a user group
Fastly::IamUserGroupsApilist_user_group_rolesList roles in a user group
Fastly::IamUserGroupsApilist_user_group_service_groupsList service groups in a user group
Fastly::IamUserGroupsApilist_user_groupsList user groups
Fastly::IamUserGroupsApiremove_user_group_membersRemove members of a user group
Fastly::IamUserGroupsApiremove_user_group_rolesRemove roles from a user group
Fastly::IamUserGroupsApiremove_user_group_service_groupsRemove service groups from a user group
Fastly::IamUserGroupsApiupdate_a_user_groupUpdate a user group
Fastly::ImageOptimizerDefaultSettingsApiget_default_settingsGet current Image Optimizer Default Settings
Fastly::ImageOptimizerDefaultSettingsApiupdate_default_settingsUpdate Image Optimizer Default Settings
Fastly::InsightsApiget_log_insightsRetrieve log insights
Fastly::InvitationsApicreate_invitationCreate an invitation
Fastly::InvitationsApidelete_invitationDelete an invitation
Fastly::InvitationsApilist_invitationsList invitations
Fastly::KvStoreApikv_store_createCreate a KV store.
Fastly::KvStoreApikv_store_deleteDelete a KV store.
Fastly::KvStoreApikv_store_getDescribe a KV store.
Fastly::KvStoreApikv_store_listList all KV stores.
Fastly::KvStoreItemApikv_store_delete_itemDelete an item.
Fastly::KvStoreItemApikv_store_get_itemGet an item.
Fastly::KvStoreItemApikv_store_list_item_keysList item keys.
Fastly::KvStoreItemApikv_store_upsert_itemInsert or update an item.
Fastly::LogExplorerApiget_log_recordsRetrieve log records
Fastly::LoggingAzureblobApicreate_log_azureCreate an Azure Blob Storage log endpoint
Fastly::LoggingAzureblobApidelete_log_azureDelete the Azure Blob Storage log endpoint
Fastly::LoggingAzureblobApiget_log_azureGet an Azure Blob Storage log endpoint
Fastly::LoggingAzureblobApilist_log_azureList Azure Blob Storage log endpoints
Fastly::LoggingAzureblobApiupdate_log_azureUpdate an Azure Blob Storage log endpoint
Fastly::LoggingBigqueryApicreate_log_bigqueryCreate a BigQuery log endpoint
Fastly::LoggingBigqueryApidelete_log_bigqueryDelete a BigQuery log endpoint
Fastly::LoggingBigqueryApiget_log_bigqueryGet a BigQuery log endpoint
Fastly::LoggingBigqueryApilist_log_bigqueryList BigQuery log endpoints
Fastly::LoggingBigqueryApiupdate_log_bigqueryUpdate a BigQuery log endpoint
Fastly::LoggingCloudfilesApicreate_log_cloudfilesCreate a Cloud Files log endpoint
Fastly::LoggingCloudfilesApidelete_log_cloudfilesDelete the Cloud Files log endpoint
Fastly::LoggingCloudfilesApiget_log_cloudfilesGet a Cloud Files log endpoint
Fastly::LoggingCloudfilesApilist_log_cloudfilesList Cloud Files log endpoints
Fastly::LoggingCloudfilesApiupdate_log_cloudfilesUpdate the Cloud Files log endpoint
Fastly::LoggingDatadogApicreate_log_datadogCreate a Datadog log endpoint
Fastly::LoggingDatadogApidelete_log_datadogDelete a Datadog log endpoint
Fastly::LoggingDatadogApiget_log_datadogGet a Datadog log endpoint
Fastly::LoggingDatadogApilist_log_datadogList Datadog log endpoints
Fastly::LoggingDatadogApiupdate_log_datadogUpdate a Datadog log endpoint
Fastly::LoggingDigitaloceanApicreate_log_digoceanCreate a DigitalOcean Spaces log endpoint
Fastly::LoggingDigitaloceanApidelete_log_digoceanDelete a DigitalOcean Spaces log endpoint
Fastly::LoggingDigitaloceanApiget_log_digoceanGet a DigitalOcean Spaces log endpoint
Fastly::LoggingDigitaloceanApilist_log_digoceanList DigitalOcean Spaces log endpoints
Fastly::LoggingDigitaloceanApiupdate_log_digoceanUpdate a DigitalOcean Spaces log endpoint
Fastly::LoggingElasticsearchApicreate_log_elasticsearchCreate an Elasticsearch log endpoint
Fastly::LoggingElasticsearchApidelete_log_elasticsearchDelete an Elasticsearch log endpoint
Fastly::LoggingElasticsearchApiget_log_elasticsearchGet an Elasticsearch log endpoint
Fastly::LoggingElasticsearchApilist_log_elasticsearchList Elasticsearch log endpoints
Fastly::LoggingElasticsearchApiupdate_log_elasticsearchUpdate an Elasticsearch log endpoint
Fastly::LoggingFtpApicreate_log_ftpCreate an FTP log endpoint
Fastly::LoggingFtpApidelete_log_ftpDelete an FTP log endpoint
Fastly::LoggingFtpApiget_log_ftpGet an FTP log endpoint
Fastly::LoggingFtpApilist_log_ftpList FTP log endpoints
Fastly::LoggingFtpApiupdate_log_ftpUpdate an FTP log endpoint
Fastly::LoggingGcsApicreate_log_gcsCreate a GCS log endpoint
Fastly::LoggingGcsApidelete_log_gcsDelete a GCS log endpoint
Fastly::LoggingGcsApiget_log_gcsGet a GCS log endpoint
Fastly::LoggingGcsApilist_log_gcsList GCS log endpoints
Fastly::LoggingGcsApiupdate_log_gcsUpdate a GCS log endpoint
Fastly::LoggingGrafanacloudlogsApicreate_log_grafanacloudlogsCreate a Grafana Cloud Logs log endpoint
Fastly::LoggingGrafanacloudlogsApidelete_log_grafanacloudlogsDelete the Grafana Cloud Logs log endpoint
Fastly::LoggingGrafanacloudlogsApiget_log_grafanacloudlogsGet a Grafana Cloud Logs log endpoint
Fastly::LoggingGrafanacloudlogsApilist_log_grafanacloudlogsList Grafana Cloud Logs log endpoints
Fastly::LoggingGrafanacloudlogsApiupdate_log_grafanacloudlogsUpdate a Grafana Cloud Logs log endpoint
Fastly::LoggingHerokuApicreate_log_herokuCreate a Heroku log endpoint
Fastly::LoggingHerokuApidelete_log_herokuDelete the Heroku log endpoint
Fastly::LoggingHerokuApiget_log_herokuGet a Heroku log endpoint
Fastly::LoggingHerokuApilist_log_herokuList Heroku log endpoints
Fastly::LoggingHerokuApiupdate_log_herokuUpdate the Heroku log endpoint
Fastly::LoggingHoneycombApicreate_log_honeycombCreate a Honeycomb log endpoint
Fastly::LoggingHoneycombApidelete_log_honeycombDelete the Honeycomb log endpoint
Fastly::LoggingHoneycombApiget_log_honeycombGet a Honeycomb log endpoint
Fastly::LoggingHoneycombApilist_log_honeycombList Honeycomb log endpoints
Fastly::LoggingHoneycombApiupdate_log_honeycombUpdate a Honeycomb log endpoint
Fastly::LoggingHttpsApicreate_log_httpsCreate an HTTPS log endpoint
Fastly::LoggingHttpsApidelete_log_httpsDelete an HTTPS log endpoint
Fastly::LoggingHttpsApiget_log_httpsGet an HTTPS log endpoint
Fastly::LoggingHttpsApilist_log_httpsList HTTPS log endpoints
Fastly::LoggingHttpsApiupdate_log_httpsUpdate an HTTPS log endpoint
Fastly::LoggingKafkaApicreate_log_kafkaCreate a Kafka log endpoint
Fastly::LoggingKafkaApidelete_log_kafkaDelete the Kafka log endpoint
Fastly::LoggingKafkaApiget_log_kafkaGet a Kafka log endpoint
Fastly::LoggingKafkaApilist_log_kafkaList Kafka log endpoints
Fastly::LoggingKafkaApiupdate_log_kafkaUpdate the Kafka log endpoint
Fastly::LoggingKinesisApicreate_log_kinesisCreate an Amazon Kinesis log endpoint
Fastly::LoggingKinesisApidelete_log_kinesisDelete the Amazon Kinesis log endpoint
Fastly::LoggingKinesisApiget_log_kinesisGet an Amazon Kinesis log endpoint
Fastly::LoggingKinesisApilist_log_kinesisList Amazon Kinesis log endpoints
Fastly::LoggingKinesisApiupdate_log_kinesisUpdate the Amazon Kinesis log endpoint
Fastly::LoggingLogentriesApicreate_log_logentriesCreate a Logentries log endpoint
Fastly::LoggingLogentriesApidelete_log_logentriesDelete a Logentries log endpoint
Fastly::LoggingLogentriesApiget_log_logentriesGet a Logentries log endpoint
Fastly::LoggingLogentriesApilist_log_logentriesList Logentries log endpoints
Fastly::LoggingLogentriesApiupdate_log_logentriesUpdate a Logentries log endpoint
Fastly::LoggingLogglyApicreate_log_logglyCreate a Loggly log endpoint
Fastly::LoggingLogglyApidelete_log_logglyDelete a Loggly log endpoint
Fastly::LoggingLogglyApiget_log_logglyGet a Loggly log endpoint
Fastly::LoggingLogglyApilist_log_logglyList Loggly log endpoints
Fastly::LoggingLogglyApiupdate_log_logglyUpdate a Loggly log endpoint
Fastly::LoggingLogshuttleApicreate_log_logshuttleCreate a Log Shuttle log endpoint
Fastly::LoggingLogshuttleApidelete_log_logshuttleDelete a Log Shuttle log endpoint
Fastly::LoggingLogshuttleApiget_log_logshuttleGet a Log Shuttle log endpoint
Fastly::LoggingLogshuttleApilist_log_logshuttleList Log Shuttle log endpoints
Fastly::LoggingLogshuttleApiupdate_log_logshuttleUpdate a Log Shuttle log endpoint
Fastly::LoggingNewrelicApicreate_log_newrelicCreate a New Relic log endpoint
Fastly::LoggingNewrelicApidelete_log_newrelicDelete a New Relic log endpoint
Fastly::LoggingNewrelicApiget_log_newrelicGet a New Relic log endpoint
Fastly::LoggingNewrelicApilist_log_newrelicList New Relic log endpoints
Fastly::LoggingNewrelicApiupdate_log_newrelicUpdate a New Relic log endpoint
Fastly::LoggingNewrelicotlpApicreate_log_newrelicotlpCreate a New Relic OTLP endpoint
Fastly::LoggingNewrelicotlpApidelete_log_newrelicotlpDelete a New Relic OTLP endpoint
Fastly::LoggingNewrelicotlpApiget_log_newrelicotlpGet a New Relic OTLP endpoint
Fastly::LoggingNewrelicotlpApilist_log_newrelicotlpList New Relic OTLP endpoints
Fastly::LoggingNewrelicotlpApiupdate_log_newrelicotlpUpdate a New Relic log endpoint
Fastly::LoggingOpenstackApicreate_log_openstackCreate an OpenStack log endpoint
Fastly::LoggingOpenstackApidelete_log_openstackDelete an OpenStack log endpoint
Fastly::LoggingOpenstackApiget_log_openstackGet an OpenStack log endpoint
Fastly::LoggingOpenstackApilist_log_openstackList OpenStack log endpoints
Fastly::LoggingOpenstackApiupdate_log_openstackUpdate an OpenStack log endpoint
Fastly::LoggingPapertrailApicreate_log_papertrailCreate a Papertrail log endpoint
Fastly::LoggingPapertrailApidelete_log_papertrailDelete a Papertrail log endpoint
Fastly::LoggingPapertrailApiget_log_papertrailGet a Papertrail log endpoint
Fastly::LoggingPapertrailApilist_log_papertrailList Papertrail log endpoints
Fastly::LoggingPapertrailApiupdate_log_papertrailUpdate a Papertrail log endpoint
Fastly::LoggingPubsubApicreate_log_gcp_pubsubCreate a GCP Cloud Pub/Sub log endpoint
Fastly::LoggingPubsubApidelete_log_gcp_pubsubDelete a GCP Cloud Pub/Sub log endpoint
Fastly::LoggingPubsubApiget_log_gcp_pubsubGet a GCP Cloud Pub/Sub log endpoint
Fastly::LoggingPubsubApilist_log_gcp_pubsubList GCP Cloud Pub/Sub log endpoints
Fastly::LoggingPubsubApiupdate_log_gcp_pubsubUpdate a GCP Cloud Pub/Sub log endpoint
Fastly::LoggingS3Apicreate_log_aws_s3Create an AWS S3 log endpoint
Fastly::LoggingS3Apidelete_log_aws_s3Delete an AWS S3 log endpoint
Fastly::LoggingS3Apiget_log_aws_s3Get an AWS S3 log endpoint
Fastly::LoggingS3Apilist_log_aws_s3List AWS S3 log endpoints
Fastly::LoggingS3Apiupdate_log_aws_s3Update an AWS S3 log endpoint
Fastly::LoggingScalyrApicreate_log_scalyrCreate a Scalyr log endpoint
Fastly::LoggingScalyrApidelete_log_scalyrDelete the Scalyr log endpoint
Fastly::LoggingScalyrApiget_log_scalyrGet a Scalyr log endpoint
Fastly::LoggingScalyrApilist_log_scalyrList Scalyr log endpoints
Fastly::LoggingScalyrApiupdate_log_scalyrUpdate the Scalyr log endpoint
Fastly::LoggingSftpApicreate_log_sftpCreate an SFTP log endpoint
Fastly::LoggingSftpApidelete_log_sftpDelete an SFTP log endpoint
Fastly::LoggingSftpApiget_log_sftpGet an SFTP log endpoint
Fastly::LoggingSftpApilist_log_sftpList SFTP log endpoints
Fastly::LoggingSftpApiupdate_log_sftpUpdate an SFTP log endpoint
Fastly::LoggingSplunkApicreate_log_splunkCreate a Splunk log endpoint
Fastly::LoggingSplunkApidelete_log_splunkDelete a Splunk log endpoint
Fastly::LoggingSplunkApiget_log_splunkGet a Splunk log endpoint
Fastly::LoggingSplunkApilist_log_splunkList Splunk log endpoints
Fastly::LoggingSplunkApiupdate_log_splunkUpdate a Splunk log endpoint
Fastly::LoggingSumologicApicreate_log_sumologicCreate a Sumologic log endpoint
Fastly::LoggingSumologicApidelete_log_sumologicDelete a Sumologic log endpoint
Fastly::LoggingSumologicApiget_log_sumologicGet a Sumologic log endpoint
Fastly::LoggingSumologicApilist_log_sumologicList Sumologic log endpoints
Fastly::LoggingSumologicApiupdate_log_sumologicUpdate a Sumologic log endpoint
Fastly::LoggingSyslogApicreate_log_syslogCreate a syslog log endpoint
Fastly::LoggingSyslogApidelete_log_syslogDelete a syslog log endpoint
Fastly::LoggingSyslogApiget_log_syslogGet a syslog log endpoint
Fastly::LoggingSyslogApilist_log_syslogList Syslog log endpoints
Fastly::LoggingSyslogApiupdate_log_syslogUpdate a syslog log endpoint
Fastly::MutualAuthenticationApicreate_mutual_tls_authenticationCreate a Mutual Authentication
Fastly::MutualAuthenticationApidelete_mutual_tlsDelete a Mutual TLS
Fastly::MutualAuthenticationApiget_mutual_authenticationGet a Mutual Authentication
Fastly::MutualAuthenticationApilist_mutual_authenticationsList Mutual Authentications
Fastly::MutualAuthenticationApipatch_mutual_authenticationUpdate a Mutual Authentication
Fastly::ObjectStorageAccessKeysApicreate_access_keyCreate an access key
Fastly::ObjectStorageAccessKeysApidelete_access_keyDelete an access key
Fastly::ObjectStorageAccessKeysApiget_access_keyGet an access key
Fastly::ObjectStorageAccessKeysApilist_access_keysList access keys
Fastly::ObservabilityAggregationsForLogsApilog_aggregations_getRetrieve aggregated log results
Fastly::ObservabilityCustomDashboardsApicreate_dashboardCreate a new dashboard
Fastly::ObservabilityCustomDashboardsApidelete_dashboardDelete an existing dashboard
Fastly::ObservabilityCustomDashboardsApiget_dashboardRetrieve a dashboard by ID
Fastly::ObservabilityCustomDashboardsApilist_dashboardsList all custom dashboards
Fastly::ObservabilityCustomDashboardsApiupdate_dashboardUpdate an existing dashboard
Fastly::ObservabilityTimeseriesForLogsApilog_timeseries_getRetrieve log data as time series
Fastly::OriginInspectorHistoricalApiget_origin_inspector_historicalGet historical origin data for a service
Fastly::OriginInspectorRealtimeApiget_origin_inspector_last120_secondsGet real-time origin data for the last 120 seconds
Fastly::OriginInspectorRealtimeApiget_origin_inspector_last_max_entriesGet a limited number of real-time origin data entries
Fastly::OriginInspectorRealtimeApiget_origin_inspector_last_secondGet real-time origin data from specific time.
Fastly::PackageApiget_packageGet details of the service's Compute package.
Fastly::PackageApiput_packageUpload a Compute package.
Fastly::PoolApicreate_server_poolCreate a server pool
Fastly::PoolApidelete_server_poolDelete a server pool
Fastly::PoolApiget_server_poolGet a server pool
Fastly::PoolApilist_server_poolsList server pools
Fastly::PoolApiupdate_server_poolUpdate a server pool
Fastly::PopApilist_popsList Fastly POPs
Fastly::ProductAiAcceleratorApidisable_product_ai_acceleratorDisable product
Fastly::ProductAiAcceleratorApienable_ai_acceleratorEnable product
Fastly::ProductAiAcceleratorApiget_ai_acceleratorGet product enablement status
Fastly::ProductBotManagementApidisable_product_bot_managementDisable product
Fastly::ProductBotManagementApienable_product_bot_managementEnable product
Fastly::ProductBotManagementApiget_product_bot_managementGet product enablement status
Fastly::ProductBotManagementApiget_services_product_bot_managementGet services with product enabled
Fastly::ProductBrotliCompressionApidisable_product_brotli_compressionDisable product
Fastly::ProductBrotliCompressionApienable_product_brotli_compressionEnable product
Fastly::ProductBrotliCompressionApiget_product_brotli_compressionGet product enablement status
Fastly::ProductBrotliCompressionApiget_services_product_brotli_compressionGet services with product enabled
Fastly::ProductDdosProtectionApidisable_product_ddos_protectionDisable product
Fastly::ProductDdosProtectionApienable_product_ddos_protectionEnable product
Fastly::ProductDdosProtectionApiget_product_ddos_protectionGet product enablement status
Fastly::ProductDdosProtectionApiget_product_ddos_protection_configurationGet configuration
Fastly::ProductDdosProtectionApiget_services_product_ddos_protectionGet services with product enabled
Fastly::ProductDdosProtectionApiset_product_ddos_protection_configurationUpdate configuration
Fastly::ProductDomainInspectorApidisable_product_domain_inspectorDisable product
Fastly::ProductDomainInspectorApienable_product_domain_inspectorEnable product
Fastly::ProductDomainInspectorApiget_product_domain_inspectorGet product enablement status
Fastly::ProductDomainInspectorApiget_services_product_domain_inspectorGet services with product enabled
Fastly::ProductFanoutApidisable_product_fanoutDisable product
Fastly::ProductFanoutApienable_product_fanoutEnable product
Fastly::ProductFanoutApiget_product_fanoutGet product enablement status
Fastly::ProductFanoutApiget_services_product_fanoutGet services with product enabled
Fastly::ProductImageOptimizerApidisable_product_image_optimizerDisable product
Fastly::ProductImageOptimizerApienable_product_image_optimizerEnable product
Fastly::ProductImageOptimizerApiget_product_image_optimizerGet product enablement status
Fastly::ProductImageOptimizerApiget_services_product_image_optimizerGet services with product enabled
Fastly::ProductLogExplorerInsightsApidisable_product_log_explorer_insightsDisable product
Fastly::ProductLogExplorerInsightsApienable_product_log_explorer_insightsEnable product
Fastly::ProductLogExplorerInsightsApiget_product_log_explorer_insightsGet product enablement status
Fastly::ProductLogExplorerInsightsApiget_services_product_log_explorer_insightsGet services with product enabled
Fastly::ProductNgwafApidisable_product_ngwafDisable product
Fastly::ProductNgwafApienable_product_ngwafEnable product
Fastly::ProductNgwafApiget_product_ngwafGet product enablement status
Fastly::ProductNgwafApiget_product_ngwaf_configurationGet configuration
Fastly::ProductNgwafApiget_services_product_ngwafGet services with product enabled
Fastly::ProductNgwafApiset_product_ngwaf_configurationUpdate configuration
Fastly::ProductObjectStorageApidisable_product_object_storageDisable product
Fastly::ProductObjectStorageApienable_object_storageEnable product
Fastly::ProductObjectStorageApiget_object_storageGet product enablement status
Fastly::ProductOriginInspectorApidisable_product_origin_inspectorDisable product
Fastly::ProductOriginInspectorApienable_product_origin_inspectorEnable product
Fastly::ProductOriginInspectorApiget_product_origin_inspectorGet product enablement status
Fastly::ProductOriginInspectorApiget_services_product_origin_inspectorGet services with product enabled
Fastly::ProductWebsocketsApidisable_product_websocketsDisable product
Fastly::ProductWebsocketsApienable_product_websocketsEnable product
Fastly::ProductWebsocketsApiget_product_websocketsGet product enablement status
Fastly::ProductWebsocketsApiget_services_product_websocketsGet services with product enabled
Fastly::PublicIpListApilist_fastly_ipsList Fastly's public IPs
Fastly::PublishApipublishSend messages to Fanout subscribers
Fastly::PurgeApibulk_purge_tagPurge multiple surrogate key tags
Fastly::PurgeApipurge_allPurge everything from a service
Fastly::PurgeApipurge_single_urlPurge a URL
Fastly::PurgeApipurge_tagPurge by surrogate key tag
Fastly::RateLimiterApicreate_rate_limiterCreate a rate limiter
Fastly::RateLimiterApidelete_rate_limiterDelete a rate limiter
Fastly::RateLimiterApiget_rate_limiterGet a rate limiter
Fastly::RateLimiterApilist_rate_limitersList rate limiters
Fastly::RateLimiterApiupdate_rate_limiterUpdate a rate limiter
Fastly::RealtimeApiget_stats_last120_secondsGet real-time data for the last 120 seconds
Fastly::RealtimeApiget_stats_last120_seconds_limit_entriesGet a limited number of real-time data entries
Fastly::RealtimeApiget_stats_last_secondGet real-time data from specified time
Fastly::RequestSettingsApicreate_request_settingsCreate a Request Settings object
Fastly::RequestSettingsApidelete_request_settingsDelete a Request Settings object
Fastly::RequestSettingsApiget_request_settingsGet a Request Settings object
Fastly::RequestSettingsApilist_request_settingsList Request Settings objects
Fastly::RequestSettingsApiupdate_request_settingsUpdate a Request Settings object
Fastly::ResourceApicreate_resourceCreate a resource link
Fastly::ResourceApidelete_resourceDelete a resource link
Fastly::ResourceApiget_resourceDisplay a resource link
Fastly::ResourceApilist_resourcesList resource links
Fastly::ResourceApiupdate_resourceUpdate a resource link
Fastly::ResponseObjectApicreate_response_objectCreate a Response object
Fastly::ResponseObjectApidelete_response_objectDelete a Response Object
Fastly::ResponseObjectApiget_response_objectGet a Response object
Fastly::ResponseObjectApilist_response_objectsList Response objects
Fastly::ResponseObjectApiupdate_response_objectUpdate a Response object
Fastly::SecretStoreApiclient_keyCreate new client key
Fastly::SecretStoreApicreate_secret_storeCreate new secret store
Fastly::SecretStoreApidelete_secret_storeDelete secret store
Fastly::SecretStoreApiget_secret_storeGet secret store by ID
Fastly::SecretStoreApiget_secret_storesGet all secret stores
Fastly::SecretStoreApisigning_keyGet public key
Fastly::SecretStoreItemApicreate_secretCreate a new secret in a store.
Fastly::SecretStoreItemApidelete_secretDelete a secret from a store.
Fastly::SecretStoreItemApiget_secretGet secret metadata.
Fastly::SecretStoreItemApiget_secretsList secrets within a store.
Fastly::SecretStoreItemApimust_recreate_secretRecreate a secret in a store.
Fastly::SecretStoreItemApirecreate_secretCreate or recreate a secret in a store.
Fastly::ServerApicreate_pool_serverAdd a server to a pool
Fastly::ServerApidelete_pool_serverDelete a server from a pool
Fastly::ServerApiget_pool_serverGet a pool server
Fastly::ServerApilist_pool_serversList servers in a pool
Fastly::ServerApiupdate_pool_serverUpdate a server
Fastly::ServiceApicreate_serviceCreate a service
Fastly::ServiceApidelete_serviceDelete a service
Fastly::ServiceApiget_serviceGet a service
Fastly::ServiceApiget_service_detailGet service details
Fastly::ServiceApilist_service_domainsList the domains within a service
Fastly::ServiceApilist_servicesList services
Fastly::ServiceApisearch_serviceSearch for a service by name
Fastly::ServiceApiupdate_serviceUpdate a service
Fastly::ServiceAuthorizationsApicreate_service_authorizationCreate service authorization
Fastly::ServiceAuthorizationsApidelete_service_authorizationDelete service authorization
Fastly::ServiceAuthorizationsApidelete_service_authorization2Delete service authorizations
Fastly::ServiceAuthorizationsApilist_service_authorizationList service authorizations
Fastly::ServiceAuthorizationsApishow_service_authorizationShow service authorization
Fastly::ServiceAuthorizationsApiupdate_service_authorizationUpdate service authorization
Fastly::ServiceAuthorizationsApiupdate_service_authorization2Update service authorizations
Fastly::SettingsApiget_service_settingsGet service settings
Fastly::SettingsApiupdate_service_settingsUpdate service settings
Fastly::SnippetApicreate_snippetCreate a snippet
Fastly::SnippetApidelete_snippetDelete a snippet
Fastly::SnippetApiget_snippetGet a versioned snippet
Fastly::SnippetApiget_snippet_dynamicGet a dynamic snippet
Fastly::SnippetApilist_snippetsList snippets
Fastly::SnippetApiupdate_snippetUpdate a versioned snippet
Fastly::SnippetApiupdate_snippet_dynamicUpdate a dynamic snippet
Fastly::StarApicreate_service_starCreate a star
Fastly::StarApidelete_service_starDelete a star
Fastly::StarApiget_service_starGet a star
Fastly::StarApilist_service_starsList stars
Fastly::StatsApiget_service_statsGet stats for a service
Fastly::SudoApirequest_sudo_accessRequest Sudo access
Fastly::TlsActivationsApicreate_tls_activationEnable TLS for a domain using a custom certificate
Fastly::TlsActivationsApidelete_tls_activationDisable TLS on a domain
Fastly::TlsActivationsApiget_tls_activationGet a TLS activation
Fastly::TlsActivationsApilist_tls_activationsList TLS activations
Fastly::TlsActivationsApiupdate_tls_activationUpdate a certificate
Fastly::TlsBulkCertificatesApidelete_bulk_tls_certDelete a certificate
Fastly::TlsBulkCertificatesApiget_tls_bulk_certGet a certificate
Fastly::TlsBulkCertificatesApilist_tls_bulk_certsList certificates
Fastly::TlsBulkCertificatesApiupdate_bulk_tls_certUpdate a certificate
Fastly::TlsBulkCertificatesApiupload_tls_bulk_certUpload a certificate
Fastly::TlsCertificatesApicreate_tls_certCreate a TLS certificate
Fastly::TlsCertificatesApidelete_tls_certDelete a TLS certificate
Fastly::TlsCertificatesApiget_tls_certGet a TLS certificate
Fastly::TlsCertificatesApiget_tls_cert_blobGet a TLS certificate blob (Limited Availability)
Fastly::TlsCertificatesApilist_tls_certsList TLS certificates
Fastly::TlsCertificatesApiupdate_tls_certUpdate a TLS certificate
Fastly::TlsConfigurationsApiget_tls_configGet a TLS configuration
Fastly::TlsConfigurationsApilist_tls_configsList TLS configurations
Fastly::TlsConfigurationsApiupdate_tls_configUpdate a TLS configuration
Fastly::TlsCsrsApicreate_csrCreate CSR
Fastly::TlsDomainsApilist_tls_domainsList TLS domains
Fastly::TlsPrivateKeysApicreate_tls_keyCreate a TLS private key
Fastly::TlsPrivateKeysApidelete_tls_keyDelete a TLS private key
Fastly::TlsPrivateKeysApiget_tls_keyGet a TLS private key
Fastly::TlsPrivateKeysApilist_tls_keysList TLS private keys
Fastly::TlsSubscriptionsApicreate_globalsign_email_challengeCreates a GlobalSign email challenge.
Fastly::TlsSubscriptionsApicreate_tls_subCreate a TLS subscription
Fastly::TlsSubscriptionsApidelete_globalsign_email_challengeDelete a GlobalSign email challenge
Fastly::TlsSubscriptionsApidelete_tls_subDelete a TLS subscription
Fastly::TlsSubscriptionsApiget_tls_subGet a TLS subscription
Fastly::TlsSubscriptionsApilist_tls_subsList TLS subscriptions
Fastly::TlsSubscriptionsApipatch_tls_subUpdate a TLS subscription
Fastly::TokensApibulk_revoke_tokensRevoke multiple tokens
Fastly::TokensApicreate_tokenCreate a token
Fastly::TokensApiget_tokenGet a token
Fastly::TokensApiget_token_currentGet the current token
Fastly::TokensApilist_tokens_customerList tokens for a customer
Fastly::TokensApilist_tokens_userList tokens for the authenticated user
Fastly::TokensApirevoke_tokenRevoke a token
Fastly::TokensApirevoke_token_currentRevoke the current token
Fastly::UserApicreate_userCreate a user
Fastly::UserApidelete_userDelete a user
Fastly::UserApiget_current_userGet the current user
Fastly::UserApiget_userGet a user
Fastly::UserApirequest_password_resetRequest a password reset
Fastly::UserApiupdate_userUpdate a user
Fastly::UserApiupdate_user_passwordUpdate the user's password
Fastly::VclApicreate_custom_vclCreate a custom VCL file
Fastly::VclApidelete_custom_vclDelete a custom VCL file
Fastly::VclApiget_custom_vclGet a custom VCL file
Fastly::VclApiget_custom_vcl_boilerplateGet boilerplate VCL
Fastly::VclApiget_custom_vcl_generatedGet the generated VCL for a service
Fastly::VclApiget_custom_vcl_generated_highlightedGet the generated VCL with syntax highlighting
Fastly::VclApiget_custom_vcl_highlightedGet a custom VCL file with syntax highlighting
Fastly::VclApiget_custom_vcl_rawDownload a custom VCL file
Fastly::VclApilint_vcl_defaultLint (validate) VCL using a default set of flags.
Fastly::VclApilint_vcl_for_serviceLint (validate) VCL using flags set for the service.
Fastly::VclApilist_custom_vclList custom VCL files
Fastly::VclApiset_custom_vcl_mainSet a custom VCL file as main
Fastly::VclApiupdate_custom_vclUpdate a custom VCL file
Fastly::VclDiffApivcl_diff_service_versionsGet a comparison of the VCL changes between two service versions
Fastly::VersionApiactivate_service_versionActivate a service version
Fastly::VersionApiactivate_service_version_environmentActivate a service version on the specified environment
Fastly::VersionApiclone_service_versionClone a service version
Fastly::VersionApicreate_service_versionCreate a service version
Fastly::VersionApideactivate_service_versionDeactivate a service version
Fastly::VersionApideactivate_service_version_environmentDeactivate a service version on an environment
Fastly::VersionApiget_service_versionGet a version of a service
Fastly::VersionApilist_service_versionsList versions of a service
Fastly::VersionApilock_service_versionLock a service version
Fastly::VersionApiupdate_service_versionUpdate a service version
Fastly::VersionApivalidate_service_versionValidate a service version
Fastly::WholePlatformDdosHistoricalApiget_platform_ddos_historicalGet historical DDoS metrics for the entire Fastly platform

Issues

The fastly-ruby API client currently does not support the following endpoints:

If you encounter any non-security-related bug or unexpected behavior, please file an issue using the bug report template.

Security issues

Please see our SECURITY.md for guidance on reporting security-related issues.

License

MIT.

FAQs

Package last updated on 13 May 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts