Skip to content

Latest commit

 

History

History
79 lines (50 loc) · 2.06 KB

ImportExportLayerAPI.md

File metadata and controls

79 lines (50 loc) · 2.06 KB

\ImportExportLayerAPI

All URIs are relative to http://localhost

Method HTTP request Description
ImportExportLayerExportLayer Get /api/v{version}/ImportExportLayer/exportLayer

ImportExportLayerExportLayer

ImportExportLayerExportLayer(ctx, version).LayerID(layerID).Ciids(ciids).Execute()

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/max-bytes/omnikeeper-client-go"
)

func main() {
	layerID := "layerID_example" // string | 
	version := "version_example" // string | 
	ciids := []string{"Inner_example"} // []string |  (optional)

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	r, err := apiClient.ImportExportLayerAPI.ImportExportLayerExportLayer(context.Background(), version).LayerID(layerID).Ciids(ciids).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `ImportExportLayerAPI.ImportExportLayerExportLayer``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
}

Path Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
version string

Other Parameters

Other parameters are passed through a pointer to a apiImportExportLayerExportLayerRequest struct via the builder pattern

Name Type Description Notes
layerID string

ciids | []string | |

Return type

(empty response body)

Authorization

oauth2, oauth2

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]