ksonbin / in.zeromod.ksonbin.api / Bin
Bin
class Bin
Constructors
Properties
Functions
create |
Using the CREATE API, you can Create Public and Private bins.suspend fun <JSON : Any > create(data: JSON, collectionId: String ? = null, private: Boolean = true, name: String ? = null): BinCreate <JSON> |
delete |
Using the DELETE API, you can Delete the Public or a Private bins.suspend fun delete(binId: String ): BinDelete |
read |
Using the READ API, you can Read Public and Private bins.suspend fun <JSON : Any > read(binId: String , binVersion: Int ? = null, secretKey: String ? = ksonbin.secretKey): JSON |
update |
Using the UPDATE API, you can Update Public and Private bins.suspend fun <JSON : Any > update(binId: String , data: JSON, versioning: Boolean = true, secretKey: String ? = ksonbin.secretKey): BinUpdate <JSON> |