gdgpescara / hedwig

Other
20 stars 12 forks source link

BO22 - Create an endpoint to update a Sponsor #187

Open gregoriopalama opened 2 months ago

gregoriopalama commented 2 months ago

Add an endpoint in the Sponsorship API, mapped to PUT /partnership/{partnershipID}/partner/{partnerID} The endpoint should be allowed to Devfest Organizers only.

The body should contain the informations about the sponsor. All the informations will be updated. The informations are listed below:

The response will have a 200 HTTP Status code if the update goes smooth, also providing the updated sponsor object in the response's body, including the id of the document in the DB.