Menu

#122 Expose zOGI get_anchor method via JSON-RPC

0.50
open
nobody
2013-05-15
2013-02-12
No

The zOGI API object's new get_anchor method is exposed via the XML-RPC "/RPC2" protocol but not via the JSONRPC "/jsonrpc" protocol.

Discussion

  • Adam Tauno Williams

    It is pretty simple, the XML-RPC bundle exposes this using the following patch:

    +    def getAnchor(self, anchor):
    +        """
    +        Return the specified sychronization anchor
    +        """
    +        return self.api.get_anchor( anchor )
    
     
  • Adam Tauno Williams

    • milestone: 1.0 --> 0.49
     
  • Adam Tauno Williams

    • Milestone: 0.49 --> 0.50
     

Log in to post a comment.