RestObject

The base of all REST objects, to be used with serveRestObject and serveRestCollectionOf.

WARNING: this is not stable.

Members

Functions

accessCheck
AccessCheck accessCheck(string urlId, Operation operation)

Override this to provide access control to this object.

create
string create(void delegate() applyChanges)

Given a populated object, this creates a new entry. Returns the url identifier of the new object.

show
void show()
void show(string urlId)

Prepare the object to be shown.

Suggestion Box / Bug Report