In the past few week, I had my schedule screwed up so I didn't have a new post.
I have made many improvements to the rest module. One of them is adding filtering and pagination. So user can get a filtered list of data they want, for example, issue?where_status=open&where_priority=normal,critical&page_size=50&page_index=0 will return the first 50 issues which have status as "open", and priority as "normal" or "critical".
User can also request the server to send pretty output by adding 'pretty=true'. Pretty output will have 4 spaces indent.
Another improvement is having a routing decorator. So people can add new function to the tracker easily like Flask
@Routing.route("/hello", 'GET') def hello_world(self, input): return 200, 'Hello World'
Unit test and basic authentication are also done to provide testing.
No comments:
Post a Comment