[Ocs] Proposal for new field in CONTENT module
Dan Leinir Turthra Jensen
admin at leinir.dk
Fri Aug 17 04:13:01 PDT 2012
On Friday 17 August 2012 11:50:15 Laszlo Papp wrote:
> > As we already discussed this at the sprint, i'm sure i really only need
> >
> > to
> > remind people of the existence of this, and expect to get a message akin
> > to
> > "Well, go and write it in the 1.7 draft, then!", which of course i will do
> > as
> > soon as i hear back ;)
>
> I would personally prefer not to go this way. My suggestion is to add
> "children" fields how that is also used throughout the specification for
> other services like forum, comments, and so forth. This would make the OCS
> v1 version more consistent with the rest.
That would make sense for one direction, however we need the information in
both directions. Also, since users aren't allowed to edit other users' content
items, it would be problematic to suddenly add such information to content/get
as it would indicate it has been vetted somehow (as everything else returned
by that call is provided by the owner, not by others). However, if that is
deemed to not be a problem by everybody else here, then i don't have any real
issue with that idea.
A note, though: For adding, the information should need to be given on
adding and editing the child item, though presumably that would go without
saying. The information in content/get would then become an aggregation, akin
to the comments number.
> As for OCS v2, I will prefer to go with a different approach. Once, the
> JSON specification is in the OCS v1 specification, I can help more with
> OCSv2.
>
> As a side note, there is such a query:
> http://freedesktop.org/wiki/Specifications/open-collaboration-services/#depe
> ndencies
>
> It is unfortunate, it does not have an id parameter for the URL. If adding
> an ID there breaks the interface, it cannot be fixed from that side either.
That is exactly /why/ this field was proposed, and why the name is not
dependencies. It was, of course, discussed at the sprint.
--
..Dan // Leinir..
http://leinir.dk/
Co-
existence
or no
existence
- Piet Hein
More information about the Ocs
mailing list