All URIs are relative to https://api.gridly.com
Method | HTTP request | Description |
---|---|---|
Create | Post /v1/views/{viewId}/dependencies | create |
Delete | Delete /v1/views/{viewId}/dependencies | delete |
DeleteById | Delete /v1/views/{viewId}/dependencies/{dependencyId} | deleteById |
Get | Get /v1/views/{viewId}/dependencies/{dependencyId} | get |
List | Get /v1/views/{viewId}/dependencies | list |
Update | Put /v1/views/{viewId}/dependencies/{dependencyId} | update |
Dependency Create(ctx, viewId).CreateDependency(createDependency).Execute()
create
package main
import (
"context"
"fmt"
"os"
gridly "./openapi"
)
func main() {
viewId := "viewId_example" // string | viewId
createDependency := *gridly.NewCreateDependency("TargetColumnId_example", "SourceColumnId_example") // CreateDependency |
configuration := gridly.NewConfiguration()
apiClient := gridly.NewAPIClient(configuration)
resp, r, err := apiClient.ViewDependencyApi.Create(context.Background(), viewId).CreateDependency(createDependency).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ViewDependencyApi.Create``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `Create`: Dependency
fmt.Fprintf(os.Stdout, "Response from `ViewDependencyApi.Create`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
viewId | string | viewId |
Other parameters are passed through a pointer to a apiCreateRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
createDependency | CreateDependency | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Delete(ctx, viewId).DeleteDependency(deleteDependency).Execute()
delete
package main
import (
"context"
"fmt"
"os"
gridly "./openapi"
)
func main() {
viewId := "viewId_example" // string | viewId
deleteDependency := *gridly.NewDeleteDependency() // DeleteDependency |
configuration := gridly.NewConfiguration()
apiClient := gridly.NewAPIClient(configuration)
resp, r, err := apiClient.ViewDependencyApi.Delete(context.Background(), viewId).DeleteDependency(deleteDependency).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ViewDependencyApi.Delete``: %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. | |
viewId | string | viewId |
Other parameters are passed through a pointer to a apiDeleteRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
deleteDependency | DeleteDependency | |
(empty response body)
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DeleteById(ctx, viewId, dependencyId).Execute()
deleteById
package main
import (
"context"
"fmt"
"os"
gridly "./openapi"
)
func main() {
viewId := "viewId_example" // string | viewId
dependencyId := "dependencyId_example" // string | dependencyId
configuration := gridly.NewConfiguration()
apiClient := gridly.NewAPIClient(configuration)
resp, r, err := apiClient.ViewDependencyApi.DeleteById(context.Background(), viewId, dependencyId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ViewDependencyApi.DeleteById``: %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. | |
viewId | string | viewId | |
dependencyId | string | dependencyId |
Other parameters are passed through a pointer to a apiDeleteByIdRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Dependency Get(ctx, dependencyId, viewId).Execute()
get
package main
import (
"context"
"fmt"
"os"
gridly "./openapi"
)
func main() {
dependencyId := "dependencyId_example" // string | dependencyId
viewId := "viewId_example" // string | viewId
configuration := gridly.NewConfiguration()
apiClient := gridly.NewAPIClient(configuration)
resp, r, err := apiClient.ViewDependencyApi.Get(context.Background(), dependencyId, viewId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ViewDependencyApi.Get``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `Get`: Dependency
fmt.Fprintf(os.Stdout, "Response from `ViewDependencyApi.Get`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
dependencyId | string | dependencyId | |
viewId | string | viewId |
Other parameters are passed through a pointer to a apiGetRequest 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]
[]Dependency List(ctx, viewId).Execute()
list
package main
import (
"context"
"fmt"
"os"
gridly "./openapi"
)
func main() {
viewId := "viewId_example" // string | viewId
configuration := gridly.NewConfiguration()
apiClient := gridly.NewAPIClient(configuration)
resp, r, err := apiClient.ViewDependencyApi.List(context.Background(), viewId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ViewDependencyApi.List``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `List`: []Dependency
fmt.Fprintf(os.Stdout, "Response from `ViewDependencyApi.List`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
viewId | string | viewId |
Other parameters are passed through a pointer to a apiListRequest 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]
Dependency Update(ctx, dependencyId, viewId).UpdateDependency(updateDependency).Execute()
update
package main
import (
"context"
"fmt"
"os"
gridly "./openapi"
)
func main() {
dependencyId := "dependencyId_example" // string | dependencyId
viewId := "viewId_example" // string | viewId
updateDependency := *gridly.NewUpdateDependency("TargetColumnId_example", "SourceColumnId_example") // UpdateDependency |
configuration := gridly.NewConfiguration()
apiClient := gridly.NewAPIClient(configuration)
resp, r, err := apiClient.ViewDependencyApi.Update(context.Background(), dependencyId, viewId).UpdateDependency(updateDependency).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ViewDependencyApi.Update``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `Update`: Dependency
fmt.Fprintf(os.Stdout, "Response from `ViewDependencyApi.Update`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
dependencyId | string | dependencyId | |
viewId | string | viewId |
Other parameters are passed through a pointer to a apiUpdateRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
updateDependency | UpdateDependency | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]