Model writable?

7 views
Skip to first unread message

W.S. Hager

unread,
Oct 6, 2014, 10:43:41 AM10/6/14
to persevere...@googlegroups.com
Hi,

Are we still alive? Good.

I was wondering what a good standard approach would be to discovering if a model / item is writable. There are good reasons not to use OPTIONS for this (currently that just returns all available methods), and obviously one could implement a method, but a meta URI would probably best fit the HTTPWG approach.

Any ideas?

Thanks.

--

W.S. Hager
Lagua Web Solutions
http://lagua.nl

Kris Zyp

unread,
Oct 6, 2014, 10:46:22 PM10/6/14
to persevere...@googlegroups.com
This could simply be a property on the model/schema, if a simple flag/boolean is adequate to describe the “writeable”-ness of a model (of course a model can be more granular than just read or read/write). In Persevere, generally using the /Class/ resource to expose a listing of schemas, or a single schema is the preferred meta resource for description of the models that are available, and those schemas could include a property describing the level of access, where that can be described in discrete levels.
Thanks,
Kris
--
You received this message because you are subscribed to the Google Groups "Persevere" group.
To unsubscribe from this group and stop receiving emails from it, send an email to persevere-frame...@googlegroups.com.
To post to this group, send email to persevere...@googlegroups.com.
Visit this group at http://groups.google.com/group/persevere-framework.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages