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

marcjansen / shogun2 / 85 / 1
54%
master: 55%

Build:
Build:
LAST BUILD BRANCH: proxy-minors
DEFAULT BRANCH: master
Ran 24 Feb 2017 10:05AM UTC
Files 148
Run time 6s
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

24 Feb 2017 09:50AM UTC coverage: 56.032%. First build
85.1

push

travis-ci

marcjansen
Allow configurable sparse output of REST GET requests

This adds the possibility to optionally get a sparse result from
REST get calls against the abstract REST controller. This can be
usefull if you are not interested in the complete representation
of objects, but only certain fields are important for you.

In order to only get e.g. the fields `name` and `id` of all
entities `TestEntity` (mapped to `/rest/testentity`): the
following request can be used:

    /rest/testentity?output:only=name,id

All other fields of the returned objects will be `null`.

This can be combined with the existing `filter`-API:

    /rest/testentity/filter?id=42&output:only=name,id

The above will give you back the sparse `TestEntity` serialisation
where only the fields `name` and `id` have real values, others are
`null`.

This implementation is backwards compatible for the REST API.

1477 of 2636 relevant lines covered (56.03%)

0.56 hits per line

Source Files on job 85.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 85
  • Travis Job 85.1
  • 692efc5b on github
  • Next Job for on optionally-restrict-rest-output (#91.1)
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