All URIs are relative to https://api.gridly.com
Method | HTTP request | Description |
---|---|---|
Add | Post /v1/views/{viewId}/columns/{columnId}/add | add |
BulkCreate | Post /v1/views/{viewId}/columns/bulk | bulkCreate |
Create | Post /v1/views/{viewId}/columns | create |
Delete | Delete /v1/views/{viewId}/columns/{columnId} | delete |
Get | Get /v1/views/{viewId}/columns/{columnId} | get |
Remove | Post /v1/views/{viewId}/columns/{columnId}/remove | remove |
Update | Patch /v1/views/{viewId}/columns/{columnId} | update |
ViewColumn Add(ctx, columnId, viewId).Execute()
add
package main
import (
"context"
"fmt"
"os"
gridly "./openapi"
)
func main() {
columnId := "columnId_example" // string | columnId
viewId := "viewId_example" // string | viewId
configuration := gridly.NewConfiguration()
apiClient := gridly.NewAPIClient(configuration)
resp, r, err := apiClient.ViewColumnApi.Add(context.Background(), columnId, viewId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ViewColumnApi.Add``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `Add`: ViewColumn
fmt.Fprintf(os.Stdout, "Response from `ViewColumnApi.Add`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
columnId | string | columnId | |
viewId | string | viewId |
Other parameters are passed through a pointer to a apiAddRequest 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]
[]ViewColumn BulkCreate(ctx, viewId).CreateColumn(createColumn).Execute()
bulkCreate
package main
import (
"context"
"fmt"
"os"
gridly "./openapi"
)
func main() {
viewId := "viewId_example" // string | viewId
createColumn := []gridly.CreateColumn{*gridly.NewCreateColumn("Name_example", "Type_example")} // []CreateColumn |
configuration := gridly.NewConfiguration()
apiClient := gridly.NewAPIClient(configuration)
resp, r, err := apiClient.ViewColumnApi.BulkCreate(context.Background(), viewId).CreateColumn(createColumn).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ViewColumnApi.BulkCreate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `BulkCreate`: []ViewColumn
fmt.Fprintf(os.Stdout, "Response from `ViewColumnApi.BulkCreate`: %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 apiBulkCreateRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
createColumn | []CreateColumn | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ViewColumn Create(ctx, viewId).CreateColumn(createColumn).Execute()
create
package main
import (
"context"
"fmt"
"os"
gridly "./openapi"
)
func main() {
viewId := "viewId_example" // string | viewId
createColumn := *gridly.NewCreateColumn("Name_example", "Type_example") // CreateColumn |
configuration := gridly.NewConfiguration()
apiClient := gridly.NewAPIClient(configuration)
resp, r, err := apiClient.ViewColumnApi.Create(context.Background(), viewId).CreateColumn(createColumn).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ViewColumnApi.Create``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `Create`: ViewColumn
fmt.Fprintf(os.Stdout, "Response from `ViewColumnApi.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 |
---|
createColumn | CreateColumn | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Delete(ctx, columnId, viewId).Execute()
delete
package main
import (
"context"
"fmt"
"os"
gridly "./openapi"
)
func main() {
columnId := "columnId_example" // string | columnId
viewId := "viewId_example" // string | viewId
configuration := gridly.NewConfiguration()
apiClient := gridly.NewAPIClient(configuration)
resp, r, err := apiClient.ViewColumnApi.Delete(context.Background(), columnId, viewId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ViewColumnApi.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. | |
columnId | string | columnId | |
viewId | string | viewId |
Other parameters are passed through a pointer to a apiDeleteRequest 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]
ViewColumn Get(ctx, columnId, viewId).Execute()
get
package main
import (
"context"
"fmt"
"os"
gridly "./openapi"
)
func main() {
columnId := "columnId_example" // string | columnId
viewId := "viewId_example" // string | viewId
configuration := gridly.NewConfiguration()
apiClient := gridly.NewAPIClient(configuration)
resp, r, err := apiClient.ViewColumnApi.Get(context.Background(), columnId, viewId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ViewColumnApi.Get``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `Get`: ViewColumn
fmt.Fprintf(os.Stdout, "Response from `ViewColumnApi.Get`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
columnId | string | columnId | |
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]
Remove(ctx, columnId, viewId).Execute()
remove
package main
import (
"context"
"fmt"
"os"
gridly "./openapi"
)
func main() {
columnId := "columnId_example" // string | columnId
viewId := "viewId_example" // string | viewId
configuration := gridly.NewConfiguration()
apiClient := gridly.NewAPIClient(configuration)
resp, r, err := apiClient.ViewColumnApi.Remove(context.Background(), columnId, viewId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ViewColumnApi.Remove``: %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. | |
columnId | string | columnId | |
viewId | string | viewId |
Other parameters are passed through a pointer to a apiRemoveRequest 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]
ViewColumn Update(ctx, columnId, viewId).UpdateColumn(updateColumn).Execute()
update
package main
import (
"context"
"fmt"
"os"
gridly "./openapi"
)
func main() {
columnId := "columnId_example" // string | columnId
viewId := "viewId_example" // string | viewId
updateColumn := *gridly.NewUpdateColumn() // UpdateColumn |
configuration := gridly.NewConfiguration()
apiClient := gridly.NewAPIClient(configuration)
resp, r, err := apiClient.ViewColumnApi.Update(context.Background(), columnId, viewId).UpdateColumn(updateColumn).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ViewColumnApi.Update``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `Update`: ViewColumn
fmt.Fprintf(os.Stdout, "Response from `ViewColumnApi.Update`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
columnId | string | columnId | |
viewId | string | viewId |
Other parameters are passed through a pointer to a apiUpdateRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
updateColumn | UpdateColumn | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]