All URIs are relative to https://api.lamp.digital
Method | HTTP request | Description |
---|---|---|
researcherAll | GET /researcher | Get the set of all researchers. |
researcherCreate | POST /researcher | Create a new Researcher. |
researcherDelete | DELETE /researcher/{researcher_id} | Delete a researcher. |
researcherUpdate | PUT /researcher/{researcher_id} | Update a Researcher's settings. |
researcherView | GET /researcher/{researcher_id} | Get a single researcher, by identifier. |
kotlin.Array<kotlin.Any> researcherAll(transform)
Get the set of all researchers.
Get the set of all researchers.
// Import classes:
//import digital.lamp.lamp-core.infrastructure.*
//import digital.lamp.lamp-core.models.*
val apiInstance = ResearcherAPI()
val transform : kotlin.String = transform_example // kotlin.String |
try {
val result : kotlin.Array<kotlin.Any> = apiInstance.researcherAll(transform)
println(result)
} catch (e: ClientException) {
println("4xx response calling ResearcherAPI#researcherAll")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ResearcherAPI#researcherAll")
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 researcherCreate(researcher)
Create a new Researcher.
Create a new Researcher.
// Import classes:
//import digital.lamp.lamp-core.infrastructure.*
//import digital.lamp.lamp-core.models.*
val apiInstance = ResearcherAPI()
val researcher : Researcher = // Researcher |
try {
val result : kotlin.String = apiInstance.researcherCreate(researcher)
println(result)
} catch (e: ClientException) {
println("4xx response calling ResearcherAPI#researcherCreate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ResearcherAPI#researcherCreate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
researcher | Researcher |
kotlin.String
Configure Authorization: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
kotlin.String researcherDelete(researcherId)
Delete a researcher.
Delete a researcher.
// Import classes:
//import digital.lamp.lamp-core.infrastructure.*
//import digital.lamp.lamp-core.models.*
val apiInstance = ResearcherAPI()
val researcherId : kotlin.String = researcherId_example // kotlin.String |
try {
val result : kotlin.String = apiInstance.researcherDelete(researcherId)
println(result)
} catch (e: ClientException) {
println("4xx response calling ResearcherAPI#researcherDelete")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ResearcherAPI#researcherDelete")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
researcherId | kotlin.String |
kotlin.String
Configure Authorization: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
kotlin.String researcherUpdate(researcherId, researcher, transform)
Update a Researcher's settings.
Update a Researcher's settings.
// Import classes:
//import digital.lamp.lamp-core.infrastructure.*
//import digital.lamp.lamp-core.models.*
val apiInstance = ResearcherAPI()
val researcherId : kotlin.String = researcherId_example // kotlin.String |
val researcher : Researcher = // Researcher |
val transform : kotlin.String = transform_example // kotlin.String |
try {
val result : kotlin.String = apiInstance.researcherUpdate(researcherId, researcher, transform)
println(result)
} catch (e: ClientException) {
println("4xx response calling ResearcherAPI#researcherUpdate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ResearcherAPI#researcherUpdate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
researcherId | kotlin.String | ||
researcher | Researcher | ||
transform | kotlin.String | [optional] |
kotlin.String
Configure Authorization: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
kotlin.Array<kotlin.Any> researcherView(researcherId, transform)
Get a single researcher, by identifier.
Get a single researcher, by identifier.
// Import classes:
//import digital.lamp.lamp-core.infrastructure.*
//import digital.lamp.lamp-core.models.*
val apiInstance = ResearcherAPI()
val researcherId : kotlin.String = researcherId_example // kotlin.String |
val transform : kotlin.String = transform_example // kotlin.String |
try {
val result : kotlin.Array<kotlin.Any> = apiInstance.researcherView(researcherId, transform)
println(result)
} catch (e: ClientException) {
println("4xx response calling ResearcherAPI#researcherView")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ResearcherAPI#researcherView")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
researcherId | kotlin.String | ||
transform | kotlin.String | [optional] |
Configure Authorization: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json