edit
@PatchMapping(headers = "token",
path = "/{" + COLLECTION_IDENTIFIER_KEY + "}"
)
Method to edit a collection
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
{
"title" : "title of the collection" -> [String],
"description" : "the description of the collection" -> [String],
"color" : "the color of the collection" -> [String],
"links" : ["the links to attach"] -> List[String]
}
Content copied to clipboard