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. |
open class func aPIQuery(body: String, completion: @escaping (_ data: Any?, _ error: Error?) -> Void)
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.
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import LAMP
let body = "body_example" // String |
// Query the LAMP Database.
APIAPI.aPIQuery(body: body) { (response, error) in
guard error == nil else {
print(error)
return
}
if (response) {
dump(response)
}
}
Name | Type | Description | Notes |
---|---|---|---|
body | String |
Any
- Content-Type: text/plain, application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
open class func aPISchema(completion: @escaping (_ data: Any?, _ error: Error?) -> Void)
View the API schema document.
View this API schema document from a live server instance.
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import LAMP
// View the API schema document.
APIAPI.aPISchema() { (response, error) in
guard error == nil else {
print(error)
return
}
if (response) {
dump(response)
}
}
This endpoint does not need any parameter.
Any
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]