getCollection

fun getCollection(collection: LinksCollection): JSONObject

Function to execute the request to get a collection

Return

the result of the request as JSONObject

Parameters

collection

: the collection to get


fun getCollection(collectionId: String): JSONObject

Function to execute the request to get a collection

Return

the result of the request as JSONObject

Parameters

collectionId

: the identifier of the collection to get