All URIs are relative to https://api.azionapi.net
| Method | HTTP request | Description |
|---|---|---|
| EdgeFunctionsGet | Get /edge_functions | edge_functions |
| EdgeFunctionsIdDelete | Delete /edge_functions/{id} | edge_functions |
| EdgeFunctionsIdGet | Get /edge_functions/{id} | edge_functions |
| EdgeFunctionsIdPatch | Patch /edge_functions/{id} | edge_functions |
| EdgeFunctionsIdPut | Put /edge_functions/{id} | edge_functions |
| EdgeFunctionsPost | Post /edge_functions | edge_functions |
ListEdgeFunctionResponse EdgeFunctionsGet(ctx).Page(page).PageSize(pageSize).Sort(sort).OrderBy(orderBy).Execute()
edge_functions
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
page := int64(789) // int64 | (optional)
pageSize := int64(789) // int64 | (optional)
sort := "sort_example" // string | (optional)
orderBy := "orderBy_example" // string | (optional)
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.EdgeFunctionsApi.EdgeFunctionsGet(context.Background()).Page(page).PageSize(pageSize).Sort(sort).OrderBy(orderBy).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `EdgeFunctionsApi.EdgeFunctionsGet``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `EdgeFunctionsGet`: ListEdgeFunctionResponse
fmt.Fprintf(os.Stdout, "Response from `EdgeFunctionsApi.EdgeFunctionsGet`: %v\n", resp)
}Other parameters are passed through a pointer to a apiEdgeFunctionsGetRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|---|---|---|
| page | int64 | ||
| pageSize | int64 | ||
| sort | string | ||
| orderBy | string |
- Content-Type: Not defined
- Accept: application/json; version=3, application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
EdgeFunctionsIdDelete(ctx, id).Execute()
edge_functions
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := int64(789) // int64 |
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.EdgeFunctionsApi.EdgeFunctionsIdDelete(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `EdgeFunctionsApi.EdgeFunctionsIdDelete``: %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. | |
| id | int64 |
Other parameters are passed through a pointer to a apiEdgeFunctionsIdDeleteRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|
(empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
EdgeFunctionResponse EdgeFunctionsIdGet(ctx, id).Execute()
edge_functions
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := int64(789) // int64 |
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.EdgeFunctionsApi.EdgeFunctionsIdGet(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `EdgeFunctionsApi.EdgeFunctionsIdGet``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `EdgeFunctionsIdGet`: EdgeFunctionResponse
fmt.Fprintf(os.Stdout, "Response from `EdgeFunctionsApi.EdgeFunctionsIdGet`: %v\n", resp)
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| id | int64 |
Other parameters are passed through a pointer to a apiEdgeFunctionsIdGetRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
EdgeFunctionResponse EdgeFunctionsIdPatch(ctx, id).PatchEdgeFunctionRequest(patchEdgeFunctionRequest).Execute()
edge_functions
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := int64(789) // int64 |
patchEdgeFunctionRequest := *openapiclient.NewPatchEdgeFunctionRequest() // PatchEdgeFunctionRequest |
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.EdgeFunctionsApi.EdgeFunctionsIdPatch(context.Background(), id).PatchEdgeFunctionRequest(patchEdgeFunctionRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `EdgeFunctionsApi.EdgeFunctionsIdPatch``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `EdgeFunctionsIdPatch`: EdgeFunctionResponse
fmt.Fprintf(os.Stdout, "Response from `EdgeFunctionsApi.EdgeFunctionsIdPatch`: %v\n", resp)
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| id | int64 |
Other parameters are passed through a pointer to a apiEdgeFunctionsIdPatchRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|
patchEdgeFunctionRequest | PatchEdgeFunctionRequest | |
- Content-Type: application/json; version=3
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
EdgeFunctionResponse EdgeFunctionsIdPut(ctx, id).PutEdgeFunctionRequest(putEdgeFunctionRequest).Execute()
edge_functions
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := int64(789) // int64 |
putEdgeFunctionRequest := *openapiclient.NewPutEdgeFunctionRequest() // PutEdgeFunctionRequest |
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.EdgeFunctionsApi.EdgeFunctionsIdPut(context.Background(), id).PutEdgeFunctionRequest(putEdgeFunctionRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `EdgeFunctionsApi.EdgeFunctionsIdPut``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `EdgeFunctionsIdPut`: EdgeFunctionResponse
fmt.Fprintf(os.Stdout, "Response from `EdgeFunctionsApi.EdgeFunctionsIdPut`: %v\n", resp)
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| id | int64 |
Other parameters are passed through a pointer to a apiEdgeFunctionsIdPutRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|
putEdgeFunctionRequest | PutEdgeFunctionRequest | |
- Content-Type: application/json; version=3
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
EdgeFunctionResponse EdgeFunctionsPost(ctx).CreateEdgeFunctionRequest(createEdgeFunctionRequest).Execute()
edge_functions
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
createEdgeFunctionRequest := *openapiclient.NewCreateEdgeFunctionRequest() // CreateEdgeFunctionRequest |
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.EdgeFunctionsApi.EdgeFunctionsPost(context.Background()).CreateEdgeFunctionRequest(createEdgeFunctionRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `EdgeFunctionsApi.EdgeFunctionsPost``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `EdgeFunctionsPost`: EdgeFunctionResponse
fmt.Fprintf(os.Stdout, "Response from `EdgeFunctionsApi.EdgeFunctionsPost`: %v\n", resp)
}Other parameters are passed through a pointer to a apiEdgeFunctionsPostRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|---|---|---|
| createEdgeFunctionRequest | CreateEdgeFunctionRequest |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]