|
create
|
fun create(endpoint: String, contentId: String?, params: Map<String, Any> = mapOf(), isDraft: Boolean = false, callback: (Result<JSONObject>) -> Unit): Unit |
|
delete
|
fun delete(endpoint: String, contentId: String, callback: (Result<JSONObject>) -> Unit): Unit |
|
get
|
fun get(endpoint: String, params: List<MicrocmsParameter> = listOf(), callback: (Result<JSONObject>) -> Unit): Unit
fun get(endpoint: String, contentId: String? = null, params: List<MicrocmsParameter> = listOf(), callback: (Result<JSONObject>) -> Unit): Unit |
|
update
|
fun update(endpoint: String, contentId: String?, params: Map<String, Any> = mapOf(), isDraft: Boolean = false, callback: (Result<JSONObject>) -> Unit): Unit |