Commit Graph

24 Commits

Author SHA1 Message Date
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
carlad
7b5c11fca6 add specs, update error names 2016-04-20 14:31:08 +02:00
carlad
30d73782c8 add error check to build restart and cancel 2016-04-20 11:33:20 +02:00
carlad
ec217a58f1 correct typo 2016-04-19 18:29:46 +02:00
carlad
506e0f0f7a add check for state on job restart and cancel 2016-04-19 15:26:28 +02:00
Lisa P
0448427136 create error in v3.rb 2016-02-25 15:06:45 +01:00
carlad
26b1d85d43 V3 add user/:id/sync endpoint 2015-10-29 17:57:30 +01:00
Konstantin Haase
09df061268 v3: add @warnings 2015-08-21 19:50:37 +02:00
Konstantin Haase
59835c80f6 API v3: remove n+1 query from owner page endpoint 2015-05-05 16:43:52 +02:00
Konstantin Haase
eac88e5d50 v3: introduce permission objects 2015-04-29 10:50:34 +02:00
Konstantin Haase
3794a999a3 try to match last lib not first lib when loading directories 2015-04-22 15:22:40 +02:00
Konstantin Haase
03938cabdc v3: throttle and enable request creation 2015-03-23 15:18:36 +01:00
Konstantin Haase
3c43f7e3fd v3: expose available attributes for collections 2015-03-10 11:23:48 +01:00
Konstantin Haase
7c6dc9a54c v3: full request create implementation and specs 2015-03-04 18:35:25 +01:00
Konstantin Haase
5f2dc47e07 no longer use models from travis-core in queries 2015-02-23 16:50:51 +01:00
Konstantin Haase
32c2d9b0b9 v3: add @href to payloads 2015-02-17 15:48:12 +01:00
Konstantin Haase
f104c413d4 fix args 2015-02-17 13:27:12 +01:00
Konstantin Haase
e19a9a5bed flag request API as not_implemented 2015-02-17 13:11:57 +01:00
Konstantin Haase
3567a759c2 v3: initial stab at request creation api 2015-02-11 10:05:08 +01:00
Konstantin Haase
737a31ad23 v3: add /orgs endpoint, fixes travis-pro/api-v3#1 2015-01-27 15:50:21 +01:00
Konstantin Haase
a6da78ad83 v3: find repos for current user (used for dashboard) 2015-01-23 19:27:01 +01:00
Konstantin Haase
c4806450aa get v3 to a working and tested state 2015-01-21 16:38:25 +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