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

MediaComem / biopocket-backend
93%
master: 92%

Build:
Build:
LAST BUILD BRANCH: story-2-user-registration
DEFAULT BRANCH: master
Repo Added 30 Nov 2017 09:56AM UTC
Files 96
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

LAST BUILD ON BRANCH story-55-action-description
branch: story-55-action-description
CHANGE BRANCH
x
Reset
  • story-55-action-description
  • add-actions-route
  • add-theme-and-action
  • bbox-padding
  • cors-origin
  • data-utils
  • database-diagram
  • db-sync
  • document-api-error
  • email-fixture-whitespace-fix
  • eslint
  • github-pages
  • images-and-action-impact
  • master
  • method-not-allowed
  • query-builder
  • serialize-bookshelf-collections
  • sprint-1-discovering-biodiversity
  • sprint-2-discovering-actions
  • sprint-2-tmp
  • sprint-3-engage-in-an-action
  • start-e2e-npm-script
  • story-103-scripts-documentation
  • story-2-user-registration
  • story-56-view-themes
  • task-85-autotest
  • task-create-location-migration
  • task-locations-bbox-filter
  • task-locations-crud
  • task-locations-crud-create
  • update-subscription
  • upgrade
  • user-registration
  • v0.1.0
  • v0.2.0
  • v0.2.1

pending completion
173

push

travis-ci

Tazaf
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

463 of 571 branches covered (81.09%)

Branch coverage included in aggregate %.

2010 of 2100 relevant lines covered (95.71%)

65.62 hits per line

Relevant lines Covered
Build:
Build:
2100 RELEVANT LINES 2010 COVERED LINES
65.62 HITS PER LINE
Source Files on story-55-action-description
  • List 0
  • Changed 28
  • Source Changed 17
  • Coverage Changed 26
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
173 story-55-action-description 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. Updat... push 05 Jun 2018 08:33AM UTC Tazaf travis-ci pending completion  
166 story-55-action-description Fixed requested changes. Pull #20 04 Jun 2018 12:16PM UTC web-flow travis-ci pending completion  
164 story-55-action-description Add new API route to retrieve single Theme Add a new GET /api/themes/:id route that allows user to retrieve a single Theme based on its ID. This route implements the `only`/`except` pattern. Update the documentation to reflect this new route. R... Pull #20 01 Jun 2018 04:03PM UTC web-flow travis-ci pending completion  
160 story-55-action-description 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. Updat... push 01 Jun 2018 03:36PM UTC Tazaf travis-ci pending completion  
155 story-55-action-description Fix requested changes push 01 Jun 2018 02:06PM UTC Tazaf travis-ci pending completion  
152 story-55-action-description 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. Updat... push 01 Jun 2018 07:56AM UTC Tazaf travis-ci pending completion  
See All Builds (278)
  • Repo on GitHub
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

© 2025 Coveralls, Inc