%3 ::nx::Object ::nx::Object __default_accessor __default_method_call_protection __object_configureparameter __resolve_method_path contains copy delete object method delete object property delete object variable destroy_on_cleanup info info info lookup parameters info lookup slots info lookup syntax info lookup variables info object method args info object method body info object method callprotection info object method debug info object method definition info object method definitionhandle info object method deprecated info object method exists info object method handle info object method origin info object method parameters info object method registrationhandle info object method returns info object method submethods info object method syntax info object method type info object slots info object variables info variable definition info variable name info variable parameter move object alias object forward object method object property object variable private protected public qn require namespace require object method require private object method require protected object method require public object method serialize ::xo::REST ::xo::REST body expect_status_code init json_to_dict pp request typed_list_to_json typed_value_to_json with_json_result ::xo::REST->::nx::Object ::xo::Authorize ::xo::Authorize decoded_state encoded_state get_required_fields login_url logout lookup_user_id name perform_login qualified record_oauth_registration redeem_code register_new_user required_fields ::xo::Authorize->::xo::REST ::ms::Graph ::ms::Graph → run_donecallback application get application list async_operation_status chat get chat messages check_async_operation encode_query group deleted group get group list group member add group member list group member remove group memberof group owner add group owner list group owner remove paginated_result_list params request run_donecallback schedule_donecallback team archive team channel list team clone team create team delete team get team member add team member list team member remove team unarchive token user get user list user me user memberof ::ms::Graph->::xo::REST ::ms::Authorize ::ms::Authorize get_user_data login_url logout logout_url ::ms::Authorize->::xo::Authorize ::xo::oauth::GitHub ::xo::oauth::GitHub get_api_data get_user_data logout_url ::xo::oauth::GitHub->::xo::Authorize

Class ::xo::REST

::xo::REST[i] create ... \
           [ -client_id client_id ] \
           [ -client_secret client_secret ]

The client_id/client_secret identifies the registered "app" for which later app-tokens are used to issue action via the REST interface.
Defined in packages/xooauth/tcl/rest-procs.tcl

Class Relations

  • class: ::nx::Class[i]
  • superclass: ::nx::Object[i]
  • subclass: ::xo::Authorize[i], ::ms::Graph[i]

Methods (to be applied on instances)

  • pp (scripted, public)

     <instance of xo::REST[i]> pp [ -list ] [ -prefix prefix ] dict

    Simple pretty-print function which is based on the conventions of the dict structures as returned from Microsoft Graph API. Multi-valued results are returned in a dict member named "value", which are printed indented and space separated.

    Switches:
    -list
    (optional)
    -prefix
    (optional)
    Parameters:
    dict

    Partial Call Graph (max 5 caller/called nodes):
    %3

    Testcases:
    No testcase defined.