All URIs are relative to https://api.lamp.digital
Method | HTTP request | Description |
---|---|---|
credentialCreate | POST /type/{type_id}/credential | |
credentialDelete | DELETE /type/{type_id}/credential/{access_key} | |
credentialList | GET /type/{type_id}/credential | |
credentialUpdate | PUT /type/{type_id}/credential/{access_key} |
kotlin.Any credentialCreate(typeId, body)
// Import classes:
//import digital.lamp.lamp-core.infrastructure.*
//import digital.lamp.lamp-core.models.*
val apiInstance = CredentialAPI()
val typeId : kotlin.String = typeId_example // kotlin.String |
val body : kotlin.Any = Object // kotlin.Any |
try {
val result : kotlin.Any = apiInstance.credentialCreate(typeId, body)
println(result)
} catch (e: ClientException) {
println("4xx response calling CredentialAPI#credentialCreate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling CredentialAPI#credentialCreate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
typeId | kotlin.String | ||
body | kotlin.Any |
Configure Authorization: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
kotlin.Any credentialDelete(typeId, accessKey)
// Import classes:
//import digital.lamp.lamp-core.infrastructure.*
//import digital.lamp.lamp-core.models.*
val apiInstance = CredentialAPI()
val typeId : kotlin.String = typeId_example // kotlin.String |
val accessKey : kotlin.String = accessKey_example // kotlin.String |
try {
val result : kotlin.Any = apiInstance.credentialDelete(typeId, accessKey)
println(result)
} catch (e: ClientException) {
println("4xx response calling CredentialAPI#credentialDelete")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling CredentialAPI#credentialDelete")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
typeId | kotlin.String | ||
accessKey | kotlin.String |
Configure Authorization: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
kotlin.Any credentialList(typeId, transform)
// Import classes:
//import digital.lamp.lamp-core.infrastructure.*
//import digital.lamp.lamp-core.models.*
val apiInstance = CredentialAPI()
val typeId : kotlin.String = typeId_example // kotlin.String |
val transform : kotlin.String = transform_example // kotlin.String |
try {
val result : kotlin.Any = apiInstance.credentialList(typeId, transform)
println(result)
} catch (e: ClientException) {
println("4xx response calling CredentialAPI#credentialList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling CredentialAPI#credentialList")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
typeId | kotlin.String | ||
transform | kotlin.String | [optional] |
Configure Authorization: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
kotlin.Any credentialUpdate(typeId, accessKey, body)
// Import classes:
//import digital.lamp.lamp-core.infrastructure.*
//import digital.lamp.lamp-core.models.*
val apiInstance = CredentialAPI()
val typeId : kotlin.String = typeId_example // kotlin.String |
val accessKey : kotlin.String = accessKey_example // kotlin.String |
val body : kotlin.Any = Object // kotlin.Any |
try {
val result : kotlin.Any = apiInstance.credentialUpdate(typeId, accessKey, body)
println(result)
} catch (e: ClientException) {
println("4xx response calling CredentialAPI#credentialUpdate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling CredentialAPI#credentialUpdate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
typeId | kotlin.String | ||
accessKey | kotlin.String | ||
body | kotlin.Any |
Configure Authorization: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json