createCollectionPayload

private fun createCollectionPayload(color: String, title: String, description: String, links: List<String>): APIRequest.Params

Function to create a payload for the collection creation/edit actions

Return

the payload as Params

Parameters

color

: color of the collection

title

: title of the collection

description

: description of the collection

links

: list of links shared in a collection