List all service properties of devices in an environment.

Details

List all service properties of devices in an environment.

If the property is not implemented on a device within an environment, that device is skipped.

An account token, server token, or user token may be used to run this endpoint.

Parameters

path

Responses

200

{
    "items": [
        {
            "ecosystemId": "ECOSYSTEM-ID",
            "id": "ENVIRONMENT-ID",
            "index": "SERVICE-INDEX",
            "modifiedAt": "YYYY-MM-DD HH:MM:SS ENCODED",
            "property": "SERVICE-PROPERTY-NAME",
            "service": "SERVICE-NAME",
            "value": "SERVICE-PROPERTY-VALUE"
        }
    ]
}

400

  • Environment Invalid: The standard error structure defines this error as invalid parameters, with an invalid ID linked to the parameter that designates the environment ID. In this context, it means that the ID given for an environment was not valid.
  • No Query String Allowed: The standard error structure defines this error as invalid parameters, with additional parameters in the query string. In this context, it means that no query string is allowed at all when calling this endpoint.

404

  • Environment Not Found: This error means that an environment with the given ID was not found. This is distinct from an invalid environment ID being specified; this means that the environment ID once existed, but no longer does.

Examples

HTTP

GET https://ioe.droplit.io/api/environments/ENVIRONMENT-ID/services HTTP/1.1
authorization: TOKEN

Droplit Console

droplit environment get-all ENVIRONMENT-ID

Droplit SDK

droplit.environments.getAllServiceProperties("ENVIRONMENT-ID");
Language
Credentials
Header
Click Try It! to start a request and see the response here!