Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fastly

Package Overview
Dependencies
Maintainers
4
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fastly

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

  • 4.1.1
  • npm
  • Socket score

Version published
Weekly downloads
10K
decreased by-23.85%
Maintainers
4
Weekly downloads
 
Created
Source

Fastly

An asynchronous JavaScript client library for interacting with most facets of the Fastly API.

NOTE: This 3.x release is a new generated API client for the Fastly API. The previous 2.x version is no longer supported, but can be found at https://github.com/thisandagain/fastly.

Usage

Please follow the installation instructions and execute the following JS code:

import Fastly from "fastly";

const apiInstance = new Fastly.AclApi();

// If the FASTLY_API_TOKEN environment variable is set,
// the client will use it to authenticate all API requests.
// Alternatively, you may authorize the client instance
// with a Fastly API token, which will override
// the environment variable.
// Fastly.ApiClient.instance.authenticate("YOUR_API_TOKEN");

const options = {
  service_id: "SU1Z0isxPaozGVKXdv0eY", // required
  version_id: 56, // required
  name: "my_acl",
};

apiInstance.createAcl(options)
  .then((data) => {
    console.log(data, 'API called successfully.');
  })
  .catch((error) => {
    console.error(error);
  });

Authorization

The Fastly API requires an API token for most operations. If the FASTLY_API_TOKEN environment variable is set, the client will automatically use it to authenticate all API requests. Alternatively, you may authenticate the client instance with a Fastly API token, which will override the environment variable.

Fastly.ApiClient.instance.authenticate("YOUR_API_TOKEN");

Documentation for API Endpoints

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

ClassMethodDescription
Fastly.AclApicreateAclCreate a new ACL
Fastly.AclApideleteAclDelete an ACL
Fastly.AclApigetAclDescribe an ACL
Fastly.AclApilistAclsList ACLs
Fastly.AclApiupdateAclUpdate an ACL
Fastly.AclEntryApibulkUpdateAclEntriesUpdate multiple ACL entries
Fastly.AclEntryApicreateAclEntryCreate an ACL entry
Fastly.AclEntryApideleteAclEntryDelete an ACL entry
Fastly.AclEntryApigetAclEntryDescribe an ACL entry
Fastly.AclEntryApilistAclEntriesList ACL entries
Fastly.AclEntryApiupdateAclEntryUpdate an ACL entry
Fastly.ApexRedirectApideleteApexRedirectDelete an apex redirect
Fastly.ApexRedirectApigetApexRedirectGet an apex redirect
Fastly.ApexRedirectApilistApexRedirectsList apex redirects
Fastly.ApexRedirectApiupdateApexRedirectUpdate an apex redirect
Fastly.AutomationTokensApicreateAutomationTokenCreate Automation Token
Fastly.AutomationTokensApigetAutomationTokenIdRetrieve an Automation Token by ID
Fastly.AutomationTokensApigetAutomationTokensIdServicesList Automation Token Services
Fastly.AutomationTokensApilistAutomationTokensList Customer Automation Tokens
Fastly.AutomationTokensApirevokeAutomationTokenIdRevoke an Automation Token by ID
Fastly.BackendApicreateBackendCreate a backend
Fastly.BackendApideleteBackendDelete a backend
Fastly.BackendApigetBackendDescribe a backend
Fastly.BackendApilistBackendsList backends
Fastly.BackendApiupdateBackendUpdate a backend
Fastly.BillingApigetInvoiceGet an invoice
Fastly.BillingApigetInvoiceByIdGet an invoice
Fastly.BillingApigetInvoiceMtdGet month-to-date billing estimate
Fastly.BillingAddressApiaddBillingAddrAdd a billing address to a customer
Fastly.BillingAddressApideleteBillingAddrDelete a billing address
Fastly.BillingAddressApigetBillingAddrGet a billing address
Fastly.BillingAddressApiupdateBillingAddrUpdate a billing address
Fastly.CacheSettingsApicreateCacheSettingsCreate a cache settings object
Fastly.CacheSettingsApideleteCacheSettingsDelete a cache settings object
Fastly.CacheSettingsApigetCacheSettingsGet a cache settings object
Fastly.CacheSettingsApilistCacheSettingsList cache settings objects
Fastly.CacheSettingsApiupdateCacheSettingsUpdate a cache settings object
Fastly.ConditionApicreateConditionCreate a condition
Fastly.ConditionApideleteConditionDelete a condition
Fastly.ConditionApigetConditionDescribe a condition
Fastly.ConditionApilistConditionsList conditions
Fastly.ConditionApiupdateConditionUpdate a condition
Fastly.ConfigStoreApicreateConfigStoreCreate a config store
Fastly.ConfigStoreApideleteConfigStoreDelete a config store
Fastly.ConfigStoreApigetConfigStoreDescribe a config store
Fastly.ConfigStoreApigetConfigStoreInfoGet config store metadata
Fastly.ConfigStoreApilistConfigStoreServicesList linked services
Fastly.ConfigStoreApilistConfigStoresList config stores
Fastly.ConfigStoreApiupdateConfigStoreUpdate a config store
Fastly.ConfigStoreItemApibulkUpdateConfigStoreItemUpdate multiple entries in a config store
Fastly.ConfigStoreItemApicreateConfigStoreItemCreate an entry in a config store
Fastly.ConfigStoreItemApideleteConfigStoreItemDelete an item from a config store
Fastly.ConfigStoreItemApigetConfigStoreItemGet an item from a config store
Fastly.ConfigStoreItemApilistConfigStoreItemsList items in a config store
Fastly.ConfigStoreItemApiupdateConfigStoreItemUpdate an entry in a config store
Fastly.ConfigStoreItemApiupsertConfigStoreItemInsert or update an entry in a config store
Fastly.ContactApideleteContactDelete a contact
Fastly.ContactApilistContactsList contacts
Fastly.ContentApicontentCheckCheck status of content in each POP's cache
Fastly.CustomerApideleteCustomerDelete a customer
Fastly.CustomerApigetCustomerGet a customer
Fastly.CustomerApigetLoggedInCustomerGet the logged in customer
Fastly.CustomerApilistUsersList users
Fastly.CustomerApiupdateCustomerUpdate a customer
Fastly.DictionaryApicreateDictionaryCreate an edge dictionary
Fastly.DictionaryApideleteDictionaryDelete an edge dictionary
Fastly.DictionaryApigetDictionaryGet an edge dictionary
Fastly.DictionaryApilistDictionariesList edge dictionaries
Fastly.DictionaryApiupdateDictionaryUpdate an edge dictionary
Fastly.DictionaryInfoApigetDictionaryInfoGet edge dictionary metadata
Fastly.DictionaryItemApibulkUpdateDictionaryItemUpdate multiple entries in an edge dictionary
Fastly.DictionaryItemApicreateDictionaryItemCreate an entry in an edge dictionary
Fastly.DictionaryItemApideleteDictionaryItemDelete an item from an edge dictionary
Fastly.DictionaryItemApigetDictionaryItemGet an item from an edge dictionary
Fastly.DictionaryItemApilistDictionaryItemsList items in an edge dictionary
Fastly.DictionaryItemApiupdateDictionaryItemUpdate an entry in an edge dictionary
Fastly.DictionaryItemApiupsertDictionaryItemInsert or update an entry in an edge dictionary
Fastly.DiffApidiffServiceVersionsDiff two service versions
Fastly.DirectorApicreateDirectorCreate a director
Fastly.DirectorApideleteDirectorDelete a director
Fastly.DirectorApigetDirectorGet a director
Fastly.DirectorApilistDirectorsList directors
Fastly.DirectorBackendApicreateDirectorBackendCreate a director-backend relationship
Fastly.DirectorBackendApideleteDirectorBackendDelete a director-backend relationship
Fastly.DirectorBackendApigetDirectorBackendGet a director-backend relationship
Fastly.DomainApicheckDomainValidate DNS configuration for a single domain on a service
Fastly.DomainApicheckDomainsValidate DNS configuration for all domains on a service
Fastly.DomainApicreateDomainAdd a domain name to a service
Fastly.DomainApideleteDomainRemove a domain from a service
Fastly.DomainApigetDomainDescribe a domain
Fastly.DomainApilistDomainsList domains
Fastly.DomainApiupdateDomainUpdate a domain
Fastly.DomainOwnershipsApilistDomainOwnershipsList domain-ownerships
Fastly.EnabledProductsApidisableProductDisable a product
Fastly.EnabledProductsApienableProductEnable a product
Fastly.EnabledProductsApigetEnabledProductGet enabled product
Fastly.EventsApigetEventGet an event
Fastly.EventsApilistEventsList events
Fastly.GzipApicreateGzipConfigCreate a gzip configuration
Fastly.GzipApideleteGzipConfigDelete a gzip configuration
Fastly.GzipApigetGzipConfigsGet a gzip configuration
Fastly.GzipApilistGzipConfigsList gzip configurations
Fastly.GzipApiupdateGzipConfigUpdate a gzip configuration
Fastly.HeaderApicreateHeaderObjectCreate a Header object
Fastly.HeaderApideleteHeaderObjectDelete a Header object
Fastly.HeaderApigetHeaderObjectGet a Header object
Fastly.HeaderApilistHeaderObjectsList Header objects
Fastly.HeaderApiupdateHeaderObjectUpdate a Header object
Fastly.HealthcheckApicreateHealthcheckCreate a health check
Fastly.HealthcheckApideleteHealthcheckDelete a health check
Fastly.HealthcheckApigetHealthcheckGet a health check
Fastly.HealthcheckApilistHealthchecksList health checks
Fastly.HealthcheckApiupdateHealthcheckUpdate a health check
Fastly.HistoricalApigetHistStatsGet historical stats
Fastly.HistoricalApigetHistStatsAggregatedGet aggregated historical stats
Fastly.HistoricalApigetHistStatsFieldGet historical stats for a single field
Fastly.HistoricalApigetHistStatsServiceGet historical stats for a single service
Fastly.HistoricalApigetHistStatsServiceFieldGet historical stats for a single service/field combination
Fastly.HistoricalApigetRegionsGet region codes
Fastly.HistoricalApigetUsageGet usage statistics
Fastly.HistoricalApigetUsageMonthGet month-to-date usage statistics
Fastly.HistoricalApigetUsageServiceGet usage statistics per service
Fastly.Http3ApicreateHttp3Enable support for HTTP/3
Fastly.Http3ApideleteHttp3Disable support for HTTP/3
Fastly.Http3ApigetHttp3Get HTTP/3 status
Fastly.IamPermissionsApilistPermissionsList permissions
Fastly.IamRolesApideleteARoleDelete a role
Fastly.IamRolesApigetARoleGet a role
Fastly.IamRolesApilistRolePermissionsList permissions in a role
Fastly.IamRolesApilistRolesList roles
Fastly.IamServiceGroupsApideleteAServiceGroupDelete a service group
Fastly.IamServiceGroupsApigetAServiceGroupGet a service group
Fastly.IamServiceGroupsApilistServiceGroupServicesList services to a service group
Fastly.IamServiceGroupsApilistServiceGroupsList service groups
Fastly.IamUserGroupsApideleteAUserGroupDelete a user group
Fastly.IamUserGroupsApigetAUserGroupGet a user group
Fastly.IamUserGroupsApilistUserGroupMembersList members of a user group
Fastly.IamUserGroupsApilistUserGroupRolesList roles in a user group
Fastly.IamUserGroupsApilistUserGroupServiceGroupsList service groups in a user group
Fastly.IamUserGroupsApilistUserGroupsList user groups
Fastly.InvitationsApicreateInvitationCreate an invitation
Fastly.InvitationsApideleteInvitationDelete an invitation
Fastly.InvitationsApilistInvitationsList invitations
Fastly.KvStoreApicreateStoreCreate an kv store.
Fastly.KvStoreApideleteStoreDelete an kv store.
Fastly.KvStoreApigetStoreDescribe an kv store.
Fastly.KvStoreApigetStoresList kv stores.
Fastly.KvStoreItemApideleteKeyFromStoreDelete kv store item.
Fastly.KvStoreItemApigetKeysList kv store keys.
Fastly.KvStoreItemApigetValueForKeyGet the value of an kv store item
Fastly.KvStoreItemApisetValueForKeyInsert an item into an kv store
Fastly.LoggingAzureblobApicreateLogAzureCreate an Azure Blob Storage log endpoint
Fastly.LoggingAzureblobApideleteLogAzureDelete the Azure Blob Storage log endpoint
Fastly.LoggingAzureblobApigetLogAzureGet an Azure Blob Storage log endpoint
Fastly.LoggingAzureblobApilistLogAzureList Azure Blob Storage log endpoints
Fastly.LoggingAzureblobApiupdateLogAzureUpdate an Azure Blob Storage log endpoint
Fastly.LoggingBigqueryApicreateLogBigqueryCreate a BigQuery log endpoint
Fastly.LoggingBigqueryApideleteLogBigqueryDelete a BigQuery log endpoint
Fastly.LoggingBigqueryApigetLogBigqueryGet a BigQuery log endpoint
Fastly.LoggingBigqueryApilistLogBigqueryList BigQuery log endpoints
Fastly.LoggingBigqueryApiupdateLogBigqueryUpdate a BigQuery log endpoint
Fastly.LoggingCloudfilesApicreateLogCloudfilesCreate a Cloud Files log endpoint
Fastly.LoggingCloudfilesApideleteLogCloudfilesDelete the Cloud Files log endpoint
Fastly.LoggingCloudfilesApigetLogCloudfilesGet a Cloud Files log endpoint
Fastly.LoggingCloudfilesApilistLogCloudfilesList Cloud Files log endpoints
Fastly.LoggingCloudfilesApiupdateLogCloudfilesUpdate the Cloud Files log endpoint
Fastly.LoggingDatadogApicreateLogDatadogCreate a Datadog log endpoint
Fastly.LoggingDatadogApideleteLogDatadogDelete a Datadog log endpoint
Fastly.LoggingDatadogApigetLogDatadogGet a Datadog log endpoint
Fastly.LoggingDatadogApilistLogDatadogList Datadog log endpoints
Fastly.LoggingDatadogApiupdateLogDatadogUpdate a Datadog log endpoint
Fastly.LoggingDigitaloceanApicreateLogDigoceanCreate a DigitalOcean Spaces log endpoint
Fastly.LoggingDigitaloceanApideleteLogDigoceanDelete a DigitalOcean Spaces log endpoint
Fastly.LoggingDigitaloceanApigetLogDigoceanGet a DigitalOcean Spaces log endpoint
Fastly.LoggingDigitaloceanApilistLogDigoceanList DigitalOcean Spaces log endpoints
Fastly.LoggingDigitaloceanApiupdateLogDigoceanUpdate a DigitalOcean Spaces log endpoint
Fastly.LoggingElasticsearchApicreateLogElasticsearchCreate an Elasticsearch log endpoint
Fastly.LoggingElasticsearchApideleteLogElasticsearchDelete an Elasticsearch log endpoint
Fastly.LoggingElasticsearchApigetLogElasticsearchGet an Elasticsearch log endpoint
Fastly.LoggingElasticsearchApilistLogElasticsearchList Elasticsearch log endpoints
Fastly.LoggingElasticsearchApiupdateLogElasticsearchUpdate an Elasticsearch log endpoint
Fastly.LoggingFtpApicreateLogFtpCreate an FTP log endpoint
Fastly.LoggingFtpApideleteLogFtpDelete an FTP log endpoint
Fastly.LoggingFtpApigetLogFtpGet an FTP log endpoint
Fastly.LoggingFtpApilistLogFtpList FTP log endpoints
Fastly.LoggingFtpApiupdateLogFtpUpdate an FTP log endpoint
Fastly.LoggingGcsApicreateLogGcsCreate a GCS log endpoint
Fastly.LoggingGcsApideleteLogGcsDelete a GCS log endpoint
Fastly.LoggingGcsApigetLogGcsGet a GCS log endpoint
Fastly.LoggingGcsApilistLogGcsList GCS log endpoints
Fastly.LoggingGcsApiupdateLogGcsUpdate a GCS log endpoint
Fastly.LoggingHerokuApicreateLogHerokuCreate a Heroku log endpoint
Fastly.LoggingHerokuApideleteLogHerokuDelete the Heroku log endpoint
Fastly.LoggingHerokuApigetLogHerokuGet a Heroku log endpoint
Fastly.LoggingHerokuApilistLogHerokuList Heroku log endpoints
Fastly.LoggingHerokuApiupdateLogHerokuUpdate the Heroku log endpoint
Fastly.LoggingHoneycombApicreateLogHoneycombCreate a Honeycomb log endpoint
Fastly.LoggingHoneycombApideleteLogHoneycombDelete the Honeycomb log endpoint
Fastly.LoggingHoneycombApigetLogHoneycombGet a Honeycomb log endpoint
Fastly.LoggingHoneycombApilistLogHoneycombList Honeycomb log endpoints
Fastly.LoggingHoneycombApiupdateLogHoneycombUpdate a Honeycomb log endpoint
Fastly.LoggingHttpsApicreateLogHttpsCreate an HTTPS log endpoint
Fastly.LoggingHttpsApideleteLogHttpsDelete an HTTPS log endpoint
Fastly.LoggingHttpsApigetLogHttpsGet an HTTPS log endpoint
Fastly.LoggingHttpsApilistLogHttpsList HTTPS log endpoints
Fastly.LoggingHttpsApiupdateLogHttpsUpdate an HTTPS log endpoint
Fastly.LoggingKafkaApicreateLogKafkaCreate a Kafka log endpoint
Fastly.LoggingKafkaApideleteLogKafkaDelete the Kafka log endpoint
Fastly.LoggingKafkaApigetLogKafkaGet a Kafka log endpoint
Fastly.LoggingKafkaApilistLogKafkaList Kafka log endpoints
Fastly.LoggingKinesisApicreateLogKinesisCreate an Amazon Kinesis log endpoint
Fastly.LoggingKinesisApideleteLogKinesisDelete the Amazon Kinesis log endpoint
Fastly.LoggingKinesisApigetLogKinesisGet an Amazon Kinesis log endpoint
Fastly.LoggingKinesisApilistLogKinesisList Amazon Kinesis log endpoints
Fastly.LoggingLogentriesApicreateLogLogentriesCreate a Logentries log endpoint
Fastly.LoggingLogentriesApideleteLogLogentriesDelete a Logentries log endpoint
Fastly.LoggingLogentriesApigetLogLogentriesGet a Logentries log endpoint
Fastly.LoggingLogentriesApilistLogLogentriesList Logentries log endpoints
Fastly.LoggingLogentriesApiupdateLogLogentriesUpdate a Logentries log endpoint
Fastly.LoggingLogglyApicreateLogLogglyCreate a Loggly log endpoint
Fastly.LoggingLogglyApideleteLogLogglyDelete a Loggly log endpoint
Fastly.LoggingLogglyApigetLogLogglyGet a Loggly log endpoint
Fastly.LoggingLogglyApilistLogLogglyList Loggly log endpoints
Fastly.LoggingLogglyApiupdateLogLogglyUpdate a Loggly log endpoint
Fastly.LoggingLogshuttleApicreateLogLogshuttleCreate a Log Shuttle log endpoint
Fastly.LoggingLogshuttleApideleteLogLogshuttleDelete a Log Shuttle log endpoint
Fastly.LoggingLogshuttleApigetLogLogshuttleGet a Log Shuttle log endpoint
Fastly.LoggingLogshuttleApilistLogLogshuttleList Log Shuttle log endpoints
Fastly.LoggingLogshuttleApiupdateLogLogshuttleUpdate a Log Shuttle log endpoint
Fastly.LoggingNewrelicApicreateLogNewrelicCreate a New Relic log endpoint
Fastly.LoggingNewrelicApideleteLogNewrelicDelete a New Relic log endpoint
Fastly.LoggingNewrelicApigetLogNewrelicGet a New Relic log endpoint
Fastly.LoggingNewrelicApilistLogNewrelicList New Relic log endpoints
Fastly.LoggingNewrelicApiupdateLogNewrelicUpdate a New Relic log endpoint
Fastly.LoggingOpenstackApicreateLogOpenstackCreate an OpenStack log endpoint
Fastly.LoggingOpenstackApideleteLogOpenstackDelete an OpenStack log endpoint
Fastly.LoggingOpenstackApigetLogOpenstackGet an OpenStack log endpoint
Fastly.LoggingOpenstackApilistLogOpenstackList OpenStack log endpoints
Fastly.LoggingOpenstackApiupdateLogOpenstackUpdate an OpenStack log endpoint
Fastly.LoggingPapertrailApicreateLogPapertrailCreate a Papertrail log endpoint
Fastly.LoggingPapertrailApideleteLogPapertrailDelete a Papertrail log endpoint
Fastly.LoggingPapertrailApigetLogPapertrailGet a Papertrail log endpoint
Fastly.LoggingPapertrailApilistLogPapertrailList Papertrail log endpoints
Fastly.LoggingPapertrailApiupdateLogPapertrailUpdate a Papertrail log endpoint
Fastly.LoggingPubsubApicreateLogGcpPubsubCreate a GCP Cloud Pub/Sub log endpoint
Fastly.LoggingPubsubApideleteLogGcpPubsubDelete a GCP Cloud Pub/Sub log endpoint
Fastly.LoggingPubsubApigetLogGcpPubsubGet a GCP Cloud Pub/Sub log endpoint
Fastly.LoggingPubsubApilistLogGcpPubsubList GCP Cloud Pub/Sub log endpoints
Fastly.LoggingPubsubApiupdateLogGcpPubsubUpdate a GCP Cloud Pub/Sub log endpoint
Fastly.LoggingS3ApicreateLogAwsS3Create an AWS S3 log endpoint
Fastly.LoggingS3ApideleteLogAwsS3Delete an AWS S3 log endpoint
Fastly.LoggingS3ApigetLogAwsS3Get an AWS S3 log endpoint
Fastly.LoggingS3ApilistLogAwsS3List AWS S3 log endpoints
Fastly.LoggingS3ApiupdateLogAwsS3Update an AWS S3 log endpoint
Fastly.LoggingScalyrApicreateLogScalyrCreate a Scalyr log endpoint
Fastly.LoggingScalyrApideleteLogScalyrDelete the Scalyr log endpoint
Fastly.LoggingScalyrApigetLogScalyrGet a Scalyr log endpoint
Fastly.LoggingScalyrApilistLogScalyrList Scalyr log endpoints
Fastly.LoggingScalyrApiupdateLogScalyrUpdate the Scalyr log endpoint
Fastly.LoggingSftpApicreateLogSftpCreate an SFTP log endpoint
Fastly.LoggingSftpApideleteLogSftpDelete an SFTP log endpoint
Fastly.LoggingSftpApigetLogSftpGet an SFTP log endpoint
Fastly.LoggingSftpApilistLogSftpList SFTP log endpoints
Fastly.LoggingSftpApiupdateLogSftpUpdate an SFTP log endpoint
Fastly.LoggingSplunkApicreateLogSplunkCreate a Splunk log endpoint
Fastly.LoggingSplunkApideleteLogSplunkDelete a Splunk log endpoint
Fastly.LoggingSplunkApigetLogSplunkGet a Splunk log endpoint
Fastly.LoggingSplunkApilistLogSplunkList Splunk log endpoints
Fastly.LoggingSplunkApiupdateLogSplunkUpdate a Splunk log endpoint
Fastly.LoggingSumologicApicreateLogSumologicCreate a Sumologic log endpoint
Fastly.LoggingSumologicApideleteLogSumologicDelete a Sumologic log endpoint
Fastly.LoggingSumologicApigetLogSumologicGet a Sumologic log endpoint
Fastly.LoggingSumologicApilistLogSumologicList Sumologic log endpoints
Fastly.LoggingSumologicApiupdateLogSumologicUpdate a Sumologic log endpoint
Fastly.LoggingSyslogApicreateLogSyslogCreate a syslog log endpoint
Fastly.LoggingSyslogApideleteLogSyslogDelete a syslog log endpoint
Fastly.LoggingSyslogApigetLogSyslogGet a syslog log endpoint
Fastly.LoggingSyslogApilistLogSyslogList Syslog log endpoints
Fastly.LoggingSyslogApiupdateLogSyslogUpdate a syslog log endpoint
Fastly.MutualAuthenticationApicreateMutualTlsAuthenticationCreate a Mutual Authentication
Fastly.MutualAuthenticationApideleteMutualTlsDelete a Mutual TLS
Fastly.MutualAuthenticationApigetMutualAuthenticationGet a Mutual Authentication
Fastly.MutualAuthenticationApilistMutualAuthenticationsList Mutual Authentications
Fastly.MutualAuthenticationApipatchMutualAuthenticationUpdate a Mutual Authentication
Fastly.PackageApigetPackageGet details of the service's Compute@Edge package.
Fastly.PackageApiputPackageUpload a Compute@Edge package.
Fastly.PoolApicreateServerPoolCreate a server pool
Fastly.PoolApideleteServerPoolDelete a server pool
Fastly.PoolApigetServerPoolGet a server pool
Fastly.PoolApilistServerPoolsList server pools
Fastly.PoolApiupdateServerPoolUpdate a server pool
Fastly.PopApilistPopsList Fastly POPs
Fastly.PublicIpListApilistFastlyIpsList Fastly's public IPs
Fastly.PublishApipublishSend messages to Fanout subscribers
Fastly.PurgeApibulkPurgeTagPurge multiple surrogate key tags
Fastly.PurgeApipurgeAllPurge everything from a service
Fastly.PurgeApipurgeSingleUrlPurge a URL
Fastly.PurgeApipurgeTagPurge by surrogate key tag
Fastly.RateLimiterApideleteRateLimiterDelete a rate limiter
Fastly.RateLimiterApigetRateLimiterGet a rate limiter
Fastly.RateLimiterApilistRateLimitersList rate limiters
Fastly.RealtimeApigetStatsLast120SecondsGet real-time data for the last 120 seconds
Fastly.RealtimeApigetStatsLast120SecondsLimitEntriesGet a limited number of real-time data entries
Fastly.RealtimeApigetStatsLastSecondGet real-time data from specified time
Fastly.RequestSettingsApideleteRequestSettingsDelete a Request Settings object
Fastly.RequestSettingsApigetRequestSettingsGet a Request Settings object
Fastly.RequestSettingsApilistRequestSettingsList Request Settings objects
Fastly.RequestSettingsApiupdateRequestSettingsUpdate a Request Settings object
Fastly.ResourceApicreateResourceCreate a resource link
Fastly.ResourceApideleteResourceDelete a resource link
Fastly.ResourceApigetResourceDisplay a resource link
Fastly.ResourceApilistResourcesList resource links
Fastly.ResourceApiupdateResourceUpdate a resource link
Fastly.ResponseObjectApideleteResponseObjectDelete a Response Object
Fastly.ResponseObjectApigetResponseObjectGet a Response object
Fastly.ResponseObjectApilistResponseObjectsList Response objects
Fastly.ServerApicreatePoolServerAdd a server to a pool
Fastly.ServerApideletePoolServerDelete a server from a pool
Fastly.ServerApigetPoolServerGet a pool server
Fastly.ServerApilistPoolServersList servers in a pool
Fastly.ServerApiupdatePoolServerUpdate a server
Fastly.ServiceApicreateServiceCreate a service
Fastly.ServiceApideleteServiceDelete a service
Fastly.ServiceApigetServiceGet a service
Fastly.ServiceApigetServiceDetailGet service details
Fastly.ServiceApilistServiceDomainsList the domains within a service
Fastly.ServiceApilistServicesList services
Fastly.ServiceApisearchServiceSearch for a service by name
Fastly.ServiceApiupdateServiceUpdate a service
Fastly.ServiceAuthorizationsApicreateServiceAuthorizationCreate service authorization
Fastly.ServiceAuthorizationsApideleteServiceAuthorizationDelete service authorization
Fastly.ServiceAuthorizationsApilistServiceAuthorizationList service authorizations
Fastly.ServiceAuthorizationsApishowServiceAuthorizationShow service authorization
Fastly.ServiceAuthorizationsApiupdateServiceAuthorizationUpdate service authorization
Fastly.SettingsApigetServiceSettingsGet service settings
Fastly.SettingsApiupdateServiceSettingsUpdate service settings
Fastly.SnippetApicreateSnippetCreate a snippet
Fastly.SnippetApideleteSnippetDelete a snippet
Fastly.SnippetApigetSnippetGet a versioned snippet
Fastly.SnippetApigetSnippetDynamicGet a dynamic snippet
Fastly.SnippetApilistSnippetsList snippets
Fastly.SnippetApiupdateSnippetDynamicUpdate a dynamic snippet
Fastly.StarApicreateServiceStarCreate a star
Fastly.StarApideleteServiceStarDelete a star
Fastly.StarApigetServiceStarGet a star
Fastly.StarApilistServiceStarsList stars
Fastly.StatsApigetServiceStatsGet stats for a service
Fastly.TlsActivationsApicreateTlsActivationEnable TLS for a domain using a custom certificate
Fastly.TlsActivationsApideleteTlsActivationDisable TLS on a domain
Fastly.TlsActivationsApigetTlsActivationGet a TLS activation
Fastly.TlsActivationsApilistTlsActivationsList TLS activations
Fastly.TlsActivationsApiupdateTlsActivationUpdate a certificate
Fastly.TlsBulkCertificatesApideleteBulkTlsCertDelete a certificate
Fastly.TlsBulkCertificatesApigetTlsBulkCertGet a certificate
Fastly.TlsBulkCertificatesApilistTlsBulkCertsList certificates
Fastly.TlsBulkCertificatesApiupdateBulkTlsCertUpdate a certificate
Fastly.TlsBulkCertificatesApiuploadTlsBulkCertUpload a certificate
Fastly.TlsCertificatesApicreateTlsCertCreate a TLS certificate
Fastly.TlsCertificatesApideleteTlsCertDelete a TLS certificate
Fastly.TlsCertificatesApigetTlsCertGet a TLS certificate
Fastly.TlsCertificatesApilistTlsCertsList TLS certificates
Fastly.TlsCertificatesApiupdateTlsCertUpdate a TLS certificate
Fastly.TlsConfigurationsApigetTlsConfigGet a TLS configuration
Fastly.TlsConfigurationsApilistTlsConfigsList TLS configurations
Fastly.TlsConfigurationsApiupdateTlsConfigUpdate a TLS configuration
Fastly.TlsDomainsApilistTlsDomainsList TLS domains
Fastly.TlsPrivateKeysApicreateTlsKeyCreate a TLS private key
Fastly.TlsPrivateKeysApideleteTlsKeyDelete a TLS private key
Fastly.TlsPrivateKeysApigetTlsKeyGet a TLS private key
Fastly.TlsPrivateKeysApilistTlsKeysList TLS private keys
Fastly.TlsSubscriptionsApicreateGlobalsignEmailChallengeCreates a GlobalSign email challenge.
Fastly.TlsSubscriptionsApicreateTlsSubCreate a TLS subscription
Fastly.TlsSubscriptionsApideleteGlobalsignEmailChallengeDelete a GlobalSign email challenge
Fastly.TlsSubscriptionsApideleteTlsSubDelete a TLS subscription
Fastly.TlsSubscriptionsApigetTlsSubGet a TLS subscription
Fastly.TlsSubscriptionsApilistTlsSubsList TLS subscriptions
Fastly.TlsSubscriptionsApipatchTlsSubUpdate a TLS subscription
Fastly.TokensApigetTokenCurrentGet the current token
Fastly.TokensApilistTokensCustomerList tokens for a customer
Fastly.TokensApilistTokensUserList tokens for the authenticated user
Fastly.TokensApirevokeTokenRevoke a token
Fastly.TokensApirevokeTokenCurrentRevoke the current token
Fastly.UserApicreateUserCreate a user
Fastly.UserApideleteUserDelete a user
Fastly.UserApigetCurrentUserGet the current user
Fastly.UserApigetUserGet a user
Fastly.UserApirequestPasswordResetRequest a password reset
Fastly.UserApiupdateUserUpdate a user
Fastly.UserApiupdateUserPasswordUpdate the user's password
Fastly.VclDiffApivclDiffServiceVersionsGet a comparison of the VCL changes between two service versions
Fastly.VersionApiactivateServiceVersionActivate a service version
Fastly.VersionApicloneServiceVersionClone a service version
Fastly.VersionApicreateServiceVersionCreate a service version
Fastly.VersionApideactivateServiceVersionDeactivate a service version
Fastly.VersionApigetServiceVersionGet a version of a service
Fastly.VersionApilistServiceVersionsList versions of a service
Fastly.VersionApilockServiceVersionLock a service version
Fastly.VersionApiupdateServiceVersionUpdate a service version
Fastly.VersionApivalidateServiceVersionValidate a service version
Fastly.WafActiveRulesApibulkUpdateWafActiveRulesUpdate multiple active rules
Fastly.WafActiveRulesApicreateWafActiveRuleAdd a rule to a WAF as an active rule
Fastly.WafActiveRulesApicreateWafActiveRulesTagCreate active rules by tag
Fastly.WafActiveRulesApideleteWafActiveRuleDelete an active rule
Fastly.WafActiveRulesApigetWafActiveRuleGet an active WAF rule object
Fastly.WafActiveRulesApilistWafActiveRulesList active rules on a WAF
Fastly.WafActiveRulesApiupdateWafActiveRuleUpdate an active rule
Fastly.WafExclusionsApicreateWafRuleExclusionCreate a WAF rule exclusion
Fastly.WafExclusionsApideleteWafRuleExclusionDelete a WAF rule exclusion
Fastly.WafExclusionsApigetWafRuleExclusionGet a WAF rule exclusion
Fastly.WafExclusionsApilistWafRuleExclusionsList WAF rule exclusions
Fastly.WafExclusionsApiupdateWafRuleExclusionUpdate a WAF rule exclusion
Fastly.WafFirewallVersionsApicloneWafFirewallVersionClone a firewall version
Fastly.WafFirewallVersionsApicreateWafFirewallVersionCreate a firewall version
Fastly.WafFirewallVersionsApideployActivateWafFirewallVersionDeploy or activate a firewall version
Fastly.WafFirewallVersionsApigetWafFirewallVersionGet a firewall version
Fastly.WafFirewallVersionsApilistWafFirewallVersionsList firewall versions
Fastly.WafFirewallVersionsApiupdateWafFirewallVersionUpdate a firewall version
Fastly.WafFirewallsApicreateWafFirewallCreate a firewall
Fastly.WafFirewallsApideleteWafFirewallDelete a firewall
Fastly.WafFirewallsApigetWafFirewallGet a firewall
Fastly.WafFirewallsApilistWafFirewallsList firewalls
Fastly.WafFirewallsApiupdateWafFirewallUpdate a firewall
Fastly.WafRuleRevisionsApigetWafRuleRevisionGet a revision of a rule
Fastly.WafRuleRevisionsApilistWafRuleRevisionsList revisions for a rule
Fastly.WafRulesApigetWafRuleGet a rule
Fastly.WafRulesApilistWafRulesList available WAF rules
Fastly.WafTagsApilistWafTagsList tags

Issues

The fastly-js 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 22 May 2023

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc