All URIs are relative to https://api.lamp.digital
Method | HTTP request | Description |
---|---|---|
activitySpecAll | GET /activity_spec | Get all ActivitySpecs registered. |
activitySpecCreate | POST /activity_spec | Create a new ActivitySpec. |
activitySpecDelete | DELETE /activity_spec/{activity_spec_name} | Delete an ActivitySpec. |
activitySpecUpdate | PUT /activity_spec/{activity_spec_name} | Update an ActivitySpec. |
activitySpecView | GET /activity_spec/{activity_spec_name} | View an ActivitySpec. |
kotlin.Array<kotlin.Any> activitySpecAll(transform)
Get all ActivitySpecs registered.
Get all ActivitySpecs registered.
// Import classes:
//import digital.lamp.lamp-core.infrastructure.*
//import digital.lamp.lamp-core.models.*
val apiInstance = ActivitySpecAPI()
val transform : kotlin.String = transform_example // kotlin.String |
try {
val result : kotlin.Array<kotlin.Any> = apiInstance.activitySpecAll(transform)
println(result)
} catch (e: ClientException) {
println("4xx response calling ActivitySpecAPI#activitySpecAll")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ActivitySpecAPI#activitySpecAll")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
transform | kotlin.String | [optional] |
Configure Authorization: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
kotlin.String activitySpecCreate(activitySpec)
Create a new ActivitySpec.
Create a new ActivitySpec.
// Import classes:
//import digital.lamp.lamp-core.infrastructure.*
//import digital.lamp.lamp-core.models.*
val apiInstance = ActivitySpecAPI()
val activitySpec : ActivitySpec = // ActivitySpec |
try {
val result : kotlin.String = apiInstance.activitySpecCreate(activitySpec)
println(result)
} catch (e: ClientException) {
println("4xx response calling ActivitySpecAPI#activitySpecCreate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ActivitySpecAPI#activitySpecCreate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
activitySpec | ActivitySpec |
kotlin.String
Configure Authorization: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
kotlin.String activitySpecDelete(activitySpecName)
Delete an ActivitySpec.
Delete an ActivitySpec.
// Import classes:
//import digital.lamp.lamp-core.infrastructure.*
//import digital.lamp.lamp-core.models.*
val apiInstance = ActivitySpecAPI()
val activitySpecName : kotlin.String = activitySpecName_example // kotlin.String |
try {
val result : kotlin.String = apiInstance.activitySpecDelete(activitySpecName)
println(result)
} catch (e: ClientException) {
println("4xx response calling ActivitySpecAPI#activitySpecDelete")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ActivitySpecAPI#activitySpecDelete")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
activitySpecName | kotlin.String |
kotlin.String
Configure Authorization: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
kotlin.String activitySpecUpdate(activitySpecName, activitySpec)
Update an ActivitySpec.
Update an ActivitySpec.
// Import classes:
//import digital.lamp.lamp-core.infrastructure.*
//import digital.lamp.lamp-core.models.*
val apiInstance = ActivitySpecAPI()
val activitySpecName : kotlin.String = activitySpecName_example // kotlin.String |
val activitySpec : ActivitySpec = // ActivitySpec |
try {
val result : kotlin.String = apiInstance.activitySpecUpdate(activitySpecName, activitySpec)
println(result)
} catch (e: ClientException) {
println("4xx response calling ActivitySpecAPI#activitySpecUpdate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ActivitySpecAPI#activitySpecUpdate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
activitySpecName | kotlin.String | ||
activitySpec | ActivitySpec |
kotlin.String
Configure Authorization: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
kotlin.String activitySpecView(activitySpecName, transform)
View an ActivitySpec.
View an ActivitySpec.
// Import classes:
//import digital.lamp.lamp-core.infrastructure.*
//import digital.lamp.lamp-core.models.*
val apiInstance = ActivitySpecAPI()
val activitySpecName : kotlin.String = activitySpecName_example // kotlin.String |
val transform : kotlin.String = transform_example // kotlin.String |
try {
val result : kotlin.String = apiInstance.activitySpecView(activitySpecName, transform)
println(result)
} catch (e: ClientException) {
println("4xx response calling ActivitySpecAPI#activitySpecView")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ActivitySpecAPI#activitySpecView")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
activitySpecName | kotlin.String | ||
transform | kotlin.String | [optional] |
kotlin.String
Configure Authorization: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json