• 
      

    Add a session id option to the API

    Review Request #3331 — Created Sept. 19, 2012 and submitted

    Information

    RBTools
    api

    Reviewers

    Allows a session id to be provided when using the API.
    
    Passing a session id in the 'session' argument of the sync transport will cause the API to use the corresponding session.
    
    Dependent upon /r/3318
    
     
    Description From Last Updated

    Would be nice to just doc what's happening right here.

    chipx86chipx86

    Might be nice to define this as a constant somewhere.

    chipx86chipx86

    Hmm, this isn't always correct. We should factor in the Review Board root for it. It could be a subdirectory …

    chipx86chipx86

    Can we do one per line?

    chipx86chipx86
    chipx86
    1. 
        
    2. rbtools/api/request.py (Diff revision 1)
       
       
       
      Show all issues
      Would be nice to just doc what's happening right here.
    3. rbtools/api/request.py (Diff revision 1)
       
       
      Show all issues
      Might be nice to define this as a constant somewhere.
    4. rbtools/api/request.py (Diff revision 1)
       
       
      Show all issues
      Hmm, this isn't always correct. We should factor in the Review Board root for it. It could be a subdirectory install.
    5. rbtools/api/transport/sync.py (Diff revision 1)
       
       
      Show all issues
      Can we do one per line?
    6. 
        
    SM
    chipx86
    1. Ship It!
    2. 
        
    SM
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to api (ad6b7ad)