All URIs are relative to https://api.lamp.digital
Method | HTTP request | Description |
---|---|---|
credentialCreate | POST /type/{type_id}/credential | |
credentialDelete | DELETE /type/{type_id}/credential/{access_key} | |
credentialList | GET /type/{type_id}/credential | |
credentialUpdate | PUT /type/{type_id}/credential/{access_key} |
open class func credentialCreate(typeId: String, body: Any, completion: @escaping (_ data: Any?, _ error: Error?) -> Void)
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import LAMP
let typeId = "typeId_example" // String |
let body = 987 // Any |
CredentialAPI.credentialCreate(typeId: typeId, body: body) { (response, error) in
guard error == nil else {
print(error)
return
}
if (response) {
dump(response)
}
}
Name | Type | Description | Notes |
---|---|---|---|
typeId | String | ||
body | Any |
Any
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
open class func credentialDelete(typeId: String, accessKey: String, completion: @escaping (_ data: Any?, _ error: Error?) -> Void)
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import LAMP
let typeId = "typeId_example" // String |
let accessKey = "accessKey_example" // String |
CredentialAPI.credentialDelete(typeId: typeId, accessKey: accessKey) { (response, error) in
guard error == nil else {
print(error)
return
}
if (response) {
dump(response)
}
}
Name | Type | Description | Notes |
---|---|---|---|
typeId | String | ||
accessKey | String |
Any
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
open class func credentialList(typeId: String, transform: String? = nil, completion: @escaping (_ data: Any?, _ error: Error?) -> Void)
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import LAMP
let typeId = "typeId_example" // String |
let transform = "transform_example" // String | (optional)
CredentialAPI.credentialList(typeId: typeId, transform: transform) { (response, error) in
guard error == nil else {
print(error)
return
}
if (response) {
dump(response)
}
}
Name | Type | Description | Notes |
---|---|---|---|
typeId | String | ||
transform | String | [optional] |
Any
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
open class func credentialUpdate(typeId: String, accessKey: String, body: Any, completion: @escaping (_ data: Any?, _ error: Error?) -> Void)
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import LAMP
let typeId = "typeId_example" // String |
let accessKey = "accessKey_example" // String |
let body = 987 // Any |
CredentialAPI.credentialUpdate(typeId: typeId, accessKey: accessKey, body: body) { (response, error) in
guard error == nil else {
print(error)
return
}
if (response) {
dump(response)
}
}
Name | Type | Description | Notes |
---|---|---|---|
typeId | String | ||
accessKey | String | ||
body | Any |
Any
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]