class
Analyzer::Specification::Directus
- Analyzer::Specification::Directus
- Analyzer
- Reference
- Object
Overview
Directus serves every user collection in the snapshot at
/items/<collection>, with the item-level verbs on
/items/<collection>/<id> and singletons on
/items/<collection>/singleton.
Included Modules
Defined in:
analyzer/analyzers/specification/directus.crConstant Summary
-
FIELD_TYPE_HINTS =
{"string" => "string", "text" => "string", "uuid" => "string", "hash" => "string", "csv" => "array", "json" => "object", "integer" => "int", "biginteger" => "int", "float" => "number", "decimal" => "number", "boolean" => "boolean", "datetime" => "datetime", "date" => "datetime", "time" => "datetime", "timestamp" => "datetime"} -
MAX_FILTER_PARAMS =
25 -
A wide collection would otherwise contribute hundreds of filter params to a single endpoint.
-
NON_DATA_SPECIALS =
{"alias", "no-data", "o2m", "m2m", "m2a", "group", "translations", "files"} -
Relational and presentational fields are not columns - they carry no writable value on the item itself.
-
SYSTEM_PREFIX =
"directus_" -
Directus' system tables are always present and are not part of the project's own surface.
-
TAG_SOURCE =
"directus_analyzer"