Jump to Content
The StackPath Developer PortalGuides
HomeGuidesAPI ReferenceChangelog
GuidesThe StackPath Developer Portal
HomeGuidesAPI ReferenceChangelog

The StackPath API

  • Introduction
  • Authentication
  • StackPath IDs Explained
  • Error handling
  • Pagination
  • Filtering and sorting
  • Identity and access management
  • Versioning

CDN

  • Creating a CDN Site
  • Static Site With S3
  • Purging Files from the CDN
  • Retrieving Stack Metrics
  • Bypass Cache on URL
  • Configure Basic URL Signing
  • Rewriting URLs for Object Storage Sites Using EdgeRules
  • How to Setup Video or Audio Rate Limiting
  • Pulling StackPath IP Blocks

WAF

  • DDoS Analytics

SSL

  • Requesting EdgeSSL Certificates

Edge Computing

  • Create a Container Workload
  • Liveness and Readiness Probes
  • Using Terraform to Create a Multi-Cloud Load Balancer
  • Using Cloud-Init with Virtual Machine Workloads
  • Virtual Private Clouds
  • L3-L4 DDoS Protection
  • Retrieving Bandwidth Metrics
  • Virtual Kubelet
  • Glossary
  • Enhanced Container Controls

Serverless Scripting

  • Introduction
  • Available APIs
  • Debugging
  • CLI Utility
  • Request Header Variables
  • Modify Headers
  • Response Body Modification
  • Add Headers to a Response
  • Block Countries
  • Static Response
  • Cookies
  • Crypto
  • In-Memory Caching
  • IP Firewall
  • Robots.txt Response
  • WP-login.php Protection
  • Send Logs to Logging Services
  • Single and Multiple Origin Routing

Object Storage

  • Managing your Object Storage Bucket
  • AWS CLI
  • FTP Clients
  • AWS S3 SDKs

Available APIs

The following JavaScript APIs are available for serverless scripts:

  • JavaScript's built-in objects, statements, expressions, and operators
  • The service worker fetch event

Interfaces

  • Request
  • Response
  • Headers
  • URL
  • URLSearchParams
  • TextEncoder
  • TextDecoder
  • ReadableStream
  • WritableStream
  • TransformStream
  • FormData
  • Blob

Functions

  • fetch()
  • setTimeout()
  • clearTimeout()
  • setInterval()
  • clearInterval()

Updated 5 months ago


What’s Next
  • Debugging
  • Table of Contents
    • Interfaces
    • Functions
Sales
  • Email
  • +1 (877) 629-2361 (US)
  • +1 (323) 313-1206 (International)
  • Platform
    • Our Platform. Your Edge.
    • EdgeEngine
    • Edge Locations
    • Edge Network
    Products & Features
    • Virtual Machines
    • Containers
    • CDN
    • WAF
    • Serverless Scripting
    • Origin Shield
    • EdgeRules™
    • EdgeSSL™
    Solutions
    • Gaming
    • Media & Entertainment
    Resources
    • Support
    • API Docs
    • Developer Resources
    • Edge Academy
    • Blog
    • Case Studies
    Company
    • About Us
    • Leadership Team
    • Customers
    • Technology Partners
    • Open Source Partners
    • Careers
    • Events
    • News
    • Press Releases
    • Logo & Branding
    • © StackPath, LLC All rights reserved
    • Legal
    • Privacy Statement
    • Cookie Preferences