Skip to content

Latest commit

 

History

History
222 lines (161 loc) · 5.11 KB

DefaultApi.md

File metadata and controls

222 lines (161 loc) · 5.11 KB

DefaultApi

All URIs are relative to http://localhost

Method HTTP request Description
dummy GET /v2/stress/dummy Dummy
dummyDb GET /v2/stress/db/dummy Dummy Db
getOrganizationV2StressDbOrganizationGet GET /v2/stress/db/organization Get Organization
getOrganizationWithAuthn GET /v2/stress/db/organization_auth Get Organization With Authn
getOrganizationWithAuthz GET /v2/stress/db/organization_authz Get Organization With Authz

dummy

kotlin.Any dummy()

Dummy

Example

// Import classes:
//import org.openapitools.client.infrastructure.*
//import org.openapitools.client.models.*

val apiInstance = DefaultApi()
try {
    val result : kotlin.Any = apiInstance.dummy()
    println(result)
} catch (e: ClientException) {
    println("4xx response calling DefaultApi#dummy")
    e.printStackTrace()
} catch (e: ServerException) {
    println("5xx response calling DefaultApi#dummy")
    e.printStackTrace()
}

Parameters

This endpoint does not need any parameter.

Return type

kotlin.Any

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

dummyDb

kotlin.Any dummyDb()

Dummy Db

Example

// Import classes:
//import org.openapitools.client.infrastructure.*
//import org.openapitools.client.models.*

val apiInstance = DefaultApi()
try {
    val result : kotlin.Any = apiInstance.dummyDb()
    println(result)
} catch (e: ClientException) {
    println("4xx response calling DefaultApi#dummyDb")
    e.printStackTrace()
} catch (e: ServerException) {
    println("5xx response calling DefaultApi#dummyDb")
    e.printStackTrace()
}

Parameters

This endpoint does not need any parameter.

Return type

kotlin.Any

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

getOrganizationV2StressDbOrganizationGet

OrganizationRead getOrganizationV2StressDbOrganizationGet()

Get Organization

Example

// Import classes:
//import org.openapitools.client.infrastructure.*
//import org.openapitools.client.models.*

val apiInstance = DefaultApi()
try {
    val result : OrganizationRead = apiInstance.getOrganizationV2StressDbOrganizationGet()
    println(result)
} catch (e: ClientException) {
    println("4xx response calling DefaultApi#getOrganizationV2StressDbOrganizationGet")
    e.printStackTrace()
} catch (e: ServerException) {
    println("5xx response calling DefaultApi#getOrganizationV2StressDbOrganizationGet")
    e.printStackTrace()
}

Parameters

This endpoint does not need any parameter.

Return type

OrganizationRead

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

getOrganizationWithAuthn

OrganizationRead getOrganizationWithAuthn()

Get Organization With Authn

Example

// Import classes:
//import org.openapitools.client.infrastructure.*
//import org.openapitools.client.models.*

val apiInstance = DefaultApi()
try {
    val result : OrganizationRead = apiInstance.getOrganizationWithAuthn()
    println(result)
} catch (e: ClientException) {
    println("4xx response calling DefaultApi#getOrganizationWithAuthn")
    e.printStackTrace()
} catch (e: ServerException) {
    println("5xx response calling DefaultApi#getOrganizationWithAuthn")
    e.printStackTrace()
}

Parameters

This endpoint does not need any parameter.

Return type

OrganizationRead

Authorization

Configure HTTPBearer: ApiClient.accessToken = ""

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

getOrganizationWithAuthz

OrganizationRead getOrganizationWithAuthz()

Get Organization With Authz

Example

// Import classes:
//import org.openapitools.client.infrastructure.*
//import org.openapitools.client.models.*

val apiInstance = DefaultApi()
try {
    val result : OrganizationRead = apiInstance.getOrganizationWithAuthz()
    println(result)
} catch (e: ClientException) {
    println("4xx response calling DefaultApi#getOrganizationWithAuthz")
    e.printStackTrace()
} catch (e: ServerException) {
    println("5xx response calling DefaultApi#getOrganizationWithAuthz")
    e.printStackTrace()
}

Parameters

This endpoint does not need any parameter.

Return type

OrganizationRead

Authorization

Configure HTTPBearer: ApiClient.accessToken = ""

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json