#84 Split /odcs/1/composes/ into two separate endpoints for creating a new compose and renewing a compose
Closed 6 years ago Opened 6 years ago by cqi.

Currently we mix creating new compose and renewing a compose into one endpoint /odcs/1/composes/, all code are put into one big method. This works but could be more clear by separating into two individual endpoints, one endpoint for one operation.

POST to /odcs/1/composes/ could be still for creating a new compose.

POST to /odcs/1/composes/<int:id>/renew/ could be for renewing a compose.


:+1:

Alternatively, you could PATCH to /odcs/1/composes/<int:id> to renew the existing resource.

Either way works for me.

Metadata Update from @cqi:
- Issue assigned to cqi

6 years ago

Metadata Update from @jkaluza:
- Issue status updated to: Closed (was: Open)

6 years ago

Login to comment on this ticket.

Metadata