All URIs are relative to https://tours.api.rezkit.app
| Method | HTTP request | Description |
|---|---|---|
| CreateMap | Post /maps | Create Map |
| CreateMapLine | Post /maps/settings/lines | Create Map Line |
| CreateMapMarker | Post /maps/settings/markers | Create Map Marker |
| DeleteMap | Delete /maps/{id} | Delete Map |
| DeleteMapLine | Delete /maps/settings/lines/{id} | Delete Map Line |
| DeleteMapMarker | Delete /maps/settings/markers/{id} | Delete Map Marker |
| GetMap | Get /maps/{id} | Get Map |
| GetMapLine | Get /maps/settings/lines/{id} | Get Map Line |
| GetMapLink | Get /maps/{id}/link | Get Map Public Link |
| GetMapMarker | Get /maps/settings/markers/{id} | Get Map Marker |
| ListMapLines | Get /maps/settings/lines | List Map Lines |
| ListMapMarkers | Get /maps/settings/markers | List Map Markers |
| ListMaps | Get /maps | List Maps |
| RestoreMap | Put /maps/{id}/restore | Restore Map |
| RestoreMapLine | Put /maps/settings/lines/{id}/restore | Restore Map Line |
| RestoreMapMarker | Put /maps/settings/markers/{id}/restore | Restore Map Marker |
| UpdateMap | Patch /maps/{id} | Update Map |
| UpdateMapLine | Patch /maps/settings/lines/{id} | Update Map Line |
| UpdateMapMarker | Patch /maps/settings/markers/{id} | Update Map Marker |
CreateMap(ctx).Execute()
Create Map
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/rezkit/tour-manager-go"
)
func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
r, err := apiClient.MapsAPI.CreateMap(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `MapsAPI.CreateMap``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiCreateMapRequest struct via the builder pattern
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CreateMapLine(ctx).Execute()
Create Map Line
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/rezkit/tour-manager-go"
)
func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
r, err := apiClient.MapsAPI.CreateMapLine(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `MapsAPI.CreateMapLine``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiCreateMapLineRequest struct via the builder pattern
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CreateMapMarker(ctx).Execute()
Create Map Marker
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/rezkit/tour-manager-go"
)
func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
r, err := apiClient.MapsAPI.CreateMapMarker(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `MapsAPI.CreateMapMarker``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiCreateMapMarkerRequest struct via the builder pattern
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DeleteMap(ctx, id).Execute()
Delete Map
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/rezkit/tour-manager-go"
)
func main() {
id := "id_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
r, err := apiClient.MapsAPI.DeleteMap(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `MapsAPI.DeleteMap``: %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 | string |
Other parameters are passed through a pointer to a apiDeleteMapRequest 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]
DeleteMapLine(ctx, id).Execute()
Delete Map Line
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/rezkit/tour-manager-go"
)
func main() {
id := "id_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
r, err := apiClient.MapsAPI.DeleteMapLine(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `MapsAPI.DeleteMapLine``: %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 | string |
Other parameters are passed through a pointer to a apiDeleteMapLineRequest 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]
DeleteMapMarker(ctx, id).Execute()
Delete Map Marker
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/rezkit/tour-manager-go"
)
func main() {
id := "id_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
r, err := apiClient.MapsAPI.DeleteMapMarker(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `MapsAPI.DeleteMapMarker``: %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 | string |
Other parameters are passed through a pointer to a apiDeleteMapMarkerRequest 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]
GetMap(ctx, id).Execute()
Get Map
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/rezkit/tour-manager-go"
)
func main() {
id := "id_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
r, err := apiClient.MapsAPI.GetMap(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `MapsAPI.GetMap``: %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 | string |
Other parameters are passed through a pointer to a apiGetMapRequest 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]
GetMapLine(ctx, id).Execute()
Get Map Line
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/rezkit/tour-manager-go"
)
func main() {
id := "id_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
r, err := apiClient.MapsAPI.GetMapLine(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `MapsAPI.GetMapLine``: %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 | string |
Other parameters are passed through a pointer to a apiGetMapLineRequest 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]
GetMapLink(ctx, id).Execute()
Get Map Public Link
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/rezkit/tour-manager-go"
)
func main() {
id := "id_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
r, err := apiClient.MapsAPI.GetMapLink(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `MapsAPI.GetMapLink``: %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 | string |
Other parameters are passed through a pointer to a apiGetMapLinkRequest 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]
GetMapMarker(ctx, id).Execute()
Get Map Marker
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/rezkit/tour-manager-go"
)
func main() {
id := "id_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
r, err := apiClient.MapsAPI.GetMapMarker(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `MapsAPI.GetMapMarker``: %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 | string |
Other parameters are passed through a pointer to a apiGetMapMarkerRequest 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]
ListMapLines(ctx).Execute()
List Map Lines
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/rezkit/tour-manager-go"
)
func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
r, err := apiClient.MapsAPI.ListMapLines(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `MapsAPI.ListMapLines``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiListMapLinesRequest struct via the builder pattern
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ListMapMarkers(ctx).Execute()
List Map Markers
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/rezkit/tour-manager-go"
)
func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
r, err := apiClient.MapsAPI.ListMapMarkers(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `MapsAPI.ListMapMarkers``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiListMapMarkersRequest struct via the builder pattern
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ListMaps200Response ListMaps(ctx).Execute()
List Maps
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/rezkit/tour-manager-go"
)
func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.MapsAPI.ListMaps(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `MapsAPI.ListMaps``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ListMaps`: ListMaps200Response
fmt.Fprintf(os.Stdout, "Response from `MapsAPI.ListMaps`: %v\n", resp)
}This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiListMapsRequest struct via the builder pattern
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
RestoreMap(ctx, id).Execute()
Restore Map
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/rezkit/tour-manager-go"
)
func main() {
id := "id_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
r, err := apiClient.MapsAPI.RestoreMap(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `MapsAPI.RestoreMap``: %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 | string |
Other parameters are passed through a pointer to a apiRestoreMapRequest 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]
RestoreMapLine(ctx, id).Execute()
Restore Map Line
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/rezkit/tour-manager-go"
)
func main() {
id := "id_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
r, err := apiClient.MapsAPI.RestoreMapLine(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `MapsAPI.RestoreMapLine``: %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 | string |
Other parameters are passed through a pointer to a apiRestoreMapLineRequest 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]
RestoreMapMarker(ctx, id).Execute()
Restore Map Marker
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/rezkit/tour-manager-go"
)
func main() {
id := "id_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
r, err := apiClient.MapsAPI.RestoreMapMarker(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `MapsAPI.RestoreMapMarker``: %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 | string |
Other parameters are passed through a pointer to a apiRestoreMapMarkerRequest 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]
UpdateMap(ctx, id).Execute()
Update Map
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/rezkit/tour-manager-go"
)
func main() {
id := "id_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
r, err := apiClient.MapsAPI.UpdateMap(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `MapsAPI.UpdateMap``: %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 | string |
Other parameters are passed through a pointer to a apiUpdateMapRequest 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]
UpdateMapLine(ctx, id).Execute()
Update Map Line
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/rezkit/tour-manager-go"
)
func main() {
id := "id_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
r, err := apiClient.MapsAPI.UpdateMapLine(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `MapsAPI.UpdateMapLine``: %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 | string |
Other parameters are passed through a pointer to a apiUpdateMapLineRequest 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]
UpdateMapMarker(ctx, id).Execute()
Update Map Marker
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/rezkit/tour-manager-go"
)
func main() {
id := "id_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
r, err := apiClient.MapsAPI.UpdateMapMarker(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `MapsAPI.UpdateMapMarker``: %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 | string |
Other parameters are passed through a pointer to a apiUpdateMapMarkerRequest 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]