• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

MediaComem / biopocket-backend / 153
92%
master: 92%

Build:
Build:
LAST BUILD BRANCH: story-2-user-registration
DEFAULT BRANCH: master
Ran 01 Jun 2018 07:59AM UTC
Jobs 2
Files 68
Run time 23s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
153

Pull #19

travis-ci

web-flow
Add new API route to retrieve single action

Add a new GET /api/actions/:id route to the API that allows users to retrieve
a single Action based on its ID.
This route implements the `only`/`except` pattern to whitelist/blacklist
properties.

Update the documentation to reflect the new API route.
The previous Action model has been split into two models : an
Action model that lists all the properties that a complete Action
can have (that includes all its relations), and an ActionPartial model
that inherits Action but overrides properties that are optionnal.
This ActionPartial model is used for example in the GET /api/locations
route to indicates that the relation properties (like theme) are only
present when explicitly asked for using the `include` query parameter.

Fix some responses examples in the documentation that were missing
metadata.

Add tests for the new route.
Update existing test methods for better understanding.

Fix some misc issue, documentation and typo.

STORY : TG-55

Fixed issue and missing documentation

Fixed typo

Enhance readability of asynchronicity

Enhance readability on test

Fixed bad naming and enhance readability

Added a new route to retrieve a single location

Also added tests for this new route.

Added documentation for the API route

Fix missing headers in some responses examples.

Created two models for Action : one which have all properties, and
another, with inherits the first, that overrides properties that are
optional.
Pull Request #19: Add new API route to retrieve single action

461 of 567 branches covered (81.31%)

Branch coverage included in aggregate %.

55 of 55 new or added lines in 10 files covered. (100.0%)

1994 of 2083 relevant lines covered (95.73%)

82.07 hits per line

Jobs
ID Job ID Ran Files Coverage
1 153.1 (NODE_ENV=test SESSION_SECRET=secret) 01 Jun 2018 07:59AM UTC 0
92.64
Travis Job 153.1
2 153.2 (NODE_ENV=test SESSION_SECRET=secret) 01 Jun 2018 07:59AM UTC 0
92.72
Travis Job 153.2
Source Files on build 153
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #153
  • Pull Request #19
  • PR Base - add-actions-route (#150)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc