Vincent Bernat
7f6a52019f
Add a flag to unlock database after each API request
...
After the first API request, the database was locked as long as the API
server is running. This prevents a user to also use the command-line
client. This commit adds a new flag `-no-lock` that will close the
database after each API request.
Closes #234
2015-10-02 20:04:48 +02:00
Andrey Smirnov
2f1afa54c2
Publish update/drop APIs, rework prefix, move publishing APIs. #116
2015-03-01 19:55:02 +03:00
Andrey Smirnov
e33a2a6f96
Reverting, as this change was making API LESS RESTful. My bad.
...
Revert "Make snapshot creation API more RESTful: accept snapshot name from URL. #116 "
This reverts commit 06dc1ef9a4 .
2015-02-28 19:55:09 +03:00
Andrey Smirnov
06dc1ef9a4
Make snapshot creation API more RESTful: accept snapshot name from URL. #116
2015-02-28 19:32:28 +03:00
Andrey Smirnov
c737b8c544
Flush CollectionFactory every 15 minutes. #116
2015-02-16 00:46:31 +03:00
Andrey Smirnov
a582493a6e
Packages show API with tests. #116
2015-02-07 18:50:52 +03:00
Andrey Smirnov
ebea4f10a0
Make snapshot diff GET, not POST (as it doesn't change anything in the system). #168
2015-01-24 21:51:33 +03:00
Andrey Smirnov
7c3629337c
Merge branch 'snapshot-api' of https://github.com/lebauce/aptly into lebauce-snapshot-api
...
Conflicts:
api/router.go
system/t12_api/__init__.py
2015-01-22 21:29:58 +03:00
Andrey Smirnov
2816647809
Allow to generate graph in formats supported by dot. #169
2015-01-13 19:22:24 +03:00
Andrey Smirnov
b50cb70a0e
Merge branch 'graph-api' of https://github.com/lebauce/aptly into lebauce-graph-api
2015-01-13 19:04:07 +03:00
Andrey Smirnov
d489694ea9
Refactoring: simplify version generation. Rename API to /api/version. #167
2015-01-13 18:47:41 +03:00
Sylvain Baubeau
6c7f3b3bbd
Add /api route to show API version #116
2015-01-12 10:56:54 +01:00
Sylvain Baubeau
38cb6bd133
Graph REST API #116
2015-01-12 10:56:28 +01:00
Andrey Smirnov
98ca0cdf33
Publish repo REST API. #116
2015-01-07 16:11:34 +03:00
Sylvain Baubeau
dd9fc8e40e
Allow API creation of snapshots using package references
2014-12-18 18:17:43 +01:00
Sylvain Baubeau
85f38cd739
Allow setting description on snapshots using API
2014-12-18 11:55:54 +01:00
Sylvain Baubeau
c733129de9
Add search API for packages in snapshots
2014-12-18 11:16:49 +01:00
Sylvain Baubeau
64ef342121
Add /snapshots/ API. #116
...
Implements :
- CRUD
- Difference between snapshots
2014-12-15 10:47:35 +01:00
Andrey Smirnov
6a9db17460
Stubs for API calls. #116
2014-10-23 00:41:24 +04:00
Andrey Smirnov
d6c3389d7c
First steps towards /files/ API (file upload). #116
2014-10-14 00:47:17 +04:00
Andrey Smirnov
10056b8571
Add first /repos/ API, command api serve. #116
2014-10-08 16:19:15 +04:00