Konstantin Haase
20e9448dc1
Merge pull request #146 from cscott/bug-145
...
Allow branch names to contain slashes.
2015-02-23 12:51:17 +01:00
C. Scott Ananian
7ba84757dc
Allow branch names to contain slashes
...
Fixes : #145
2014-11-13 01:06:26 -05:00
Konstantin Haase
b448410da5
have :id in repos controller only match digits
2014-08-19 10:45:55 +02:00
Piotr Sarnacki
81abc68621
Return only simple attributes on PATCH to settings
2014-07-30 16:44:37 +02:00
Piotr Sarnacki
9ae3782975
Don't return collections along with simple settings
2014-07-16 18:20:35 +02:00
Piotr Sarnacki
2e8fc35e13
Properly validate settings
2014-07-15 16:26:24 +02:00
Piotr Sarnacki
60c300aeec
Bump travis-core
2014-07-15 16:25:12 +02:00
Piotr Sarnacki
17fd6201b8
Don't error out on settings
...
We didn't have scope: :private specified on settings endpoint which
resulted in errors (services check permissions of current user anyway,
but it will error out if there is no user available).
2014-04-15 10:58:08 +02:00
Piotr Sarnacki
1b524071f4
Allow to handle settings collections
2014-04-01 12:00:06 +02:00
Piotr Sarnacki
8c82d9af89
Move API v2 payload definitions to travis-api from travis-core
2014-03-24 20:25:06 +01:00
Mathias Meyer
1de288cc60
Fix links to docs and blog in API doco.
...
[skip ci]
2014-01-21 13:44:13 +01:00
Piotr Sarnacki
e11dfa35cf
Fix PATCH repos/:id/settings
2013-12-02 15:36:58 +01:00
Piotr Sarnacki
62a5e602c5
Implement simple repository settings API
2013-12-02 15:36:25 +01:00
Konstantin Haase
44e1db3944
add API endpoints for listing and deleting caches
2013-11-04 10:23:22 +01:00
Konstantin Haase
096d08c102
add /repos/:owner_name, fixes travis-ci/travis-ci#1496
2013-10-15 12:24:07 +02:00
Konstantin Haase
6f72b2cb6b
find_branch(es) expects parameter to be called repository_id
2013-10-03 17:25:40 +02:00
Konstantin Haase
93277035cd
add repo endpoints for fetching branches
2013-10-03 16:32:30 +02:00
Piotr Sarnacki
b484a19f27
Prefer follower also for /repos/id and repos list
2013-09-04 20:32:30 +02:00
Piotr Sarnacki
b6a351c766
Convert params['ids'] to array
...
Services like find_builds can accept :ids as a param, but it needs to be
an array, string will be passed to find and converted into integer.
2013-07-09 15:18:31 +02:00
Josh Kalderimis
23f3edc60c
move the db follower usage to a helper
2013-05-03 09:21:48 +02:00
Josh Kalderimis
fa6ea0692d
use a follower for one of the repos endpoint
2013-05-02 16:38:20 +02:00
Henrik Hodne
6f5f7d0073
Add responses to repository endpoints
2013-03-26 20:41:23 -05:00
Piotr Sarnacki
440dacece3
Add endpoints for key regeneration
...
Enpoints are:
POST /repos/:id/key
and
POST /repos/:owner/:name/key
Both versions will replace current ssl key for given repo with the new
one.
2012-12-03 02:54:01 +01:00
Konstantin Haase
a62948b047
make /key public again
2012-12-02 20:39:54 +01:00
Konstantin Haase
5d515f3b8a
enforce v2 for /key
2012-12-02 20:21:19 +01:00
Konstantin Haase
0d7db43c7a
set scope
2012-12-02 19:47:24 +01:00
Piotr Sarnacki
65637c5731
Add endpoint for getting repo public key
2012-11-26 02:26:34 +01:00
Sven Fuchs
353b5fa502
use registered services
2012-11-23 21:16:10 +01:00
Henrik Hodne
eaf28bec33
Add documentation to /repos
...
This documents what @drogus mentioned here:
https://github.com/travis-ci/travis-ci/issues/503#issuecomment-10447864
2012-11-16 10:44:45 -06:00
Konstantin Haase
d39f2eef07
add cc path
2012-11-08 14:36:39 +01:00
Sven Fuchs
209dbe2a85
rename services, remove service helpers
2012-10-12 01:28:35 +02:00
Sven Fuchs
8abd6fa150
manual redirects and rewrite rules for supporting v1 style resources
2012-10-10 01:48:22 +02:00