def post(self, request, uri):
        """
        Set node data for uri, return rendered content.

        JSON Response:
            {uri: x, content: y}
        """
        uri = self.decode_uri(uri)
        data, meta = self.get_post_data(request)
        meta['author'] = auth.get_username(request)
        node = cio.set(uri, data, publish=False, **meta)
        return self.render_to_json(node)
def post ( self , request , uri ) : uri = self . decode_uri ( uri ) data , meta = self . get_post_data ( request ) meta [ 'author' ] = auth . get_username ( request ) node = cio . set ( uri , data , publish = False , ** meta ) return self . render_to_json ( node )
Set node data for uri, return rendered content.

        JSON Response:
            {uri: x, content: y}