Skip to content
This repository has been archived by the owner on Apr 17, 2024. It is now read-only.

Latest commit

 

History

History
60 lines (39 loc) · 1.72 KB

SchemaAPI.md

File metadata and controls

60 lines (39 loc) · 1.72 KB

SchemaAPI

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

Method HTTP request Description
schemaRetrieve GET /schema/

schemaRetrieve

    open class func schemaRetrieve(format: Format_schemaRetrieve? = nil, lang: Lang_schemaRetrieve? = nil, completion: @escaping (_ data: [String: AnyCodable]?, _ error: Error?) -> Void)

OpenApi3 schema for this API. Format can be selected via content negotiation. - YAML: application/vnd.oai.openapi - JSON: application/vnd.oai.openapi+json

Example

// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import authentikClient

let format = "format_example" // String |  (optional)
let lang = "lang_example" // String |  (optional)

SchemaAPI.schemaRetrieve(format: format, lang: lang) { (response, error) in
    guard error == nil else {
        print(error)
        return
    }

    if (response) {
        dump(response)
    }
}

Parameters

Name Type Description Notes
format String [optional]
lang String [optional]

Return type

[String: AnyCodable]

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]