#7965 Improve git/hg/svn endpoints for rest api

v1.5.0
closed
api (16)
SCM
nobody
2016-05-20
2015-08-14
No

Our rest api endpoints for git/hg/svn need to be cleaned up. Currently they are too simplistic (svn isn't even hooked up).

Our RAML api documentation should be updated as well. It might be easier to update the RAML first to ensure a consistant and reusable interface that can then be implemented in code.

Related

Git: 0cd4eab9
Tickets: #6797

Discussion

  • Rohan Verma

    Rohan Verma - 2016-04-20

    TODO:
    [x] Add SVN Support
    [x] Add 'logs' endpoint to retrieve logs of commits
    [x] Modify commits endpoint
    [x] Improve and add endpoints
    [x] Update RAML

     

    Last edit: Rohan Verma 2016-05-10
  • Thond1st

    Thond1st - 2016-04-22

    Hi,
    Do we have REST API endpoints for User's CRUD?
    Git Users?
    Project Users?
    Neighborhood Users?
    My use case is create project/git users upon registration or confirmaton on my website.
    Thanks.

     
    • Dave Brondsema

      Dave Brondsema - 2016-04-25

      Thond1st,

      This question is probably best asked on the mailing list or IRC, but I will give a brief response here still. No, there's not REST apis for those. It might be possible to extend the default AuthenticationProvider with custom server-side python code to do what you need. https://forge-allura.apache.org/docs/development/extending.html

       
  • Thond1st

    Thond1st - 2016-04-26

    Thanks @Dave.
    I'll try this out and will ask in the mailing list or IRC if I get stuck.
    Cheers

     
  • Rohan Verma

    Rohan Verma - 2016-05-11
    • status: open --> review
     
  • Rohan Verma

    Rohan Verma - 2016-05-20
    • status: review --> closed
     
  • Dave Brondsema

    Dave Brondsema - 2016-08-22
    • Milestone: unreleased --> v1.5.0
     

Log in to post a comment.