Cubit Plants API Attributes (v2)

Download OpenAPI specification:

This part describes available endpoints to control attributes for Plant objects

PlantsApiAttributes

/v2/plants-api/attributes/add

Authorizations:
Bearer
Request Body schema: application/json
meteringPointIds
Array of strings
attribute
string

Responses

Request samples

Content type
application/json
{
  • "meteringPointIds": [
    ],
  • "attribute": "string"
}

Response samples

Content type
application/json
{
  • "modifiedMeteringPoints": [
    ]
}

/v2/plants-api/attributes/removeAll

Authorizations:
Bearer
Request Body schema: application/json
meteringPointIds
Array of strings

Responses

Request samples

Content type
application/json
{
  • "meteringPointIds": [
    ]
}

Response samples

Content type
application/json
{
  • "modifiedMeteringPoints": [
    ]
}

/v2/plants-api/attributes/{meteringPointId}

Authorizations:
Bearer
path Parameters
meteringPointId
required
string

Responses

Response samples

Content type
application/json
{
  • "attributes": [
    ]
}

/v2/plants-api/attributes/remove

Authorizations:
Bearer
Request Body schema: application/json
meteringPointIds
Array of strings
attribute
string

Responses

Request samples

Content type
application/json
{
  • "meteringPointIds": [
    ],
  • "attribute": "string"
}

Response samples

Content type
application/json
{
  • "modifiedMeteringPoints": [
    ]
}