Domains

Your content root holds one folder per domain. The folder is named for the domain it answers on, and holds all of that domain's data: its collections, its users, and its endpoints.

<datahoster-config-contentRoot>/
  api.example.com/              one domain
    datahoster-collections/   its collections
    datahoster-users/         its users
    datahoster-endpoints/     its endpoints
  shop.example.com/             another domain
One folder per domain, each holding its collections, users and endpoints.

Contents

Each top-level folder in your content root is one domain, named for the domain it serves. Inside it, three subfolders hold what you author.

NameTypeDescription
datahoster-collections/directoryThe domain's collections, one folder per collection.
datahoster-users/directoryThe domain's users, one JSON file per user.
datahoster-endpoints/directoryThe domain's endpoints, one folder per endpoint.