---
title: "GET /operations/{operationId}"
method: GET
path: "/operations/{operationId}"
tags: ["Operations"]
deprecated: true
---

# GET /operations/{operationId}

`GET /operations/{operationId}`

> **Deprecated.**

Get operation by id.

## Path parameters

- `operationId` string, required

## Response `200`

Operation.

- Operation — Represents an operation in the system. An operation is a set of activities to do. For example, to turn on all home light operation sets an array of activity for each light in the home to set light status 'on'.
  - `operationId` string, required — Operation unique id.
  - `operationName` string, required — Operation display name.
  - `activities` OperationActivity[], required — Activities array.
    - `minionId` string, required — Minion id to set
    - `minionStatus` MinionStatus, required — Minion status, the available values depend on the minion type.
      - `toggle` Toggle — A toggle value, the toggle is on way communicated device, For example wall light switches with 433 RF that can turn on or off but there is no way to know the real light status if someone changes the light status using physical switch.
        - `status` 'on' | 'off', required — Switches option
      - `switch` Switch — A switch status. Used for simple devices that can be turned on or off. *and minion status is readable* The properties same as a toggle, and the difference is logic only (if that status is readable or not).
        - `status` 'on' | 'off', required — Switches option
      - `roller` Roller — A roller switch status. A roller is a switch for curtains or blinds (or for any other needs) that can drag up/down or stop.
        - `status` 'on' | 'off', required — Switches option
        - `direction` 'up' | 'down', required — Roller direction
      - `cleaner` Cleaner — A Cleaner (robot) status. Cleaner is a smart robot for cleaning home.
        - `status` 'on' | 'off', required — Switches option
        - `mode` 'dock' | 'clean', required — Cleaner mode
        - `fanSpeed` 'low' | 'med' | 'high' | 'auto', required — Valid fan strength.
      - `airConditioning` AirConditioning — An AC status.
        - `status` 'on' | 'off', required — Switches option
        - `temperature` integer, required — Valid AC temperature. (minimum 16° maximum 30°).
        - `mode` 'hot' | 'cold' | 'dry' | 'auto', required — Valid AC mode.
        - `fanStrength` 'low' | 'med' | 'high' | 'auto', required — Valid fan strength.
      - `light` Light — A simple light status. Used to devices that can chang it's brightness.
        - `status` 'on' | 'off', required — Switches option
        - `brightness` integer, required — Minimum 1% maximum 100% of light brightness.
      - `temperatureLight` TemperatureLight — A light simple light status. Used to devices that can chang also light temperature (warm or cold light).
        - `status` 'on' | 'off', required — Switches option
        - `brightness` integer, required — Minimum 1% maximum 100% of light brightness.
        - `temperature` integer, required — Spectrum is 1% to warm light and 100% to cold light.
      - `colorLight` ColorLight — A light simple light status. Used to devices that can change also light color (RGB).
        - `status` 'on' | 'off', required — Switches option
        - `brightness` integer, required — Minimum 1% maximum 100% of light brightness.
        - `temperature` integer, required — Spectrum is 1% to warm light and 100% to cold light.
        - `red` integer, required — Minimum 0 maximum 255 from red color. Valid color value. (8 bits number, minimum 0 maximum 255).
        - `green` integer, required — Minimum 0 maximum 255 from green color. Valid color value. (8 bits number, minimum 0 maximum 255).
        - `blue` integer, required — Minimum 0 maximum 255 from blue color. Valid color value. (8 bits number, minimum 0 maximum 255).
      - `temperatureSensor` TemperatureSensor
        - `status` 'on' | 'off', required — Switches option
        - `temperature` number, double, required — Temperature in celsius (X°)

## Other responses

- `501` — Server error

---

[API](https://skmtc.net/casanet/apis/casanet-local-server.md) · [All operations](https://skmtc.net/casanet/apis/casanet-local-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/casanet/casanet-local-server/versions/0f9f76cd80d5/schema)
