endpoint should expect a JSON body along the lines of
{
“template”:{
“tagline”:“string”,
“name”:“string”,
“city”:“string”,
“summary”:“string”,
“sectionLabel0":“string”,
“sectionLabel1":“string“,
“sectionLabel2”:“string”,
“sectionContent0”:“string”,
“sectionContent1”:“string”,
“sectionContent2”:“string”,
“sliderLabelMin”:“string”,
“sliderLabelMax”:“string”,
“sliderValue”:int
},
“deckOwnerId”:“string”,
“deckName”:“string”,
“deckDescription”:“string”
}
the deckOwnerId field will only be populated when the user is logged in
for a successful request, the endpoint should return the id of the newly created deck
deckOwnerId
field will only be populated when the user is logged in