Skip to main content

Environment Service

Contains information about your data environments

Environment REST API​

The Environment REST API is a full CRUD API allowing you to search and filter your data environments as well as create, update and delete them. It is accessed through the following URL:

https://api.opendatadsl.com/api/environment

The API consists of the following calls:

MethodPathExampleDescription
GETGet the build information for this service
GET{release}v1List all the environments
GET{release}/{key}v1/TESTRetrieve a single named environment using it’s unique id
POST{release}v1Create or update an environment. The JSON body of the POST request is a simple JSON object with at least an _id property
DELETE{release}/{key}v1/TESTDelete the environment. This completely removes the environment and all the data in it, with its automations. It cannot be done on the production or preview environments
note

The production and preview environments always exist: they are created for you when you list your environments. The number of environments you can create is limited by your tenant's environment quota (see the tenant service's quota function).

Entities​

Environment Entity​

The environment entity contains the following properties

NameDescriptionType
_idUnique id for the data environmentString
nameThe name of the data environmentString
descriptionA description of the data environmentString
_createdByThe user id (email) of the user that created the environmentString
_timestampThe timestamp of when the environment was createdString(DateTime)
_sizeThe size of the stored data in the environmentint