Skip to content

Latest commit

 

History

History
77 lines (47 loc) · 1.84 KB

SchemaApi.md

File metadata and controls

77 lines (47 loc) · 1.84 KB

\SchemaApi

All URIs are relative to http://localhost/api/v3

Method HTTP request Description
SchemaRetrieve Get /schema/

SchemaRetrieve

map[string]interface{} SchemaRetrieve(ctx).Format(format).Lang(lang).Execute()

Example

package main

import (
    "context"
    "fmt"
    "os"
    openapiclient "./openapi"
)

func main() {
    format := "format_example" // string |  (optional)
    lang := "lang_example" // string |  (optional)

    configuration := openapiclient.NewConfiguration()
    apiClient := openapiclient.NewAPIClient(configuration)
    resp, r, err := apiClient.SchemaApi.SchemaRetrieve(context.Background()).Format(format).Lang(lang).Execute()
    if err != nil {
        fmt.Fprintf(os.Stderr, "Error when calling `SchemaApi.SchemaRetrieve``: %v\n", err)
        fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
    }
    // response from `SchemaRetrieve`: map[string]interface{}
    fmt.Fprintf(os.Stdout, "Response from `SchemaApi.SchemaRetrieve`: %v\n", resp)
}

Path Parameters

Other Parameters

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

Name Type Description Notes
format string
lang string

Return type

map[string]interface{}

Authorization

authentik

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/vnd.oai.openapi, application/yaml, application/vnd.oai.openapi+json, application/json

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