All URIs are relative to https://api.lamp.digital
Method | HTTP request | Description |
---|---|---|
typeGetAttachment | GET /type/{type_id}/attachment/{attachment_key} | |
typeGetDynamicAttachment | GET /type/{type_id}/attachment/dynamic/{attachment_key} | |
typeListAttachments | GET /type/{type_id}/attachment | |
typeParent | GET /type/{type_id}/parent | Find the owner(s) of the resource. |
typeSetAttachment | PUT /type/{type_id}/attachment/{attachment_key}/{target} | |
typeSetDynamicAttachment | PUT /type/{type_id}/attachment/dynamic/{attachment_key}/{target} |
kotlin.Any typeGetAttachment(typeId, attachmentKey)
// Import classes:
//import digital.lamp.lamp-core.infrastructure.*
//import digital.lamp.lamp-core.models.*
val apiInstance = TypeAPI()
val typeId : kotlin.String = typeId_example // kotlin.String |
val attachmentKey : kotlin.String = attachmentKey_example // kotlin.String |
try {
val result : kotlin.Any = apiInstance.typeGetAttachment(typeId, attachmentKey)
println(result)
} catch (e: ClientException) {
println("4xx response calling TypeAPI#typeGetAttachment")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling TypeAPI#typeGetAttachment")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
typeId | kotlin.String | ||
attachmentKey | kotlin.String |
Configure Authorization: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
kotlin.Any typeGetDynamicAttachment(typeId, attachmentKey, invokeAlways, includeLogs, ignoreOutput)
// Import classes:
//import digital.lamp.lamp-core.infrastructure.*
//import digital.lamp.lamp-core.models.*
val apiInstance = TypeAPI()
val typeId : kotlin.String = typeId_example // kotlin.String |
val attachmentKey : kotlin.String = attachmentKey_example // kotlin.String |
val invokeAlways : kotlin.Boolean = true // kotlin.Boolean |
val includeLogs : kotlin.Boolean = true // kotlin.Boolean |
val ignoreOutput : kotlin.Boolean = true // kotlin.Boolean |
try {
val result : kotlin.Any = apiInstance.typeGetDynamicAttachment(typeId, attachmentKey, invokeAlways, includeLogs, ignoreOutput)
println(result)
} catch (e: ClientException) {
println("4xx response calling TypeAPI#typeGetDynamicAttachment")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling TypeAPI#typeGetDynamicAttachment")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
typeId | kotlin.String | ||
attachmentKey | kotlin.String | ||
invokeAlways | kotlin.Boolean | ||
includeLogs | kotlin.Boolean | ||
ignoreOutput | kotlin.Boolean |
Configure Authorization: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
kotlin.Any typeListAttachments(typeId)
// Import classes:
//import digital.lamp.lamp-core.infrastructure.*
//import digital.lamp.lamp-core.models.*
val apiInstance = TypeAPI()
val typeId : kotlin.String = typeId_example // kotlin.String |
try {
val result : kotlin.Any = apiInstance.typeListAttachments(typeId)
println(result)
} catch (e: ClientException) {
println("4xx response calling TypeAPI#typeListAttachments")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling TypeAPI#typeListAttachments")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
typeId | kotlin.String |
Configure Authorization: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
kotlin.String typeParent(typeId, transform)
Find the owner(s) of the resource.
Get the parent type identifier of the data structure referenced by the identifier.
// Import classes:
//import digital.lamp.lamp-core.infrastructure.*
//import digital.lamp.lamp-core.models.*
val apiInstance = TypeAPI()
val typeId : kotlin.String = typeId_example // kotlin.String |
val transform : kotlin.String = transform_example // kotlin.String |
try {
val result : kotlin.String = apiInstance.typeParent(typeId, transform)
println(result)
} catch (e: ClientException) {
println("4xx response calling TypeAPI#typeParent")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling TypeAPI#typeParent")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
typeId | kotlin.String | ||
transform | kotlin.String | [optional] |
kotlin.String
Configure Authorization: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
kotlin.Any typeSetAttachment(typeId, target, attachmentKey, body)
// Import classes:
//import digital.lamp.lamp-core.infrastructure.*
//import digital.lamp.lamp-core.models.*
val apiInstance = TypeAPI()
val typeId : kotlin.String = typeId_example // kotlin.String |
val target : kotlin.String = target_example // kotlin.String |
val attachmentKey : kotlin.String = attachmentKey_example // kotlin.String |
val body : kotlin.Any = Object // kotlin.Any |
try {
val result : kotlin.Any = apiInstance.typeSetAttachment(typeId, target, attachmentKey, body)
println(result)
} catch (e: ClientException) {
println("4xx response calling TypeAPI#typeSetAttachment")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling TypeAPI#typeSetAttachment")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
typeId | kotlin.String | ||
target | kotlin.String | ||
attachmentKey | kotlin.String | ||
body | kotlin.Any |
Configure Authorization: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
kotlin.Any typeSetDynamicAttachment(typeId, target, attachmentKey, invokeOnce, dynamicAttachment)
// Import classes:
//import digital.lamp.lamp-core.infrastructure.*
//import digital.lamp.lamp-core.models.*
val apiInstance = TypeAPI()
val typeId : kotlin.String = typeId_example // kotlin.String |
val target : kotlin.String = target_example // kotlin.String |
val attachmentKey : kotlin.String = attachmentKey_example // kotlin.String |
val invokeOnce : kotlin.Boolean = true // kotlin.Boolean |
val dynamicAttachment : DynamicAttachment = // DynamicAttachment |
try {
val result : kotlin.Any = apiInstance.typeSetDynamicAttachment(typeId, target, attachmentKey, invokeOnce, dynamicAttachment)
println(result)
} catch (e: ClientException) {
println("4xx response calling TypeAPI#typeSetDynamicAttachment")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling TypeAPI#typeSetDynamicAttachment")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
typeId | kotlin.String | ||
target | kotlin.String | ||
attachmentKey | kotlin.String | ||
invokeOnce | kotlin.Boolean | ||
dynamicAttachment | DynamicAttachment |
Configure Authorization: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json