API Documentation
- Introduction
- Authentication
- Errors
- ApiTokens
- Organizations
- Projects
- Domains
- ProxySettings
- Components
- ProjectComponents
- Statistics
- DataCollectionEvents
- Users
- Invitations
- DataCollection (Project)
ProxySettings
Create a ProxySettings
Creates a new ProxySettings.
POST
/
v1
/
projects
/
{id}
/
proxy-settings
curl --request POST \
--url https://api.edgee.app/v1/projects/{id}/proxy-settings \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"description": "<string>",
"backends": [
{
"name": "<string>",
"address": "<string>",
"enable_ssl": true,
"check_certificate": "<string>",
"ca_certificate": "<string>",
"sni_hostname": "<string>",
"default": true,
"override_host": "<string>"
}
],
"routes": [
{
"path": "<string>",
"regex": true,
"backend_name": "<string>",
"rank": "<string>",
"continent": [
"<any>"
],
"region": [
"<any>"
],
"country": [
"<any>"
]
}
]
}'
{
"object": "proxy_settings",
"revision": 123,
"description": "<string>",
"is_active": true,
"backends": [
{
"name": "<string>",
"address": "<string>",
"enable_ssl": true,
"check_certificate": "<string>",
"ca_certificate": "<string>",
"sni_hostname": "<string>",
"default": true,
"override_host": "<string>"
}
],
"routes": [
{
"path": "<string>",
"regex": true,
"backend_name": "<string>",
"rank": "<string>",
"continent": [
"<any>"
],
"region": [
"<any>"
],
"country": [
"<any>"
]
}
]
}
Authorizations
Path Parameters
Body
application/json
Response
200
application/json
The created ProxySettings
A ProxySettings is a revision of the proxy settings of a project.
Was this page helpful?
curl --request POST \
--url https://api.edgee.app/v1/projects/{id}/proxy-settings \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"description": "<string>",
"backends": [
{
"name": "<string>",
"address": "<string>",
"enable_ssl": true,
"check_certificate": "<string>",
"ca_certificate": "<string>",
"sni_hostname": "<string>",
"default": true,
"override_host": "<string>"
}
],
"routes": [
{
"path": "<string>",
"regex": true,
"backend_name": "<string>",
"rank": "<string>",
"continent": [
"<any>"
],
"region": [
"<any>"
],
"country": [
"<any>"
]
}
]
}'
{
"object": "proxy_settings",
"revision": 123,
"description": "<string>",
"is_active": true,
"backends": [
{
"name": "<string>",
"address": "<string>",
"enable_ssl": true,
"check_certificate": "<string>",
"ca_certificate": "<string>",
"sni_hostname": "<string>",
"default": true,
"override_host": "<string>"
}
],
"routes": [
{
"path": "<string>",
"regex": true,
"backend_name": "<string>",
"rank": "<string>",
"continent": [
"<any>"
],
"region": [
"<any>"
],
"country": [
"<any>"
]
}
]
}