I’m having some troubles figuring how a REST two-step creation process for
a resource could take place. The resource is also nested.
…
Adding contribution is a two-steps (two forms) process: first some data,
then something other… something like an wizard, you know.
How are the two steps supposed to work?
Does the first step result in creating the object (in the db) and the
second
setting the remaining attributes?
If yes, then it just maps naturally in a first step which posts the new
object and a second step that puts the remaining data (i.e. a create+an
update)
Otherwise it’s justa matter of splitting the single “new object” form in
two
and therefore i feel the following is correct:
Something like projects/20/contributions/new;step1 and