Piotr Sarnacki
32dd8d9f93
Mark current_build as experimental
2016-06-22 14:19:31 +02:00
Piotr Sarnacki
659dc4d992
Add current_build to repositories payload
...
This commit adds current_build (which is based on
repositories.current_build_id) to repositories payload. It also adds
ability to sort by current_build.
2016-05-17 14:11:09 +02:00
Piotr Sarnacki
13d9c97501
Revert "Merge pull request #257 from travis-ci/ps-current-build"
...
This reverts commit 52bebad05c
, reversing
changes made to 9d386efa4c
.
2016-05-11 17:13:40 +02:00
Piotr Sarnacki
c9b93982c9
Add current_build to repositories payload
...
current_build is the most recent build that is either completed or
running
2016-05-11 16:55:47 +02:00
carlad
937cc0267a
v3 fix filtering by unstarred and n+1 query
2015-11-25 16:30:42 +01:00
carlad
baa1881bf7
v3 change name of starred_repository to star
2015-11-24 18:59:16 +01:00
carlad
02d3fad23f
v3 refator un/star endpoints
2015-11-20 13:20:03 +01:00
carlad
95ad9a6b56
v3 add starred to standard representation for repo
2015-11-19 19:17:46 +01:00
Konstantin Haase
4cc50009aa
v3: remove repository.last_build
2015-10-08 19:01:03 +02:00
Konstantin Haase
9bdc7b496e
v3: repository - allow rendering minimal default branch without having to fetch the branch from the branches table
2015-10-08 18:53:26 +02:00
Konstantin Haase
2d0bb58e35
v3: minimal represenations should not use data from other tables
2015-10-08 18:45:18 +02:00
carlad
dc7ced1c7f
v3 add :default_branch to minimal representation for repository, update specs
2015-09-14 18:43:26 +02:00
Konstantin Haase
283092ff92
v3: avoid fetching the same repo owner over and over again when rendering a repo list
2015-04-28 22:28:45 +02:00
Konstantin Haase
3730dc74df
API v3: better eager loading and recursion detection for denormalized relations
2015-04-28 18:30:53 +02:00
Konstantin Haase
ae31a57541
v3: add @href to denormalized repository.owner
2015-04-28 18:14:36 +02:00
Konstantin Haase
a3a9f1282a
v3: add ?include=, detect circular dependencies in renderer
2015-03-09 16:56:02 +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
515b815069
v3: properly expose default_branch and last build for that branch in repo payload
2015-02-18 14:14:39 +01:00
Konstantin Haase
7fce1b93f3
v3: add /build/:id endpoint
2015-02-18 13:47:04 +01:00
Konstantin Haase
bc638ccb19
v3: refactor model rendering
2015-02-18 13:11:25 +01:00
Konstantin Haase
32c2d9b0b9
v3: add @href to payloads
2015-02-17 15:48:12 +01:00
Konstantin Haase
3567a759c2
v3: initial stab at request creation api
2015-02-11 10:05:08 +01:00
Konstantin Haase
592320ac4c
v3: last_build can be nil, active should always be a boolean
2015-01-27 17:03:36 +01:00
Konstantin Haase
79a4a9ad13
v3: add repository.active to payload
2015-01-27 14:32:38 +01:00
Konstantin Haase
a6da78ad83
v3: find repos for current user (used for dashboard)
2015-01-23 19:27:01 +01:00
Konstantin Haase
4bc211a2e7
first actually working version of v3
2015-01-20 16:33:11 +01:00