Skip to content

fastly/fastly-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fastly

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

Warning

This API client is auto-generated from Fastly's OpenAPI specification and may not function correctly when used on the Compute platform. Support for Compute is on the roadmap but has not yet been prioritized.

Usage

import Fastly from "fastly";

const apiInstance = new Fastly.AclApi();

/**
* @note
* 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.
* @example
* Fastly.ApiClient.instance.authenticate("YOUR_API_TOKEN");
* const fastlyService = new FastlyInstance.ServiceApi();
* @note
* For ESM based Typescript projects, import the client like this:
* import * as Fastly from "fastly";
*
*/

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

Note

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");

API Endpoints

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

Table of API endpoints
Class Method Description
Fastly.AclApi createAcl Create a new ACL
Fastly.AclApi deleteAcl Delete an ACL
Fastly.AclApi getAcl Describe an ACL
Fastly.AclApi listAcls List ACLs
Fastly.AclApi updateAcl Update an ACL
Fastly.AclEntryApi bulkUpdateAclEntries Update multiple ACL entries
Fastly.AclEntryApi createAclEntry Create an ACL entry
Fastly.AclEntryApi deleteAclEntry Delete an ACL entry
Fastly.AclEntryApi getAclEntry Describe an ACL entry
Fastly.AclEntryApi listAclEntries List ACL entries
Fastly.AclEntryApi updateAclEntry Update an ACL entry
Fastly.AclsInComputeApi computeAclCreateAcls Create a new ACL
Fastly.AclsInComputeApi computeAclDeleteSAclId Delete an ACL
Fastly.AclsInComputeApi computeAclListAclEntries List an ACL
Fastly.AclsInComputeApi computeAclListAcls List ACLs
Fastly.AclsInComputeApi computeAclListAclsSAclId Describe an ACL
Fastly.AclsInComputeApi computeAclLookupAcls Lookup an ACL
Fastly.AclsInComputeApi computeAclUpdateAcls Update an ACL
Fastly.ApexRedirectApi createApexRedirect Create an apex redirect
Fastly.ApexRedirectApi deleteApexRedirect Delete an apex redirect
Fastly.ApexRedirectApi getApexRedirect Get an apex redirect
Fastly.ApexRedirectApi listApexRedirects List apex redirects
Fastly.ApexRedirectApi updateApexRedirect Update an apex redirect
Fastly.AutomationTokensApi createAutomationToken Create Automation Token
Fastly.AutomationTokensApi getAutomationTokenId Retrieve an Automation Token by ID
Fastly.AutomationTokensApi getAutomationTokensIdServices List Automation Token Services
Fastly.AutomationTokensApi listAutomationTokens List Customer Automation Tokens
Fastly.AutomationTokensApi revokeAutomationTokenId Revoke an Automation Token by ID
Fastly.BackendApi createBackend Create a backend
Fastly.BackendApi deleteBackend Delete a backend
Fastly.BackendApi getBackend Describe a backend
Fastly.BackendApi listBackends List backends
Fastly.BackendApi updateBackend Update a backend
Fastly.BillingApi getInvoice Get an invoice
Fastly.BillingApi getInvoiceById Get an invoice
Fastly.BillingApi getInvoiceMtd Get month-to-date billing estimate
Fastly.BillingAddressApi addBillingAddr Add a billing address to a customer
Fastly.BillingAddressApi deleteBillingAddr Delete a billing address
Fastly.BillingAddressApi getBillingAddr Get a billing address
Fastly.BillingAddressApi updateBillingAddr Update a billing address
Fastly.BillingInvoicesApi getInvoiceByInvoiceId Get invoice by ID.
Fastly.BillingInvoicesApi getMonthToDateInvoice Get month-to-date invoice.
Fastly.BillingInvoicesApi listInvoices List of invoices.
Fastly.BillingUsageMetricsApi getServiceLevelUsage Retrieve service-level usage metrics for a product.
Fastly.BillingUsageMetricsApi getServiceLevelUsageTypes Retrieve product usage types for a customer.
Fastly.CacheSettingsApi createCacheSettings Create a cache settings object
Fastly.CacheSettingsApi deleteCacheSettings Delete a cache settings object
Fastly.CacheSettingsApi getCacheSettings Get a cache settings object
Fastly.CacheSettingsApi listCacheSettings List cache settings objects
Fastly.CacheSettingsApi updateCacheSettings Update a cache settings object
Fastly.ConditionApi createCondition Create a condition
Fastly.ConditionApi deleteCondition Delete a condition
Fastly.ConditionApi getCondition Describe a condition
Fastly.ConditionApi listConditions List conditions
Fastly.ConditionApi updateCondition Update a condition
Fastly.ConfigStoreApi createConfigStore Create a config store
Fastly.ConfigStoreApi deleteConfigStore Delete a config store
Fastly.ConfigStoreApi getConfigStore Describe a config store
Fastly.ConfigStoreApi getConfigStoreInfo Get config store metadata
Fastly.ConfigStoreApi listConfigStoreServices List linked services
Fastly.ConfigStoreApi listConfigStores List config stores
Fastly.ConfigStoreApi updateConfigStore Update a config store
Fastly.ConfigStoreItemApi bulkUpdateConfigStoreItem Update multiple entries in a config store
Fastly.ConfigStoreItemApi createConfigStoreItem Create an entry in a config store
Fastly.ConfigStoreItemApi deleteConfigStoreItem Delete an item from a config store
Fastly.ConfigStoreItemApi getConfigStoreItem Get an item from a config store
Fastly.ConfigStoreItemApi listConfigStoreItems List items in a config store
Fastly.ConfigStoreItemApi updateConfigStoreItem Update an entry in a config store
Fastly.ConfigStoreItemApi upsertConfigStoreItem Insert or update an entry in a config store
Fastly.ContactApi createContacts Add a new customer contact
Fastly.ContactApi deleteContact Delete a contact
Fastly.ContactApi listContacts List contacts
Fastly.ContentApi contentCheck Check status of content in each POP's cache
Fastly.CustomerApi deleteCustomer Delete a customer
Fastly.CustomerApi getCustomer Get a customer
Fastly.CustomerApi getLoggedInCustomer Get the logged in customer
Fastly.CustomerApi listUsers List users
Fastly.CustomerApi updateCustomer Update a customer
Fastly.CustomerAddressesApi createCustomerAddress Creates an address associated with a customer account.
Fastly.CustomerAddressesApi listCustomerAddresses Return the list of addresses associated with a customer account.
Fastly.CustomerAddressesApi updateCustomerAddress Updates an address associated with a customer account.
Fastly.DictionaryApi createDictionary Create an edge dictionary
Fastly.DictionaryApi deleteDictionary Delete an edge dictionary
Fastly.DictionaryApi getDictionary Get an edge dictionary
Fastly.DictionaryApi listDictionaries List edge dictionaries
Fastly.DictionaryApi updateDictionary Update an edge dictionary
Fastly.DictionaryInfoApi getDictionaryInfo Get edge dictionary metadata
Fastly.DictionaryItemApi bulkUpdateDictionaryItem Update multiple entries in an edge dictionary
Fastly.DictionaryItemApi createDictionaryItem Create an entry in an edge dictionary
Fastly.DictionaryItemApi deleteDictionaryItem Delete an item from an edge dictionary
Fastly.DictionaryItemApi getDictionaryItem Get an item from an edge dictionary
Fastly.DictionaryItemApi listDictionaryItems List items in an edge dictionary
Fastly.DictionaryItemApi updateDictionaryItem Update an entry in an edge dictionary
Fastly.DictionaryItemApi upsertDictionaryItem Insert or update an entry in an edge dictionary
Fastly.DiffApi diffServiceVersions Diff two service versions
Fastly.DirectorApi createDirector Create a director
Fastly.DirectorApi deleteDirector Delete a director
Fastly.DirectorApi getDirector Get a director
Fastly.DirectorApi listDirectors List directors
Fastly.DirectorApi updateDirector Update a director
Fastly.DirectorBackendApi createDirectorBackend Create a director-backend relationship
Fastly.DirectorBackendApi deleteDirectorBackend Delete a director-backend relationship
Fastly.DirectorBackendApi getDirectorBackend Get a director-backend relationship
Fastly.DomainApi checkDomain Validate DNS configuration for a single domain on a service
Fastly.DomainApi checkDomains Validate DNS configuration for all domains on a service
Fastly.DomainApi createDomain Add a domain name to a service
Fastly.DomainApi deleteDomain Remove a domain from a service
Fastly.DomainApi getDomain Describe a domain
Fastly.DomainApi listDomains List domains
Fastly.DomainApi updateDomain Update a domain
Fastly.DomainInspectorHistoricalApi getDomainInspectorHistorical Get historical domain data for a service
Fastly.DomainInspectorRealtimeApi getDomainInspectorLast120Seconds Get real-time domain data for the last 120 seconds
Fastly.DomainInspectorRealtimeApi getDomainInspectorLastMaxEntries Get a limited number of real-time domain data entries
Fastly.DomainInspectorRealtimeApi getDomainInspectorLastSecond Get real-time domain data from a specified time
Fastly.DomainOwnershipsApi listDomainOwnerships List domain-ownerships
Fastly.EnabledProductsApi disableProduct Disable a product
Fastly.EnabledProductsApi enableProduct Enable a product
Fastly.EnabledProductsApi getEnabledProduct Get enabled product
Fastly.EnabledProductsApi getProductConfiguration Get configuration for a product
Fastly.EnabledProductsApi setProductConfiguration Update configuration for a product
Fastly.EventsApi getEvent Get an event
Fastly.EventsApi listEvents List events
Fastly.GzipApi createGzipConfig Create a gzip configuration
Fastly.GzipApi deleteGzipConfig Delete a gzip configuration
Fastly.GzipApi getGzipConfigs Get a gzip configuration
Fastly.GzipApi listGzipConfigs List gzip configurations
Fastly.GzipApi updateGzipConfig Update a gzip configuration
Fastly.HeaderApi createHeaderObject Create a Header object
Fastly.HeaderApi deleteHeaderObject Delete a Header object
Fastly.HeaderApi getHeaderObject Get a Header object
Fastly.HeaderApi listHeaderObjects List Header objects
Fastly.HeaderApi updateHeaderObject Update a Header object
Fastly.HealthcheckApi createHealthcheck Create a health check
Fastly.HealthcheckApi deleteHealthcheck Delete a health check
Fastly.HealthcheckApi getHealthcheck Get a health check
Fastly.HealthcheckApi listHealthchecks List health checks
Fastly.HealthcheckApi updateHealthcheck Update a health check
Fastly.HistoricalApi getHistStats Get historical stats
Fastly.HistoricalApi getHistStatsAggregated Get aggregated historical stats
Fastly.HistoricalApi getHistStatsField Get historical stats for a single field
Fastly.HistoricalApi getHistStatsService Get historical stats for a single service
Fastly.HistoricalApi getHistStatsServiceField Get historical stats for a single service/field combination
Fastly.HistoricalApi getRegions Get region codes
Fastly.HistoricalApi getUsage Get usage statistics
Fastly.HistoricalApi getUsageMonth Get month-to-date usage statistics
Fastly.HistoricalApi getUsageService Get usage statistics per service
Fastly.Http3Api createHttp3 Enable support for HTTP/3
Fastly.Http3Api deleteHttp3 Disable support for HTTP/3
Fastly.Http3Api getHttp3 Get HTTP/3 status
Fastly.IamPermissionsApi listPermissions List permissions
Fastly.IamRolesApi addRolePermissions Add permissions to a role
Fastly.IamRolesApi createARole Create a role
Fastly.IamRolesApi deleteARole Delete a role
Fastly.IamRolesApi getARole Get a role
Fastly.IamRolesApi listRolePermissions List permissions in a role
Fastly.IamRolesApi listRoles List roles
Fastly.IamRolesApi removeRolePermissions Remove permissions from a role
Fastly.IamRolesApi updateARole Update a role
Fastly.IamServiceGroupsApi addServiceGroupServices Add services in a service group
Fastly.IamServiceGroupsApi createAServiceGroup Create a service group
Fastly.IamServiceGroupsApi deleteAServiceGroup Delete a service group
Fastly.IamServiceGroupsApi getAServiceGroup Get a service group
Fastly.IamServiceGroupsApi listServiceGroupServices List services to a service group
Fastly.IamServiceGroupsApi listServiceGroups List service groups
Fastly.IamServiceGroupsApi removeServiceGroupServices Remove services from a service group
Fastly.IamServiceGroupsApi updateAServiceGroup Update a service group
Fastly.IamUserGroupsApi addUserGroupMembers Add members to a user group
Fastly.IamUserGroupsApi addUserGroupRoles Add roles to a user group
Fastly.IamUserGroupsApi addUserGroupServiceGroups Add service groups to a user group
Fastly.IamUserGroupsApi createAUserGroup Create a user group
Fastly.IamUserGroupsApi deleteAUserGroup Delete a user group
Fastly.IamUserGroupsApi getAUserGroup Get a user group
Fastly.IamUserGroupsApi listUserGroupMembers List members of a user group
Fastly.IamUserGroupsApi listUserGroupRoles List roles in a user group
Fastly.IamUserGroupsApi listUserGroupServiceGroups List service groups in a user group
Fastly.IamUserGroupsApi listUserGroups List user groups
Fastly.IamUserGroupsApi removeUserGroupMembers Remove members of a user group
Fastly.IamUserGroupsApi removeUserGroupRoles Remove roles from a user group
Fastly.IamUserGroupsApi removeUserGroupServiceGroups Remove service groups from a user group
Fastly.IamUserGroupsApi updateAUserGroup Update a user group
Fastly.ImageOptimizerDefaultSettingsApi getDefaultSettings Get current Image Optimizer Default Settings
Fastly.ImageOptimizerDefaultSettingsApi updateDefaultSettings Update Image Optimizer Default Settings
Fastly.InvitationsApi createInvitation Create an invitation
Fastly.InvitationsApi deleteInvitation Delete an invitation
Fastly.InvitationsApi listInvitations List invitations
Fastly.KvStoreApi createStore Create a KV store.
Fastly.KvStoreApi deleteStore Delete a KV store.
Fastly.KvStoreApi getStore Describe a KV store.
Fastly.KvStoreApi getStores List KV stores.
Fastly.KvStoreItemApi deleteKeyFromStore Delete kv store item.
Fastly.KvStoreItemApi getKeys List kv store keys.
Fastly.KvStoreItemApi getValueForKey Get the value of an kv store item
Fastly.KvStoreItemApi setValueForKey Insert an item into an kv store
Fastly.LegacyWafConfigurationSetsApi listWafConfigSets List configuration sets
Fastly.LegacyWafConfigurationSetsApi listWafsConfigSet List WAFs currently using a configuration set
Fastly.LegacyWafConfigurationSetsApi useWafConfigSet Apply a configuration set to a WAF
Fastly.LegacyWafFirewallApi createLegacyWafFirewallService Create a firewall
Fastly.LegacyWafFirewallApi disableLegacyWafFirewall Disable a firewall
Fastly.LegacyWafFirewallApi enableLegacyWafFirewall Enable a firewall
Fastly.LegacyWafFirewallApi getLegacyWafFirewall Get a firewall object
Fastly.LegacyWafFirewallApi getLegacyWafFirewallService Get a firewall
Fastly.LegacyWafFirewallApi listLegacyWafFirewalls List active firewalls
Fastly.LegacyWafFirewallApi listLegacyWafFirewallsService List firewalls
Fastly.LegacyWafFirewallApi updateLegacyWafFirewallService Update a firewall
Fastly.LegacyWafOwaspApi createOwaspSettings Create an OWASP settings object
Fastly.LegacyWafOwaspApi getOwaspSettings Get the OWASP settings object
Fastly.LegacyWafOwaspApi updateOwaspSettings Update the OWASP settings object
Fastly.LegacyWafRuleApi getLegacyWafFirewallRuleVcl Get VCL for a rule associated with a firewall
Fastly.LegacyWafRuleApi getLegacyWafRule Get a rule
Fastly.LegacyWafRuleApi getLegacyWafRuleVcl Get VCL for a rule
Fastly.LegacyWafRuleApi listLegacyWafRules List rules in the latest configuration set
Fastly.LegacyWafRuleStatusApi getWafFirewallRuleStatus Get the status of a rule on a firewall
Fastly.LegacyWafRuleStatusApi listWafFirewallRuleStatuses List rule statuses
Fastly.LegacyWafRuleStatusApi updateWafFirewallRuleStatus Update the status of a rule
Fastly.LegacyWafRuleStatusApi updateWafFirewallRuleStatusesTag Create or update status of a tagged group of rules
Fastly.LegacyWafRulesetApi getWafRuleset Get a WAF ruleset
Fastly.LegacyWafRulesetApi getWafRulesetVcl Generate WAF ruleset VCL
Fastly.LegacyWafRulesetApi updateWafRuleset Update a WAF ruleset
Fastly.LegacyWafTagApi listLegacyWafTags List WAF tags
Fastly.LegacyWafUpdateStatusApi getWafUpdateStatus Get the status of a WAF update
Fastly.LegacyWafUpdateStatusApi listWafUpdateStatuses List update statuses
Fastly.LoggingAzureblobApi createLogAzure Create an Azure Blob Storage log endpoint
Fastly.LoggingAzureblobApi deleteLogAzure Delete the Azure Blob Storage log endpoint
Fastly.LoggingAzureblobApi getLogAzure Get an Azure Blob Storage log endpoint
Fastly.LoggingAzureblobApi listLogAzure List Azure Blob Storage log endpoints
Fastly.LoggingAzureblobApi updateLogAzure Update an Azure Blob Storage log endpoint
Fastly.LoggingBigqueryApi createLogBigquery Create a BigQuery log endpoint
Fastly.LoggingBigqueryApi deleteLogBigquery Delete a BigQuery log endpoint
Fastly.LoggingBigqueryApi getLogBigquery Get a BigQuery log endpoint
Fastly.LoggingBigqueryApi listLogBigquery List BigQuery log endpoints
Fastly.LoggingBigqueryApi updateLogBigquery Update a BigQuery log endpoint
Fastly.LoggingCloudfilesApi createLogCloudfiles Create a Cloud Files log endpoint
Fastly.LoggingCloudfilesApi deleteLogCloudfiles Delete the Cloud Files log endpoint
Fastly.LoggingCloudfilesApi getLogCloudfiles Get a Cloud Files log endpoint
Fastly.LoggingCloudfilesApi listLogCloudfiles List Cloud Files log endpoints
Fastly.LoggingCloudfilesApi updateLogCloudfiles Update the Cloud Files log endpoint
Fastly.LoggingDatadogApi createLogDatadog Create a Datadog log endpoint
Fastly.LoggingDatadogApi deleteLogDatadog Delete a Datadog log endpoint
Fastly.LoggingDatadogApi getLogDatadog Get a Datadog log endpoint
Fastly.LoggingDatadogApi listLogDatadog List Datadog log endpoints
Fastly.LoggingDatadogApi updateLogDatadog Update a Datadog log endpoint
Fastly.LoggingDigitaloceanApi createLogDigocean Create a DigitalOcean Spaces log endpoint
Fastly.LoggingDigitaloceanApi deleteLogDigocean Delete a DigitalOcean Spaces log endpoint
Fastly.LoggingDigitaloceanApi getLogDigocean Get a DigitalOcean Spaces log endpoint
Fastly.LoggingDigitaloceanApi listLogDigocean List DigitalOcean Spaces log endpoints
Fastly.LoggingDigitaloceanApi updateLogDigocean Update a DigitalOcean Spaces log endpoint
Fastly.LoggingElasticsearchApi createLogElasticsearch Create an Elasticsearch log endpoint
Fastly.LoggingElasticsearchApi deleteLogElasticsearch Delete an Elasticsearch log endpoint
Fastly.LoggingElasticsearchApi getLogElasticsearch Get an Elasticsearch log endpoint
Fastly.LoggingElasticsearchApi listLogElasticsearch List Elasticsearch log endpoints
Fastly.LoggingElasticsearchApi updateLogElasticsearch Update an Elasticsearch log endpoint
Fastly.LoggingFtpApi createLogFtp Create an FTP log endpoint
Fastly.LoggingFtpApi deleteLogFtp Delete an FTP log endpoint
Fastly.LoggingFtpApi getLogFtp Get an FTP log endpoint
Fastly.LoggingFtpApi listLogFtp List FTP log endpoints
Fastly.LoggingFtpApi updateLogFtp Update an FTP log endpoint
Fastly.LoggingGcsApi createLogGcs Create a GCS log endpoint
Fastly.LoggingGcsApi deleteLogGcs Delete a GCS log endpoint
Fastly.LoggingGcsApi getLogGcs Get a GCS log endpoint
Fastly.LoggingGcsApi listLogGcs List GCS log endpoints
Fastly.LoggingGcsApi updateLogGcs Update a GCS log endpoint
Fastly.LoggingHerokuApi createLogHeroku Create a Heroku log endpoint
Fastly.LoggingHerokuApi deleteLogHeroku Delete the Heroku log endpoint
Fastly.LoggingHerokuApi getLogHeroku Get a Heroku log endpoint
Fastly.LoggingHerokuApi listLogHeroku List Heroku log endpoints
Fastly.LoggingHerokuApi updateLogHeroku Update the Heroku log endpoint
Fastly.LoggingHoneycombApi createLogHoneycomb Create a Honeycomb log endpoint
Fastly.LoggingHoneycombApi deleteLogHoneycomb Delete the Honeycomb log endpoint
Fastly.LoggingHoneycombApi getLogHoneycomb Get a Honeycomb log endpoint
Fastly.LoggingHoneycombApi listLogHoneycomb List Honeycomb log endpoints
Fastly.LoggingHoneycombApi updateLogHoneycomb Update a Honeycomb log endpoint
Fastly.LoggingHttpsApi createLogHttps Create an HTTPS log endpoint
Fastly.LoggingHttpsApi deleteLogHttps Delete an HTTPS log endpoint
Fastly.LoggingHttpsApi getLogHttps Get an HTTPS log endpoint
Fastly.LoggingHttpsApi listLogHttps List HTTPS log endpoints
Fastly.LoggingHttpsApi updateLogHttps Update an HTTPS log endpoint
Fastly.LoggingKafkaApi createLogKafka Create a Kafka log endpoint
Fastly.LoggingKafkaApi deleteLogKafka Delete the Kafka log endpoint
Fastly.LoggingKafkaApi getLogKafka Get a Kafka log endpoint
Fastly.LoggingKafkaApi listLogKafka List Kafka log endpoints
Fastly.LoggingKafkaApi updateLogKafka Update the Kafka log endpoint
Fastly.LoggingKinesisApi createLogKinesis Create an Amazon Kinesis log endpoint
Fastly.LoggingKinesisApi deleteLogKinesis Delete the Amazon Kinesis log endpoint
Fastly.LoggingKinesisApi getLogKinesis Get an Amazon Kinesis log endpoint
Fastly.LoggingKinesisApi listLogKinesis List Amazon Kinesis log endpoints
Fastly.LoggingKinesisApi updateLogKinesis Update the Amazon Kinesis log endpoint
Fastly.LoggingLogentriesApi createLogLogentries Create a Logentries log endpoint
Fastly.LoggingLogentriesApi deleteLogLogentries Delete a Logentries log endpoint
Fastly.LoggingLogentriesApi getLogLogentries Get a Logentries log endpoint
Fastly.LoggingLogentriesApi listLogLogentries List Logentries log endpoints
Fastly.LoggingLogentriesApi updateLogLogentries Update a Logentries log endpoint
Fastly.LoggingLogglyApi createLogLoggly Create a Loggly log endpoint
Fastly.LoggingLogglyApi deleteLogLoggly Delete a Loggly log endpoint
Fastly.LoggingLogglyApi getLogLoggly Get a Loggly log endpoint
Fastly.LoggingLogglyApi listLogLoggly List Loggly log endpoints
Fastly.LoggingLogglyApi updateLogLoggly Update a Loggly log endpoint
Fastly.LoggingLogshuttleApi createLogLogshuttle Create a Log Shuttle log endpoint
Fastly.LoggingLogshuttleApi deleteLogLogshuttle Delete a Log Shuttle log endpoint
Fastly.LoggingLogshuttleApi getLogLogshuttle Get a Log Shuttle log endpoint
Fastly.LoggingLogshuttleApi listLogLogshuttle List Log Shuttle log endpoints
Fastly.LoggingLogshuttleApi updateLogLogshuttle Update a Log Shuttle log endpoint
Fastly.LoggingNewrelicApi createLogNewrelic Create a New Relic log endpoint
Fastly.LoggingNewrelicApi deleteLogNewrelic Delete a New Relic log endpoint
Fastly.LoggingNewrelicApi getLogNewrelic Get a New Relic log endpoint
Fastly.LoggingNewrelicApi listLogNewrelic List New Relic log endpoints
Fastly.LoggingNewrelicApi updateLogNewrelic Update a New Relic log endpoint
Fastly.LoggingNewrelicotlpApi createLogNewrelicotlp Create a New Relic OTLP endpoint
Fastly.LoggingNewrelicotlpApi deleteLogNewrelicotlp Delete a New Relic OTLP endpoint
Fastly.LoggingNewrelicotlpApi getLogNewrelicotlp Get a New Relic OTLP endpoint
Fastly.LoggingNewrelicotlpApi listLogNewrelicotlp List New Relic OTLP endpoints
Fastly.LoggingNewrelicotlpApi updateLogNewrelicotlp Update a New Relic log endpoint
Fastly.LoggingOpenstackApi createLogOpenstack Create an OpenStack log endpoint
Fastly.LoggingOpenstackApi deleteLogOpenstack Delete an OpenStack log endpoint
Fastly.LoggingOpenstackApi getLogOpenstack Get an OpenStack log endpoint
Fastly.LoggingOpenstackApi listLogOpenstack List OpenStack log endpoints
Fastly.LoggingOpenstackApi updateLogOpenstack Update an OpenStack log endpoint
Fastly.LoggingPapertrailApi createLogPapertrail Create a Papertrail log endpoint
Fastly.LoggingPapertrailApi deleteLogPapertrail Delete a Papertrail log endpoint
Fastly.LoggingPapertrailApi getLogPapertrail Get a Papertrail log endpoint
Fastly.LoggingPapertrailApi listLogPapertrail List Papertrail log endpoints
Fastly.LoggingPapertrailApi updateLogPapertrail Update a Papertrail log endpoint
Fastly.LoggingPubsubApi createLogGcpPubsub Create a GCP Cloud Pub/Sub log endpoint
Fastly.LoggingPubsubApi deleteLogGcpPubsub Delete a GCP Cloud Pub/Sub log endpoint
Fastly.LoggingPubsubApi getLogGcpPubsub Get a GCP Cloud Pub/Sub log endpoint
Fastly.LoggingPubsubApi listLogGcpPubsub List GCP Cloud Pub/Sub log endpoints
Fastly.LoggingPubsubApi updateLogGcpPubsub Update a GCP Cloud Pub/Sub log endpoint
Fastly.LoggingS3Api createLogAwsS3 Create an AWS S3 log endpoint
Fastly.LoggingS3Api deleteLogAwsS3 Delete an AWS S3 log endpoint
Fastly.LoggingS3Api getLogAwsS3 Get an AWS S3 log endpoint
Fastly.LoggingS3Api listLogAwsS3 List AWS S3 log endpoints
Fastly.LoggingS3Api updateLogAwsS3 Update an AWS S3 log endpoint
Fastly.LoggingScalyrApi createLogScalyr Create a Scalyr log endpoint
Fastly.LoggingScalyrApi deleteLogScalyr Delete the Scalyr log endpoint
Fastly.LoggingScalyrApi getLogScalyr Get a Scalyr log endpoint
Fastly.LoggingScalyrApi listLogScalyr List Scalyr log endpoints
Fastly.LoggingScalyrApi updateLogScalyr Update the Scalyr log endpoint
Fastly.LoggingSftpApi createLogSftp Create an SFTP log endpoint
Fastly.LoggingSftpApi deleteLogSftp Delete an SFTP log endpoint
Fastly.LoggingSftpApi getLogSftp Get an SFTP log endpoint
Fastly.LoggingSftpApi listLogSftp List SFTP log endpoints
Fastly.LoggingSftpApi updateLogSftp Update an SFTP log endpoint
Fastly.LoggingSplunkApi createLogSplunk Create a Splunk log endpoint
Fastly.LoggingSplunkApi deleteLogSplunk Delete a Splunk log endpoint
Fastly.LoggingSplunkApi getLogSplunk Get a Splunk log endpoint
Fastly.LoggingSplunkApi listLogSplunk List Splunk log endpoints
Fastly.LoggingSplunkApi updateLogSplunk Update a Splunk log endpoint
Fastly.LoggingSumologicApi createLogSumologic Create a Sumologic log endpoint
Fastly.LoggingSumologicApi deleteLogSumologic Delete a Sumologic log endpoint
Fastly.LoggingSumologicApi getLogSumologic Get a Sumologic log endpoint
Fastly.LoggingSumologicApi listLogSumologic List Sumologic log endpoints
Fastly.LoggingSumologicApi updateLogSumologic Update a Sumologic log endpoint
Fastly.LoggingSyslogApi createLogSyslog Create a syslog log endpoint
Fastly.LoggingSyslogApi deleteLogSyslog Delete a syslog log endpoint
Fastly.LoggingSyslogApi getLogSyslog Get a syslog log endpoint
Fastly.LoggingSyslogApi listLogSyslog List Syslog log endpoints
Fastly.LoggingSyslogApi updateLogSyslog Update a syslog log endpoint
Fastly.MutualAuthenticationApi createMutualTlsAuthentication Create a Mutual Authentication
Fastly.MutualAuthenticationApi deleteMutualTls Delete a Mutual TLS
Fastly.MutualAuthenticationApi getMutualAuthentication Get a Mutual Authentication
Fastly.MutualAuthenticationApi listMutualAuthentications List Mutual Authentications
Fastly.MutualAuthenticationApi patchMutualAuthentication Update a Mutual Authentication
Fastly.ObservabilityCustomDashboardsApi createDashboard Create a new dashboard
Fastly.ObservabilityCustomDashboardsApi deleteDashboard Delete an existing dashboard
Fastly.ObservabilityCustomDashboardsApi getDashboard Retrieve a dashboard by ID
Fastly.ObservabilityCustomDashboardsApi listDashboards List all custom dashboards
Fastly.ObservabilityCustomDashboardsApi updateDashboard Update an existing dashboard
Fastly.OriginInspectorHistoricalApi getOriginInspectorHistorical Get historical origin data for a service
Fastly.OriginInspectorRealtimeApi getOriginInspectorLast120Seconds Get real-time origin data for the last 120 seconds
Fastly.OriginInspectorRealtimeApi getOriginInspectorLastMaxEntries Get a limited number of real-time origin data entries
Fastly.OriginInspectorRealtimeApi getOriginInspectorLastSecond Get real-time origin data from specific time.
Fastly.PackageApi getPackage Get details of the service's Compute package.
Fastly.PackageApi putPackage Upload a Compute package.
Fastly.PoolApi createServerPool Create a server pool
Fastly.PoolApi deleteServerPool Delete a server pool
Fastly.PoolApi getServerPool Get a server pool
Fastly.PoolApi listServerPools List server pools
Fastly.PoolApi updateServerPool Update a server pool
Fastly.PopApi listPops List Fastly POPs
Fastly.PublicIpListApi listFastlyIps List Fastly's public IPs
Fastly.PublishApi publish Send messages to Fanout subscribers
Fastly.PurgeApi bulkPurgeTag Purge multiple surrogate key tags
Fastly.PurgeApi purgeAll Purge everything from a service
Fastly.PurgeApi purgeSingleUrl Purge a URL
Fastly.PurgeApi purgeTag Purge by surrogate key tag
Fastly.RateLimiterApi createRateLimiter Create a rate limiter
Fastly.RateLimiterApi deleteRateLimiter Delete a rate limiter
Fastly.RateLimiterApi getRateLimiter Get a rate limiter
Fastly.RateLimiterApi listRateLimiters List rate limiters
Fastly.RateLimiterApi updateRateLimiter Update a rate limiter
Fastly.RealtimeApi getStatsLast120Seconds Get real-time data for the last 120 seconds
Fastly.RealtimeApi getStatsLast120SecondsLimitEntries Get a limited number of real-time data entries
Fastly.RealtimeApi getStatsLastSecond Get real-time data from specified time
Fastly.RequestSettingsApi createRequestSettings Create a Request Settings object
Fastly.RequestSettingsApi deleteRequestSettings Delete a Request Settings object
Fastly.RequestSettingsApi getRequestSettings Get a Request Settings object
Fastly.RequestSettingsApi listRequestSettings List Request Settings objects
Fastly.RequestSettingsApi updateRequestSettings Update a Request Settings object
Fastly.ResourceApi createResource Create a resource link
Fastly.ResourceApi deleteResource Delete a resource link
Fastly.ResourceApi getResource Display a resource link
Fastly.ResourceApi listResources List resource links
Fastly.ResourceApi updateResource Update a resource link
Fastly.ResponseObjectApi createResponseObject Create a Response object
Fastly.ResponseObjectApi deleteResponseObject Delete a Response Object
Fastly.ResponseObjectApi getResponseObject Get a Response object
Fastly.ResponseObjectApi listResponseObjects List Response objects
Fastly.ResponseObjectApi updateResponseObject Update a Response object
Fastly.SecretStoreApi clientKey Create new client key
Fastly.SecretStoreApi createSecretStore Create new secret store
Fastly.SecretStoreApi deleteSecretStore Delete secret store
Fastly.SecretStoreApi getSecretStore Get secret store by ID
Fastly.SecretStoreApi getSecretStores Get all secret stores
Fastly.SecretStoreApi signingKey Get public key
Fastly.SecretStoreItemApi createSecret Create a new secret in a store.
Fastly.SecretStoreItemApi deleteSecret Delete a secret from a store.
Fastly.SecretStoreItemApi getSecret Get secret metadata.
Fastly.SecretStoreItemApi getSecrets List secrets within a store.
Fastly.SecretStoreItemApi mustRecreateSecret Recreate a secret in a store.
Fastly.SecretStoreItemApi recreateSecret Create or recreate a secret in a store.
Fastly.ServerApi createPoolServer Add a server to a pool
Fastly.ServerApi deletePoolServer Delete a server from a pool
Fastly.ServerApi getPoolServer Get a pool server
Fastly.ServerApi listPoolServers List servers in a pool
Fastly.ServerApi updatePoolServer Update a server
Fastly.ServiceApi createService Create a service
Fastly.ServiceApi deleteService Delete a service
Fastly.ServiceApi getService Get a service
Fastly.ServiceApi getServiceDetail Get service details
Fastly.ServiceApi listServiceDomains List the domains within a service
Fastly.ServiceApi listServices List services
Fastly.ServiceApi searchService Search for a service by name
Fastly.ServiceApi updateService Update a service
Fastly.ServiceAuthorizationsApi createServiceAuthorization Create service authorization
Fastly.ServiceAuthorizationsApi deleteServiceAuthorization Delete service authorization
Fastly.ServiceAuthorizationsApi deleteServiceAuthorization2 Delete service authorizations
Fastly.ServiceAuthorizationsApi listServiceAuthorization List service authorizations
Fastly.ServiceAuthorizationsApi showServiceAuthorization Show service authorization
Fastly.ServiceAuthorizationsApi updateServiceAuthorization Update service authorization
Fastly.ServiceAuthorizationsApi updateServiceAuthorization2 Update service authorizations
Fastly.SettingsApi getServiceSettings Get service settings
Fastly.SettingsApi updateServiceSettings Update service settings
Fastly.SnippetApi createSnippet Create a snippet
Fastly.SnippetApi deleteSnippet Delete a snippet
Fastly.SnippetApi getSnippet Get a versioned snippet
Fastly.SnippetApi getSnippetDynamic Get a dynamic snippet
Fastly.SnippetApi listSnippets List snippets
Fastly.SnippetApi updateSnippet Update a versioned snippet
Fastly.SnippetApi updateSnippetDynamic Update a dynamic snippet
Fastly.StarApi createServiceStar Create a star
Fastly.StarApi deleteServiceStar Delete a star
Fastly.StarApi getServiceStar Get a star
Fastly.StarApi listServiceStars List stars
Fastly.StatsApi getServiceStats Get stats for a service
Fastly.SudoApi requestSudoAccess Request Sudo access
Fastly.TlsActivationsApi createTlsActivation Enable TLS for a domain using a custom certificate
Fastly.TlsActivationsApi deleteTlsActivation Disable TLS on a domain
Fastly.TlsActivationsApi getTlsActivation Get a TLS activation
Fastly.TlsActivationsApi listTlsActivations List TLS activations
Fastly.TlsActivationsApi updateTlsActivation Update a certificate
Fastly.TlsBulkCertificatesApi deleteBulkTlsCert Delete a certificate
Fastly.TlsBulkCertificatesApi getTlsBulkCert Get a certificate
Fastly.TlsBulkCertificatesApi listTlsBulkCerts List certificates
Fastly.TlsBulkCertificatesApi updateBulkTlsCert Update a certificate
Fastly.TlsBulkCertificatesApi uploadTlsBulkCert Upload a certificate
Fastly.TlsCertificatesApi createTlsCert Create a TLS certificate
Fastly.TlsCertificatesApi deleteTlsCert Delete a TLS certificate
Fastly.TlsCertificatesApi getTlsCert Get a TLS certificate
Fastly.TlsCertificatesApi getTlsCertBlob Get a TLS certificate blob (Limited Availability)
Fastly.TlsCertificatesApi listTlsCerts List TLS certificates
Fastly.TlsCertificatesApi updateTlsCert Update a TLS certificate
Fastly.TlsConfigurationsApi getTlsConfig Get a TLS configuration
Fastly.TlsConfigurationsApi listTlsConfigs List TLS configurations
Fastly.TlsConfigurationsApi updateTlsConfig Update a TLS configuration
Fastly.TlsCsrsApi createCsr Create CSR
Fastly.TlsDomainsApi listTlsDomains List TLS domains
Fastly.TlsPrivateKeysApi createTlsKey Create a TLS private key
Fastly.TlsPrivateKeysApi deleteTlsKey Delete a TLS private key
Fastly.TlsPrivateKeysApi getTlsKey Get a TLS private key
Fastly.TlsPrivateKeysApi listTlsKeys List TLS private keys
Fastly.TlsSubscriptionsApi createGlobalsignEmailChallenge Creates a GlobalSign email challenge.
Fastly.TlsSubscriptionsApi createTlsSub Create a TLS subscription
Fastly.TlsSubscriptionsApi deleteGlobalsignEmailChallenge Delete a GlobalSign email challenge
Fastly.TlsSubscriptionsApi deleteTlsSub Delete a TLS subscription
Fastly.TlsSubscriptionsApi getTlsSub Get a TLS subscription
Fastly.TlsSubscriptionsApi listTlsSubs List TLS subscriptions
Fastly.TlsSubscriptionsApi patchTlsSub Update a TLS subscription
Fastly.TokensApi bulkRevokeTokens Revoke multiple tokens
Fastly.TokensApi createToken Create a token
Fastly.TokensApi getToken Get a token
Fastly.TokensApi getTokenCurrent Get the current token
Fastly.TokensApi listTokensCustomer List tokens for a customer
Fastly.TokensApi listTokensUser List tokens for the authenticated user
Fastly.TokensApi revokeToken Revoke a token
Fastly.TokensApi revokeTokenCurrent Revoke the current token
Fastly.UserApi createUser Create a user
Fastly.UserApi deleteUser Delete a user
Fastly.UserApi getCurrentUser Get the current user
Fastly.UserApi getUser Get a user
Fastly.UserApi requestPasswordReset Request a password reset
Fastly.UserApi updateUser Update a user
Fastly.UserApi updateUserPassword Update the user's password
Fastly.VclApi createCustomVcl Create a custom VCL file
Fastly.VclApi deleteCustomVcl Delete a custom VCL file
Fastly.VclApi getCustomVcl Get a custom VCL file
Fastly.VclApi getCustomVclBoilerplate Get boilerplate VCL
Fastly.VclApi getCustomVclGenerated Get the generated VCL for a service
Fastly.VclApi getCustomVclGeneratedHighlighted Get the generated VCL with syntax highlighting
Fastly.VclApi getCustomVclHighlighted Get a custom VCL file with syntax highlighting
Fastly.VclApi getCustomVclRaw Download a custom VCL file
Fastly.VclApi lintVclDefault Lint (validate) VCL using a default set of flags.
Fastly.VclApi lintVclForService Lint (validate) VCL using flags set for the service.
Fastly.VclApi listCustomVcl List custom VCL files
Fastly.VclApi setCustomVclMain Set a custom VCL file as main
Fastly.VclApi updateCustomVcl Update a custom VCL file
Fastly.VclDiffApi vclDiffServiceVersions Get a comparison of the VCL changes between two service versions
Fastly.VersionApi activateServiceVersion Activate a service version
Fastly.VersionApi activateServiceVersionEnvironment Activate a service version on the specified environment
Fastly.VersionApi cloneServiceVersion Clone a service version
Fastly.VersionApi createServiceVersion Create a service version
Fastly.VersionApi deactivateServiceVersion Deactivate a service version
Fastly.VersionApi deactivateServiceVersionEnvironment Deactivate a service version on an environment
Fastly.VersionApi getServiceVersion Get a version of a service
Fastly.VersionApi listServiceVersions List versions of a service
Fastly.VersionApi lockServiceVersion Lock a service version
Fastly.VersionApi updateServiceVersion Update a service version
Fastly.VersionApi validateServiceVersion Validate a service version
Fastly.WafActiveRulesApi bulkDeleteWafActiveRules Delete multiple active rules from a WAF
Fastly.WafActiveRulesApi bulkUpdateWafActiveRules Update multiple active rules
Fastly.WafActiveRulesApi createWafActiveRule Add a rule to a WAF as an active rule
Fastly.WafActiveRulesApi createWafActiveRulesTag Create active rules by tag
Fastly.WafActiveRulesApi deleteWafActiveRule Delete an active rule
Fastly.WafActiveRulesApi getWafActiveRule Get an active WAF rule object
Fastly.WafActiveRulesApi listWafActiveRules List active rules on a WAF
Fastly.WafActiveRulesApi updateWafActiveRule Update an active rule
Fastly.WafExclusionsApi createWafRuleExclusion Create a WAF rule exclusion
Fastly.WafExclusionsApi deleteWafRuleExclusion Delete a WAF rule exclusion
Fastly.WafExclusionsApi getWafRuleExclusion Get a WAF rule exclusion
Fastly.WafExclusionsApi listWafRuleExclusions List WAF rule exclusions
Fastly.WafExclusionsApi updateWafRuleExclusion Update a WAF rule exclusion
Fastly.WafFirewallVersionsApi cloneWafFirewallVersion Clone a firewall version
Fastly.WafFirewallVersionsApi createWafFirewallVersion Create a firewall version
Fastly.WafFirewallVersionsApi deployActivateWafFirewallVersion Deploy or activate a firewall version
Fastly.WafFirewallVersionsApi getWafFirewallVersion Get a firewall version
Fastly.WafFirewallVersionsApi listWafFirewallVersions List firewall versions
Fastly.WafFirewallVersionsApi updateWafFirewallVersion Update a firewall version
Fastly.WafFirewallsApi createWafFirewall Create a firewall
Fastly.WafFirewallsApi deleteWafFirewall Delete a firewall
Fastly.WafFirewallsApi getWafFirewall Get a firewall
Fastly.WafFirewallsApi listWafFirewalls List firewalls
Fastly.WafFirewallsApi updateWafFirewall Update a firewall
Fastly.WafRuleRevisionsApi getWafRuleRevision Get a revision of a rule
Fastly.WafRuleRevisionsApi listWafRuleRevisions List revisions for a rule
Fastly.WafRulesApi getWafRule Get a rule
Fastly.WafRulesApi listWafRules List available WAF rules
Fastly.WafTagsApi listWafTags List tags
Fastly.WholePlatformDdosHistoricalApi getPlatformDdosHistorical Get historical DDoS metrics for the entire Fastly platform

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.