Contains two properties `columns` and `ordering` which represent the selected output columns for the table and column ordering, respectively. Each _column_ in this context corresponds to a `DataConcept`.

- `stats` - link to aggregation data about the `DataField`- `distribution` - link to distribution data for the `DataField`- `concepts` - link to `DataConcept` objects in which this `DataField` is related to

### DataField Values

Returns an array of distinct values for this `DataField`.

#### Schema

```javascript[ { "name": "Value 1", "value": "value1" }, ...]```

#### Endpoints

- `/api/fields/:id/values/` - Unique values for a `DataField`.

**Note:** This endpoint may be used when a datafield is flagged as `searchable` and can same a query parameter `q` for performing searches on the values themselves.

A convention for better search implementations is to override the URL to point to a different resource which supports the same media types.

- `null` _(default)_ - If the vector size exceeds this threshold, the data is down-sampled to a more reasonable size based on the current size of the data. Note, this sampling is now an approximation of the data and information is lost.- `true` - Explicitly cluster the distribution regardless of the size- `false` - Do not cluster

## Client Tools & Interfaces

Having a hypermedia API is great, but without a client to consume it, it is somewhat useless. [Cilantro]http://cbmi.github.com/cilantro/ is Web browser-based client that provides a clean browsable interface for viewing and interacting with the APIs Serrano provides.

## CHANGELOG

2.0.12 [diff]https://github.com/cbmi/serrano/compare/2.0.11...2.0.12

- Add support for user-derived API tokens - Upon successful authentication against the root endpoint, a token will be returned that can be used for subsequent requests.- Add support for Cross-Origin Resource Sharing (CORS) - This includes two new settings `SERRANO_CORS_ENABLED` and `SERRANO_CORS_ORIGIN`.- Add API version to root endpoint for reference. This is derived from themajor and minor version of Serrano, e.g. 2.0.12 -> 20

- Update django-preserialize 1.0 to make use of the `allow_missing` option - This prevents missing keys or attributes from throwing an exception- Add `DataConcept.sortable` field from Avocado 2.0.8+

2.0.5 [diff]https://github.com/cbmi/serrano/compare/2.0.4...2.0.5

- #21 - Fix the `ExporterResource` to use the `DjangoJSONEncoder` to correctly handle datetimes and `Decimal`s

2.0.4 [diff]https://github.com/cbmi/serrano/compare/2.0.3...2.0.4

- Change behavior of `DataContextResource` to recalculate count only [if at least one condition is present]https://github.com/cbmi/serrano/commit/a774621a2788f8b2736e6a5675d5ba6bdeb4163e- Integrate history API settings from Avocado 2.0.7+ - Instances are no longer auto-archived, but [are conditional]https://github.com/cbmi/serrano/commit/73d5ba5a44a5f06ea7342a5f627dc71b621aa09b based the `HISTORY_ENABLED` setting

2.0.3 [diff]https://github.com/cbmi/serrano/compare/2.0.2...2.0.3

- Fix incorrect use of `sys.version_info`

2.0.2 [diff]https://github.com/cbmi/serrano/compare/2.0.1...2.0.2

- Add Python 2.6 support

2.0.1 [diff]https://github.com/cbmi/serrano/compare/2.0.0...2.0.1

- Fix erroneous reset of kwargs in `DataContextResource` and `DataViewResource`