share Link With Collections

@PutMapping(headers = "token", path = ""/{" + LINK_IDENTIFIER_KEY + "}/" + COLLECTIONS_KEY" )
open fun shareLinkWithCollections(    @RequestHeader(value = "token") token: String,     @PathVariable(value = "user_id") userId: String,     @PathVariable(value = "link_id") linkId: String,     @RequestBody payload: Map<String, Any>): String

Method to manage the collections where the link is shared

Return

the response of the request as String

Parameters

userId

The identifier of the user

token

The token of the user

payload

The payload of the request


                             {
                                 "collections" : ["the collections where share the link"] -> List[String],
                             }