All URIs are relative to https://api.lamp.digital
Method | HTTP request | Description |
---|---|---|
aPIQuery | POST / | Query the LAMP Database. |
aPISchema | GET / | View the API schema document. |
kotlin.Any aPIQuery(body)
Query the LAMP Database.
Query the LAMP Database using a transformation document. All GET operations in this API schema document are available by replacing the period with an underscore (i.e. `$Participant_view(...)` instead of `Participant.view(...)`). The `origin`, `from`, and `to` parameters of EventStream functions are preserved but the `transform` parameter is not.
// Import classes:
//import digital.lamp.lamp-core.infrastructure.*
//import digital.lamp.lamp-core.models.*
val apiInstance = APIAPI()
val body : kotlin.String = body_example // kotlin.String |
try {
val result : kotlin.Any = apiInstance.aPIQuery(body)
println(result)
} catch (e: ClientException) {
println("4xx response calling APIAPI#aPIQuery")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling APIAPI#aPIQuery")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
body | kotlin.String |
Configure Authorization: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: text/plain, application/json
- Accept: application/json
kotlin.Any aPISchema()
View the API schema document.
View this API schema document from a live server instance.
// Import classes:
//import digital.lamp.lamp-core.infrastructure.*
//import digital.lamp.lamp-core.models.*
val apiInstance = APIAPI()
try {
val result : kotlin.Any = apiInstance.aPISchema()
println(result)
} catch (e: ClientException) {
println("4xx response calling APIAPI#aPISchema")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling APIAPI#aPISchema")
e.printStackTrace()
}
This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: application/json