The Origins API is currently available as a BETA. Business-critical processes should not depend on this functionality.
An overview of the differences between the Customer Origins and the Origins API is provided below.
API | TLS |
Functions |
Dedicated Origin Entry Endpoints |
---|---|---|---|
Customer Origins API |
|
|
|
Origins API |
|
|
|
The Customer Origins API, which is our initial API implementation, does not support managing a customer origin group's TLS configuration. It also does not support the retrieval of the Function@Edge functions associated with your customer origin groups. Finally, it requires that you manage a customer origin and all of its entries within a single request. For example, you can create a customer origin group and all of its origin entries through the Add Customer Origin endpoint.
The Origins API, which is our latest implementation, uses dedicated endpoints to manage a customer origin group and origin entries. For example, setting up a customer origin group consists of requesting the following endpoints:
Additionally, it allows you to retrieve the Function@Edge functions associated with your customer origin groups.
Use the Origins API to perform the following tasks:
Category | Description |
---|---|
Customer Origin Group Management |
Manage your customer origin groups
Use the origin entry management endpoints to manage a customer origin group's origin entries. |
Origin Entry Management |
Manage your origin entries |
Load Balancing |
Manage your load balancing configuration Use the Update Origin Entry endpoint to determine whether a specific origin entry identifies the primary hostname or IP address for the protocol that corresponds to it. |
Functions@Edge |
|
Reference |
Use the following base URL:
Use the following scope to authenticate and authorize requests for the Origins API:
Create a customer origin group through the following steps:
Create a customer origin group through either of the following platform-specific endpoints:
These endpoints do not support Azure Block Blob origin groups.
Add an origin entry to your new customer origin group through either of the following platform-specific endpoints: