ksonbin / in.zeromod.ksonbin.api / Bin / read
read
suspend fun <reified JSON :
Any
> read(binId:
String
, binVersion:
Int
? = null, secretKey:
String
? = ksonbin.secretKey): JSON
Using the READ API, you can Read Public and Private bins.
Parameters
binId
- String
binVersion
- Int? (Required only if you are trying to read a specific version of bin)
secretKey
- String? (Required only if you are trying to read a private record)
Return JSON (Any class with @Serializable annotated)