Commit Graph

25 Commits

Author SHA1 Message Date
Joe Corcoran
316947b7c0 Add simplest log endpoint
Just an excuse to get all the boilerplate classes in place :)
2016-07-19 18:10:34 +02:00
Joe Corcoran
871b915515 Add env vars endpoints
This adds API V3 endpoints for querying, creating, modifying and
deleting environment variables.

It has no concept of encryption yet and should be considered a work in
progress.

We should also talk about the slightly off-track approach in the
EnvVars::Create service – maybe there's a way to standardise the
querying and rendering for post requests?

2016-07-01 23:55:49 -04:00
Joe Corcoran
fba9a87c39 Add settings to API V3
This adds /repo/{repository.id}/settings endpoints for reading
and updating repo settings.

Main points:

1. Sets up Settings as a first class resource instead of as an
   attribute of Repository
2. Adds new meta-programmed method to Query for accessing all
   prefixed params as a hash.
2016-06-08 15:59:52 +02:00
Jonas Chromik
fe76d38230 Merge branch 'master' into cronjobs 2016-03-21 17:08:33 +01:00
carlad
43480752fa intial work on adding /lint endpoint 2016-01-07 12:34:10 +01:00
Lennard Wolf
ec37deb17c add /repo/repo.id/crons GET endpoint 2015-11-05 15:22:10 +01:00
Lennard Wolf
046a63b60a add find for cron 2015-11-05 11:43:58 +01:00
carlad
28c6e04eb8 put jobs service back in 2015-09-11 11:10:36 +02:00
carlad
bd61d1e58e add broadcasts - initial work 2015-09-10 15:08:41 +02:00
carlad
2e72233213 v3 fix services 2015-09-07 17:10:03 +02:00
carlad
f44b374d79 v3 add branches endpoint 2015-09-07 17:09:05 +02:00
carlad
8e6dbf9319 v3 add /job/:id endpoint 2015-08-27 11:00:09 +02:00
Konstantin Haase
28e3e52b3e fix alignment 2015-08-21 14:39:19 +02:00
carlad
fe9a6536d7 add builds 2015-08-21 13:38:07 +02:00
Konstantin Haase
1b19b57109 v3: add accounts api 2015-04-17 13:34:29 +02:00
Konstantin Haase
344979a2a8 v3: rename account to owner (so we can use account for private accounts api) 2015-04-17 12:44:10 +02:00
Konstantin Haase
5efdcc24c8 implement accounts api 2015-04-13 13:12:18 +02:00
Konstantin Haase
3a058339be v3: add /user and /user/:id 2015-03-24 17:25:57 +01:00
Konstantin Haase
c968bbaab1 v3: use branches table for default_branch, eager load on /repos endpoint to avoid N+1 queries 2015-02-23 22:54:28 +01:00
Konstantin Haase
7fce1b93f3 v3: add /build/:id endpoint 2015-02-18 13:47:04 +01:00
Konstantin Haase
b84a0a492b v3: add /org/:id endpoint 2015-02-18 10:07:14 +01:00
Konstantin Haase
3567a759c2 v3: initial stab at request creation api 2015-02-11 10:05:08 +01:00
Konstantin Haase
1712204321 v3: introduce query objects for DB interaction 2015-01-27 13:57:51 +01:00
Konstantin Haase
4bc211a2e7 first actually working version of v3 2015-01-20 16:33:11 +01:00
Konstantin Haase
a65792ee49 start working on API v3 2015-01-13 15:22:20 +01:00