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 "github.com/GIT_USER_ID/GIT_REPO_ID"
)
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()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.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 "github.com/GIT_USER_ID/GIT_REPO_ID"
)
func main() {
id := int64(789) // int64 |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
r, err := apiClient.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 "github.com/GIT_USER_ID/GIT_REPO_ID"
)
func main() {
id := int64(789) // int64 |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.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 "github.com/GIT_USER_ID/GIT_REPO_ID"
)
func main() {
id := int64(789) // int64 |
patchEdgeFunctionRequest := *openapiclient.NewPatchEdgeFunctionRequest() // PatchEdgeFunctionRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.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 "github.com/GIT_USER_ID/GIT_REPO_ID"
)
func main() {
id := int64(789) // int64 |
putEdgeFunctionRequest := *openapiclient.NewPutEdgeFunctionRequest() // PutEdgeFunctionRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.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 "github.com/GIT_USER_ID/GIT_REPO_ID"
)
func main() {
createEdgeFunctionRequest := *openapiclient.NewCreateEdgeFunctionRequest() // CreateEdgeFunctionRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.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]