All URIs are relative to https://api.azionapi.net
| Method | HTTP request | Description |
|---|---|---|
| EdgeApplicationsEdgeApplicationIdCacheSettingsCacheSettingsIdDelete | Delete /edge_applications/{edge_application_id}/cache_settings/{cache_settings_id} | /edge_applications/:edge_application_id:/cache_settings/:cache_settings_id: |
| EdgeApplicationsEdgeApplicationIdCacheSettingsCacheSettingsIdGet | Get /edge_applications/{edge_application_id}/cache_settings/{cache_settings_id} | /edge_applications/:edge_application_id:/cache_settings/:cache_settings_id: |
| EdgeApplicationsEdgeApplicationIdCacheSettingsCacheSettingsIdPatch | Patch /edge_applications/{edge_application_id}/cache_settings/{cache_settings_id} | /edge_applications/:edge_application_id:/cache_settings/:cache_settings_id: |
| EdgeApplicationsEdgeApplicationIdCacheSettingsCacheSettingsIdPut | Put /edge_applications/{edge_application_id}/cache_settings/{cache_settings_id} | /edge_applications/:edge_application_id:/cache_settings/ca |
| EdgeApplicationsEdgeApplicationIdCacheSettingsGet | Get /edge_applications/{edge_application_id}/cache_settings | /edge_applications/{edge_application_id}/cache_settings |
| EdgeApplicationsEdgeApplicationIdCacheSettingsPost | Post /edge_applications/{edge_application_id}/cache_settings | /edge_applications/:edge_application_id:/cache_settings |
EdgeApplicationsEdgeApplicationIdCacheSettingsCacheSettingsIdDelete(ctx, edgeApplicationId, cacheSettingsId).Accept(accept).ContentType(contentType).Execute()
/edge_applications/:edge_application_id:/cache_settings/:cache_settings_id:
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
)
func main() {
edgeApplicationId := int64(789) // int64 |
cacheSettingsId := int64(789) // int64 |
accept := "application/json; version=3" // string | (optional)
contentType := "application/json" // string | The type of coding used in the Body (application/json). <br> Example: Content-Type: application/json (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
r, err := apiClient.EdgeApplicationsCacheSettingsAPI.EdgeApplicationsEdgeApplicationIdCacheSettingsCacheSettingsIdDelete(context.Background(), edgeApplicationId, cacheSettingsId).Accept(accept).ContentType(contentType).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `EdgeApplicationsCacheSettingsAPI.EdgeApplicationsEdgeApplicationIdCacheSettingsCacheSettingsIdDelete``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| edgeApplicationId | int64 | ||
| cacheSettingsId | int64 |
Other parameters are passed through a pointer to a apiEdgeApplicationsEdgeApplicationIdCacheSettingsCacheSettingsIdDeleteRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|
accept | string | | contentType | string | The type of coding used in the Body (application/json). <br> Example: Content-Type: application/json |
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ApplicationCacheGetOneResponse EdgeApplicationsEdgeApplicationIdCacheSettingsCacheSettingsIdGet(ctx, edgeApplicationId, cacheSettingsId).Accept(accept).Execute()
/edge_applications/:edge_application_id:/cache_settings/:cache_settings_id:
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
)
func main() {
edgeApplicationId := int64(789) // int64 |
cacheSettingsId := int64(789) // int64 |
accept := "application/json; version=3" // string | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.EdgeApplicationsCacheSettingsAPI.EdgeApplicationsEdgeApplicationIdCacheSettingsCacheSettingsIdGet(context.Background(), edgeApplicationId, cacheSettingsId).Accept(accept).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `EdgeApplicationsCacheSettingsAPI.EdgeApplicationsEdgeApplicationIdCacheSettingsCacheSettingsIdGet``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `EdgeApplicationsEdgeApplicationIdCacheSettingsCacheSettingsIdGet`: ApplicationCacheGetOneResponse
fmt.Fprintf(os.Stdout, "Response from `EdgeApplicationsCacheSettingsAPI.EdgeApplicationsEdgeApplicationIdCacheSettingsCacheSettingsIdGet`: %v\n", resp)
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| edgeApplicationId | int64 | ||
| cacheSettingsId | int64 |
Other parameters are passed through a pointer to a apiEdgeApplicationsEdgeApplicationIdCacheSettingsCacheSettingsIdGetRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|
accept | string | |
ApplicationCacheGetOneResponse
- Content-Type: Not defined
- Accept: application/json; version=3
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ApplicationCachePatchResponse EdgeApplicationsEdgeApplicationIdCacheSettingsCacheSettingsIdPatch(ctx, edgeApplicationId, cacheSettingsId).Accept(accept).ApplicationCachePatchRequest(applicationCachePatchRequest).Execute()
/edge_applications/:edge_application_id:/cache_settings/:cache_settings_id:
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
)
func main() {
edgeApplicationId := int64(789) // int64 |
cacheSettingsId := int64(789) // int64 |
accept := "application/json; version=3" // string | (optional)
applicationCachePatchRequest := *openapiclient.NewApplicationCachePatchRequest() // ApplicationCachePatchRequest | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.EdgeApplicationsCacheSettingsAPI.EdgeApplicationsEdgeApplicationIdCacheSettingsCacheSettingsIdPatch(context.Background(), edgeApplicationId, cacheSettingsId).Accept(accept).ApplicationCachePatchRequest(applicationCachePatchRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `EdgeApplicationsCacheSettingsAPI.EdgeApplicationsEdgeApplicationIdCacheSettingsCacheSettingsIdPatch``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `EdgeApplicationsEdgeApplicationIdCacheSettingsCacheSettingsIdPatch`: ApplicationCachePatchResponse
fmt.Fprintf(os.Stdout, "Response from `EdgeApplicationsCacheSettingsAPI.EdgeApplicationsEdgeApplicationIdCacheSettingsCacheSettingsIdPatch`: %v\n", resp)
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| edgeApplicationId | int64 | ||
| cacheSettingsId | int64 |
Other parameters are passed through a pointer to a apiEdgeApplicationsEdgeApplicationIdCacheSettingsCacheSettingsIdPatchRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|
accept | string | | applicationCachePatchRequest | ApplicationCachePatchRequest | |
- Content-Type: application/json; version=3
- Accept: application/json; version=3
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ApplicationCachePutResponse EdgeApplicationsEdgeApplicationIdCacheSettingsCacheSettingsIdPut(ctx, edgeApplicationId, cacheSettingsId).Accept(accept).ContentType(contentType).ApplicationCachePutRequest(applicationCachePutRequest).Execute()
/edge_applications/:edge_application_id:/cache_settings/ca
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
)
func main() {
edgeApplicationId := int64(789) // int64 |
cacheSettingsId := int64(789) // int64 |
accept := "application/json; version=3" // string | (optional)
contentType := "application/json" // string | The type of coding used in the Body (application/json). <br> Example: Content-Type: application/json (optional)
applicationCachePutRequest := *openapiclient.NewApplicationCachePutRequest("Name_example") // ApplicationCachePutRequest | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.EdgeApplicationsCacheSettingsAPI.EdgeApplicationsEdgeApplicationIdCacheSettingsCacheSettingsIdPut(context.Background(), edgeApplicationId, cacheSettingsId).Accept(accept).ContentType(contentType).ApplicationCachePutRequest(applicationCachePutRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `EdgeApplicationsCacheSettingsAPI.EdgeApplicationsEdgeApplicationIdCacheSettingsCacheSettingsIdPut``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `EdgeApplicationsEdgeApplicationIdCacheSettingsCacheSettingsIdPut`: ApplicationCachePutResponse
fmt.Fprintf(os.Stdout, "Response from `EdgeApplicationsCacheSettingsAPI.EdgeApplicationsEdgeApplicationIdCacheSettingsCacheSettingsIdPut`: %v\n", resp)
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| edgeApplicationId | int64 | ||
| cacheSettingsId | int64 |
Other parameters are passed through a pointer to a apiEdgeApplicationsEdgeApplicationIdCacheSettingsCacheSettingsIdPutRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|
accept | string | | contentType | string | The type of coding used in the Body (application/json). <br> Example: Content-Type: application/json | applicationCachePutRequest | ApplicationCachePutRequest | |
- Content-Type: application/json; version=3
- Accept: application/json; version=3
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ApplicationCacheGetResponse EdgeApplicationsEdgeApplicationIdCacheSettingsGet(ctx, edgeApplicationId).Page(page).PageSize(pageSize).Filter(filter).OrderBy(orderBy).Sort(sort).Accept(accept).Execute()
/edge_applications/{edge_application_id}/cache_settings
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
)
func main() {
edgeApplicationId := int64(789) // int64 |
page := int64(789) // int64 | (optional)
pageSize := int64(789) // int64 | (optional)
filter := "filter_example" // string | (optional)
orderBy := "orderBy_example" // string | (optional)
sort := "sort_example" // string | (optional)
accept := "application/json; version=3" // string | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.EdgeApplicationsCacheSettingsAPI.EdgeApplicationsEdgeApplicationIdCacheSettingsGet(context.Background(), edgeApplicationId).Page(page).PageSize(pageSize).Filter(filter).OrderBy(orderBy).Sort(sort).Accept(accept).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `EdgeApplicationsCacheSettingsAPI.EdgeApplicationsEdgeApplicationIdCacheSettingsGet``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `EdgeApplicationsEdgeApplicationIdCacheSettingsGet`: ApplicationCacheGetResponse
fmt.Fprintf(os.Stdout, "Response from `EdgeApplicationsCacheSettingsAPI.EdgeApplicationsEdgeApplicationIdCacheSettingsGet`: %v\n", resp)
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| edgeApplicationId | int64 |
Other parameters are passed through a pointer to a apiEdgeApplicationsEdgeApplicationIdCacheSettingsGetRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|
page | int64 | | pageSize | int64 | | filter | string | | orderBy | string | | sort | string | | accept | string | |
- Content-Type: Not defined
- Accept: application/json; version=3
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ApplicationCacheCreateResponse EdgeApplicationsEdgeApplicationIdCacheSettingsPost(ctx, edgeApplicationId).Accept(accept).ContentType(contentType).ApplicationCacheCreateRequest(applicationCacheCreateRequest).Execute()
/edge_applications/:edge_application_id:/cache_settings
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
)
func main() {
edgeApplicationId := int64(789) // int64 |
accept := "application/json; version=3" // string | (optional)
contentType := "application/json" // string | The type of coding used in the Body (application/json). <br> Example: Content-Type: application/json (optional)
applicationCacheCreateRequest := *openapiclient.NewApplicationCacheCreateRequest("Name_example") // ApplicationCacheCreateRequest | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.EdgeApplicationsCacheSettingsAPI.EdgeApplicationsEdgeApplicationIdCacheSettingsPost(context.Background(), edgeApplicationId).Accept(accept).ContentType(contentType).ApplicationCacheCreateRequest(applicationCacheCreateRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `EdgeApplicationsCacheSettingsAPI.EdgeApplicationsEdgeApplicationIdCacheSettingsPost``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `EdgeApplicationsEdgeApplicationIdCacheSettingsPost`: ApplicationCacheCreateResponse
fmt.Fprintf(os.Stdout, "Response from `EdgeApplicationsCacheSettingsAPI.EdgeApplicationsEdgeApplicationIdCacheSettingsPost`: %v\n", resp)
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| edgeApplicationId | int64 |
Other parameters are passed through a pointer to a apiEdgeApplicationsEdgeApplicationIdCacheSettingsPostRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|
accept | string | | contentType | string | The type of coding used in the Body (application/json). <br> Example: Content-Type: application/json | applicationCacheCreateRequest | ApplicationCacheCreateRequest | |
ApplicationCacheCreateResponse
- Content-Type: application/json; version=3
- Accept: application/json; version=3
[Back to top] [Back to API list] [Back to Model list] [Back to README]