Artem Melentyev wrote:
Hi, Fabio.
1) Why we need /spaces/ and /pages/ ?
Can't we use just /{space}/{page}/... ?
Yes, but this might lead to ambiguities in URI routing.
Consider /tags/foo
Is it a a list of pages tagged as foo, or the foo page in the tags space?
By interleaving variable parts with fixed ones this ambiguity can be
solved. This is standard practice however.
Even the plural form. But this can be worked out I guess.
What does mean /spaces/{space} GET: retrieves a space?
What is space?
This was a leftover of the current implementation.
Actually we can get rid of this resource.
I am not sure what Alexandru's implementation returned but I guess it
was the {space}.WebHome page.
2) How could I get all translations of a page?
(so i think {page}/translatios is needed)
Propbably you missed it. It's already there.
3) I think we need {page}/versions instead of
{page}/history
Again a leftover of the current implementation.
Anyway I agree.
Thanks
-Fabio