{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://apizie.tech"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/iot:ijenko/account-change-password":{"post":{"operationId":"iot_ijenko_account_change_password","summary":"Change the password","description":"POST /account/change-password","tags":["iot"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/iot:ijenko/account-places":{"get":{"operationId":"iot_ijenko_account_places","summary":"List Places of the Account","description":"GET /account/places","tags":["iot"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/iot:ijenko/account-new-place":{"post":{"operationId":"iot_ijenko_account_new_place","summary":"Create a Place","description":"POST /account/places","tags":["iot"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/iot:ijenko/account-tokens":{"get":{"operationId":"iot_ijenko_account_tokens","summary":"List active Tokens of the Account","description":"GET /account/tokens","tags":["iot"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/iot:ijenko/account-revoke-token":{"post":{"operationId":"iot_ijenko_account_revoke_token","summary":"Revoke a Token","description":"DELETE /account/tokens/{tokenId}","tags":["iot"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["tokenId"],"properties":{"tokenId":{"type":"string","description":"Identifier of the token"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/iot:ijenko/account-users":{"get":{"operationId":"iot_ijenko_account_users","summary":"List Users of the Account","description":"GET /account/users","tags":["iot"],"parameters":[{"name":"embed-metadata","in":"query","required":false,"description":"Request to include the given keys of metadata in the response. If a key doesn't exist on the resource it is ignored. **Note:** This only…","schema":{"type":"array","description":"Request to include the given keys of metadata in the response. If a key doesn't exist on the resource it is ignored. **Note:** This only…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/iot:ijenko/account-new-user":{"post":{"operationId":"iot_ijenko_account_new_user","summary":"New User","description":"POST /account/users","tags":["iot"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/iot:ijenko/account-get-user":{"get":{"operationId":"iot_ijenko_account_get_user","summary":"Information about a User","description":"GET /account/users/{userId}","tags":["iot"],"parameters":[{"name":"userId","in":"query","required":true,"description":"Unique identifier of a *User*.","schema":{"type":"string","description":"Unique identifier of a *User*."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/iot:ijenko/account-patch-user":{"post":{"operationId":"iot_ijenko_account_patch_user","summary":"Modify a User","description":"PATCH /account/users/{userId}","tags":["iot"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["userId","body"],"properties":{"userId":{"type":"string","description":"Unique identifier of a *User*."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/iot:ijenko/account-delete-user":{"post":{"operationId":"iot_ijenko_account_delete_user","summary":"Delete a User","description":"DELETE /account/users/{userId}","tags":["iot"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["userId"],"properties":{"userId":{"type":"string","description":"Unique identifier of a *User*."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/iot:ijenko/user-get-metadata":{"get":{"operationId":"iot_ijenko_user_get_metadata","summary":"List metadata","description":"GET /account/users/{userId}/metadata","tags":["iot"],"parameters":[{"name":"userId","in":"query","required":true,"description":"Unique identifier of a *User*.","schema":{"type":"string","description":"Unique identifier of a *User*."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/iot:ijenko/user-patch-metadata":{"post":{"operationId":"iot_ijenko_user_patch_metadata","summary":"Modify metadata","description":"PATCH /account/users/{userId}/metadata","tags":["iot"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["userId","body"],"properties":{"userId":{"type":"string","description":"Unique identifier of a *User*."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/iot:ijenko/auth-account-login":{"post":{"operationId":"iot_ijenko_auth_account_login","summary":"Get a token using login+password","description":"POST /auth/login","tags":["iot"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/iot:ijenko/auth-refresh-token":{"post":{"operationId":"iot_ijenko_auth_refresh_token","summary":"Refresh a token","description":"POST /auth/refresh","tags":["iot"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/iot:ijenko/auth-reset-password":{"post":{"operationId":"iot_ijenko_auth_reset_password","summary":"Ask for a new password","description":"POST /auth/reset-password","tags":["iot"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/iot:ijenko/auth-revoke-token":{"post":{"operationId":"iot_ijenko_auth_revoke_token","summary":"Revoke a token","description":"POST /auth/revoke","tags":["iot"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/iot:ijenko/devices-get":{"get":{"operationId":"iot_ijenko_devices_get","summary":"Information about a Device","description":"GET /devices/{deviceId}","tags":["iot"],"parameters":[{"name":"deviceId","in":"query","required":true,"description":"Unique identifier of a *Device*.","schema":{"type":"string","description":"Unique identifier of a *Device*."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/iot:ijenko/devices-patch":{"post":{"operationId":"iot_ijenko_devices_patch","summary":"Update a Device","description":"PATCH /devices/{deviceId}","tags":["iot"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["deviceId","body"],"properties":{"deviceId":{"type":"string","description":"Unique identifier of a *Device*."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/iot:ijenko/device-add-functionality":{"post":{"operationId":"iot_ijenko_device_add_functionality","summary":"Add dynamically a functionality","description":"POST /devices/{deviceId}/functionalities","tags":["iot"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["deviceId","body"],"properties":{"deviceId":{"type":"string","description":"Unique identifier of a *Device*."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/iot:ijenko/device-get-metadata":{"get":{"operationId":"iot_ijenko_device_get_metadata","summary":"List metadata","description":"GET /devices/{deviceId}/metadata","tags":["iot"],"parameters":[{"name":"deviceId","in":"query","required":true,"description":"Unique identifier of a *Device*.","schema":{"type":"string","description":"Unique identifier of a *Device*."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/iot:ijenko/device-patch-metadata":{"post":{"operationId":"iot_ijenko_device_patch_metadata","summary":"Modify metadata","description":"PATCH /devices/{deviceId}/metadata","tags":["iot"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["deviceId","body"],"properties":{"deviceId":{"type":"string","description":"Unique identifier of a *Device*."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/iot:ijenko/device-run":{"post":{"operationId":"iot_ijenko_device_run","summary":"Run actions","description":"POST /devices/{deviceId}/run/{action}","tags":["iot"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["deviceId","action","functionalities","body"],"properties":{"deviceId":{"type":"string","description":"Unique identifier of a *Device*."},"action":{"type":"string","description":"Identifier of an *Action* inside a *Functionality*."},"functionalities":{"type":"string","description":"Functionality selector: Functionality tags or functionality class (optionally, '@' followed by a endpoint in decimal) or '*' for all.…"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/iot:ijenko/device-get-tags":{"get":{"operationId":"iot_ijenko_device_get_tags","summary":"List tags","description":"GET /devices/{deviceId}/tags","tags":["iot"],"parameters":[{"name":"deviceId","in":"query","required":true,"description":"Unique identifier of a *Device*.","schema":{"type":"string","description":"Unique identifier of a *Device*."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/iot:ijenko/device-patch-tags":{"post":{"operationId":"iot_ijenko_device_patch_tags","summary":"Modify tags","description":"PATCH /devices/{deviceId}/tags","tags":["iot"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["deviceId","body"],"properties":{"deviceId":{"type":"string","description":"Unique identifier of a *Device*."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/iot:ijenko/functionalities-get":{"get":{"operationId":"iot_ijenko_functionalities_get","summary":"Information about a Functionality","description":"GET /functionalities/{functionalityId}","tags":["iot"],"parameters":[{"name":"functionalityId","in":"query","required":true,"description":"Unique identifier of a *Functionality*.","schema":{"type":"string","description":"Unique identifier of a *Functionality*."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/iot:ijenko/functionality-patch":{"post":{"operationId":"iot_ijenko_functionality_patch","summary":"Modify a Functionality","description":"PATCH /functionalities/{functionalityId}","tags":["iot"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["functionalityId","body"],"properties":{"functionalityId":{"type":"string","description":"Unique identifier of a *Functionality*."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/iot:ijenko/functionality-values":{"get":{"operationId":"iot_ijenko_functionality_values","summary":"Get history of multiple attributes","description":"GET /functionalities/{functionalityId}/attributes","tags":["iot"],"parameters":[{"name":"functionalityId","in":"query","required":true,"description":"Unique identifier of a *Functionality*.","schema":{"type":"string","description":"Unique identifier of a *Functionality*."}},{"name":"names","in":"query","required":false,"description":"One or multiple *Attribute* names separated by commas","schema":{"type":"array","description":"One or multiple *Attribute* names separated by commas"}},{"name":"from","in":"query","required":false,"description":"Beginning of the time interval.","schema":{"type":"string","description":"Beginning of the time interval."}},{"name":"to","in":"query","required":false,"description":"End of the interval. Default: now.","schema":{"type":"string","description":"End of the interval. Default: now."}},{"name":"surround","in":"query","required":false,"description":"If true, return also one value before from and one value after to","schema":{"type":"boolean","description":"If true, return also one value before from and one value after to"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/iot:ijenko/functionality-value":{"get":{"operationId":"iot_ijenko_functionality_value","summary":"Get an Attribute value","description":"GET /functionalities/{functionalityId}/attributes/{attributeName}","tags":["iot"],"parameters":[{"name":"functionalityId","in":"query","required":true,"description":"Unique identifier of a *Functionality*.","schema":{"type":"string","description":"Unique identifier of a *Functionality*."}},{"name":"attributeName","in":"query","required":true,"description":"Identifier of an *Attribute* inside a *Functionality*.","schema":{"type":"string","description":"Identifier of an *Attribute* inside a *Functionality*."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/iot:ijenko/functionality-set":{"post":{"operationId":"iot_ijenko_functionality_set","summary":"Modify an Attribute value","description":"PUT /functionalities/{functionalityId}/attributes/{attributeName}","tags":["iot"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["functionalityId","attributeName","body"],"properties":{"functionalityId":{"type":"string","description":"Unique identifier of a *Functionality*."},"attributeName":{"type":"string","description":"Identifier of an *Attribute* inside a *Functionality*."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/iot:ijenko/functionality-get-metadata":{"get":{"operationId":"iot_ijenko_functionality_get_metadata","summary":"List metadata","description":"GET /functionalities/{functionalityId}/metadata","tags":["iot"],"parameters":[{"name":"functionalityId","in":"query","required":true,"description":"Unique identifier of a *Functionality*.","schema":{"type":"string","description":"Unique identifier of a *Functionality*."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/iot:ijenko/functionality-patch-metadata":{"post":{"operationId":"iot_ijenko_functionality_patch_metadata","summary":"Modify metadata","description":"PATCH /functionalities/{functionalityId}/metadata","tags":["iot"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["functionalityId","body"],"properties":{"functionalityId":{"type":"string","description":"Unique identifier of a *Functionality*."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/iot:ijenko/functionality-run":{"post":{"operationId":"iot_ijenko_functionality_run","summary":"Run an action","description":"POST /functionalities/{functionalityId}/run/{action}","tags":["iot"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["functionalityId","action","body"],"properties":{"functionalityId":{"type":"string","description":"Unique identifier of a *Functionality*."},"action":{"type":"string","description":"Identifier of an *Action* inside a *Functionality*."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/iot:ijenko/functionality-get-tags":{"get":{"operationId":"iot_ijenko_functionality_get_tags","summary":"List tags","description":"GET /functionalities/{functionalityId}/tags","tags":["iot"],"parameters":[{"name":"functionalityId","in":"query","required":true,"description":"Unique identifier of a *Functionality*.","schema":{"type":"string","description":"Unique identifier of a *Functionality*."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/iot:ijenko/functionality-patch-tags":{"post":{"operationId":"iot_ijenko_functionality_patch_tags","summary":"Modify tags","description":"PATCH /functionalities/{functionalityId}/tags","tags":["iot"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["functionalityId","body"],"properties":{"functionalityId":{"type":"string","description":"Unique identifier of a *Functionality*."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/iot:ijenko/me-get":{"get":{"operationId":"iot_ijenko_me_get","summary":"Information about the User","description":"GET /me","tags":["iot"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/iot:ijenko/me-patch":{"post":{"operationId":"iot_ijenko_me_patch","summary":"Update User information","description":"PATCH /me","tags":["iot"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/iot:ijenko/notifications-get":{"get":{"operationId":"iot_ijenko_notifications_get","summary":"Information about a Notification","description":"GET /notifications/{notificationId}","tags":["iot"],"parameters":[{"name":"notificationId","in":"query","required":true,"description":"Unique identifier of a *Notification*.","schema":{"type":"string","description":"Unique identifier of a *Notification*."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/iot:ijenko/notification-patch":{"post":{"operationId":"iot_ijenko_notification_patch","summary":"Modify a Notification","description":"PATCH /notifications/{notificationId}","tags":["iot"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["notificationId","body"],"properties":{"notificationId":{"type":"string","description":"Unique identifier of a *Notification*."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/iot:ijenko/notification-delete":{"post":{"operationId":"iot_ijenko_notification_delete","summary":"Delete a Notification","description":"DELETE /notifications/{notificationId}","tags":["iot"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["notificationId"],"properties":{"notificationId":{"type":"string","description":"Unique identifier of a *Notification*."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/iot:ijenko/notification-get-metadata":{"get":{"operationId":"iot_ijenko_notification_get_metadata","summary":"List metadata","description":"GET /notifications/{notificationId}/metadata","tags":["iot"],"parameters":[{"name":"notificationId","in":"query","required":true,"description":"Unique identifier of a *Notification*.","schema":{"type":"string","description":"Unique identifier of a *Notification*."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/iot:ijenko/notification-patch-metadata":{"post":{"operationId":"iot_ijenko_notification_patch_metadata","summary":"Modify metadata of a Notification","description":"PATCH /notifications/{notificationId}/metadata","tags":["iot"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["notificationId","body"],"properties":{"notificationId":{"type":"string","description":"Unique identifier of a *Notification*."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/iot:ijenko/me-places":{"get":{"operationId":"iot_ijenko_me_places","summary":"List accessible Places","description":"GET /places","tags":["iot"],"parameters":[{"name":"embed-metadata","in":"query","required":false,"description":"Request to include the given keys of metadata in the response. If a key doesn't exist on the resource it is ignored. **Note:** This only…","schema":{"type":"array","description":"Request to include the given keys of metadata in the response. If a key doesn't exist on the resource it is ignored. **Note:** This only…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/iot:ijenko/places-get":{"get":{"operationId":"iot_ijenko_places_get","summary":"Information about a Place","description":"GET /places/{placeId}","tags":["iot"],"parameters":[{"name":"placeId","in":"query","required":true,"description":"Unique identifier of a *Place*.","schema":{"type":"string","description":"Unique identifier of a *Place*."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/iot:ijenko/place-patch":{"post":{"operationId":"iot_ijenko_place_patch","summary":"Update a Place","description":"PATCH /places/{placeId}","tags":["iot"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["placeId","body"],"properties":{"placeId":{"type":"string","description":"Unique identifier of a *Place*."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/iot:ijenko/place-buses":{"get":{"operationId":"iot_ijenko_place_buses","summary":"List Buses","description":"GET /places/{placeId}/buses","tags":["iot"],"parameters":[{"name":"placeId","in":"query","required":true,"description":"Unique identifier of a *Place*.","schema":{"type":"string","description":"Unique identifier of a *Place*."}},{"name":"withPairing","in":"query","required":false,"description":"Filter out buses that have no pairing window","schema":{"type":"boolean","default":false,"description":"Filter out buses that have no pairing window"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/iot:ijenko/place-pairing":{"get":{"operationId":"iot_ijenko_place_pairing","summary":"State of the pairing window","description":"GET /places/{placeId}/buses/{busId}/pairing","tags":["iot"],"parameters":[{"name":"placeId","in":"query","required":true,"description":"Unique identifier of a *Place*.","schema":{"type":"string","description":"Unique identifier of a *Place*."}},{"name":"busId","in":"query","required":true,"description":"Unique identifier of a *Bus*.","schema":{"type":"string","description":"Unique identifier of a *Bus*."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/iot:ijenko/place-open-pairing":{"post":{"operationId":"iot_ijenko_place_open_pairing","summary":"Open/Close the pairing window","description":"PUT /places/{placeId}/buses/{busId}/pairing","tags":["iot"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["placeId","busId","body"],"properties":{"placeId":{"type":"string","description":"Unique identifier of a *Place*."},"busId":{"type":"string","description":"Unique identifier of a *Bus*."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/iot:ijenko/place-devices":{"get":{"operationId":"iot_ijenko_place_devices","summary":"List of Devices","description":"GET /places/{placeId}/devices","tags":["iot"],"parameters":[{"name":"placeId","in":"query","required":true,"description":"Unique identifier of a *Place*.","schema":{"type":"string","description":"Unique identifier of a *Place*."}},{"name":"devices","in":"query","required":false,"description":"Devices selector. Device tags or device classes or device ids or '*' for any. Multiple values are separated by '|' and interpreted as « OR…","schema":{"type":"string","description":"Devices selector. Device tags or device classes or device ids or '*' for any. Multiple values are separated by '|' and interpreted as « OR…"}},{"name":"embed-metadata","in":"query","required":false,"description":"Request to include the given keys of metadata in the response. If a key doesn't exist on the resource it is ignored. **Note:** This only…","schema":{"type":"array","description":"Request to include the given keys of metadata in the response. If a key doesn't exist on the resource it is ignored. **Note:** This only…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/iot:ijenko/place-electricity-autonomy":{"get":{"operationId":"iot_ijenko_place_electricity_autonomy","summary":"Get autonomy rate of the place","description":"GET /places/{placeId}/electricity/autonomy","tags":["iot"],"parameters":[{"name":"placeId","in":"query","required":true,"description":"Unique identifier of a *Place*.","schema":{"type":"string","description":"Unique identifier of a *Place*."}},{"name":"when","in":"query","required":true,"description":"A time part of the time span.","schema":{"type":"string","description":"A time part of the time span."}},{"name":"span","in":"query","required":true,"description":"Timespan: H (hour), D (day), Wmo (week starting on Monday), Wsu (week starting on Sunday), M (month), Y (year)","schema":{"type":"string","enum":["H","D","Wmo","Wsu","M","Y"],"description":"Timespan: H (hour), D (day), Wmo (week starting on Monday), Wsu (week starting on Sunday), M (month), Y (year)"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/iot:ijenko/place-electricity-get-flows":{"get":{"operationId":"iot_ijenko_place_electricity_get_flows","summary":"Get electricity virtual flows","description":"GET /places/{placeId}/electricity/flows","tags":["iot"],"parameters":[{"name":"placeId","in":"query","required":true,"description":"Unique identifier of a *Place*.","schema":{"type":"string","description":"Unique identifier of a *Place*."}},{"name":"flows","in":"query","required":true,"description":"Names of the flows requested","schema":{"type":"array","description":"Names of the flows requested"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/iot:ijenko/place-electricity-get-flows-setup":{"get":{"operationId":"iot_ijenko_place_electricity_get_flows_setup","summary":"Get electricity flows setup","description":"GET /places/{placeId}/electricity/flows/setup","tags":["iot"],"parameters":[{"name":"placeId","in":"query","required":true,"description":"Unique identifier of a *Place*.","schema":{"type":"string","description":"Unique identifier of a *Place*."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/iot:ijenko/place-electricity-self-consumption":{"get":{"operationId":"iot_ijenko_place_electricity_self_consumption","summary":"Get self-consumption rate of the place","description":"GET /places/{placeId}/electricity/self-consumption","tags":["iot"],"parameters":[{"name":"placeId","in":"query","required":true,"description":"Unique identifier of a *Place*.","schema":{"type":"string","description":"Unique identifier of a *Place*."}},{"name":"when","in":"query","required":true,"description":"A time part of the time span.","schema":{"type":"string","description":"A time part of the time span."}},{"name":"span","in":"query","required":true,"description":"Timespan: H (hour), D (day), Wmo (week starting on Monday), Wsu (week starting on Sunday), M (month), Y (year)","schema":{"type":"string","enum":["H","D","Wmo","Wsu","M","Y"],"description":"Timespan: H (hour), D (day), Wmo (week starting on Monday), Wsu (week starting on Sunday), M (month), Y (year)"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/iot:ijenko/place-functionalities":{"get":{"operationId":"iot_ijenko_place_functionalities","summary":"List Functionalities","description":"GET /places/{placeId}/functionalities","tags":["iot"],"parameters":[{"name":"placeId","in":"query","required":true,"description":"Unique identifier of a *Place*.","schema":{"type":"string","description":"Unique identifier of a *Place*."}},{"name":"devices","in":"query","required":false,"description":"Devices selector. Device tags or device classes or device ids or '*' for any. Multiple values are separated by '|' and interpreted as « OR…","schema":{"type":"string","description":"Devices selector. Device tags or device classes or device ids or '*' for any. Multiple values are separated by '|' and interpreted as « OR…"}},{"name":"functionalities","in":"query","required":false,"description":"Functionality selector: Functionality tags or functionality class (optionally, '@' followed by a endpoint in decimal) or '*' for all.…","schema":{"type":"string","description":"Functionality selector: Functionality tags or functionality class (optionally, '@' followed by a endpoint in decimal) or '*' for all.…"}},{"name":"embed-metadata","in":"query","required":false,"description":"Request to include the given keys of metadata in the response. If a key doesn't exist on the resource it is ignored. **Note:** This only…","schema":{"type":"array","description":"Request to include the given keys of metadata in the response. If a key doesn't exist on the resource it is ignored. **Note:** This only…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/iot:ijenko/place-get-metadata":{"get":{"operationId":"iot_ijenko_place_get_metadata","summary":"List metadata","description":"GET /places/{placeId}/metadata","tags":["iot"],"parameters":[{"name":"placeId","in":"query","required":true,"description":"Unique identifier of a *Place*.","schema":{"type":"string","description":"Unique identifier of a *Place*."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/iot:ijenko/place-patch-metadata":{"post":{"operationId":"iot_ijenko_place_patch_metadata","summary":"Modify metadata","description":"PATCH /places/{placeId}/metadata","tags":["iot"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["placeId","body"],"properties":{"placeId":{"type":"string","description":"Unique identifier of a *Place*."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/iot:ijenko/place-notifications":{"get":{"operationId":"iot_ijenko_place_notifications","summary":"List Notifications","description":"GET /places/{placeId}/notifications","tags":["iot"],"parameters":[{"name":"placeId","in":"query","required":true,"description":"Unique identifier of a *Place*.","schema":{"type":"string","description":"Unique identifier of a *Place*."}},{"name":"embed-metadata","in":"query","required":false,"description":"Request to include the given keys of metadata in the response. If a key doesn't exist on the resource it is ignored. **Note:** This only…","schema":{"type":"array","description":"Request to include the given keys of metadata in the response. If a key doesn't exist on the resource it is ignored. **Note:** This only…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/iot:ijenko/place-new-notification":{"post":{"operationId":"iot_ijenko_place_new_notification","summary":"Create a Notification","description":"POST /places/{placeId}/notifications","tags":["iot"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["placeId","body"],"properties":{"placeId":{"type":"string","description":"Unique identifier of a *Place*."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/iot:ijenko/place-programs":{"get":{"operationId":"iot_ijenko_place_programs","summary":"List Programs","description":"GET /places/{placeId}/programs","tags":["iot"],"parameters":[{"name":"placeId","in":"query","required":true,"description":"Unique identifier of a *Place*.","schema":{"type":"string","description":"Unique identifier of a *Place*."}},{"name":"embed-metadata","in":"query","required":false,"description":"Request to include the given keys of metadata in the response. If a key doesn't exist on the resource it is ignored. **Note:** This only…","schema":{"type":"array","description":"Request to include the given keys of metadata in the response. If a key doesn't exist on the resource it is ignored. **Note:** This only…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/iot:ijenko/place-new-program":{"post":{"operationId":"iot_ijenko_place_new_program","summary":"Create a Program","description":"POST /places/{placeId}/programs","tags":["iot"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["placeId","body"],"properties":{"placeId":{"type":"string","description":"Unique identifier of a *Place*."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/iot:ijenko/place-run":{"post":{"operationId":"iot_ijenko_place_run","summary":"Run actions","description":"POST /places/{placeId}/run/{action}","tags":["iot"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["placeId","action","devices","functionalities","body"],"properties":{"placeId":{"type":"string","description":"Unique identifier of a *Place*."},"action":{"type":"string","description":"Identifier of an *Action* inside a *Functionality*."},"devices":{"type":"string","description":"Devices selector. Device tags or device classes or device ids or '*' for any. Multiple values are separated by '|' and interpreted as « OR…"},"functionalities":{"type":"string","description":"Functionality selector: Functionality tags or functionality class (optionally, '@' followed by a endpoint in decimal) or '*' for all.…"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/iot:ijenko/programs-get":{"get":{"operationId":"iot_ijenko_programs_get","summary":"Information about a Program","description":"GET /programs/{programId}","tags":["iot"],"parameters":[{"name":"programId","in":"query","required":true,"description":"Unique identifier of a *Program*.","schema":{"type":"string","description":"Unique identifier of a *Program*."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/iot:ijenko/program-patch":{"post":{"operationId":"iot_ijenko_program_patch","summary":"Modify a Program","description":"PATCH /programs/{programId}","tags":["iot"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["programId","body"],"properties":{"programId":{"type":"string","description":"Unique identifier of a *Program*."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/iot:ijenko/program-delete":{"post":{"operationId":"iot_ijenko_program_delete","summary":"Delete a Program","description":"DELETE /programs/{programId}","tags":["iot"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["programId"],"properties":{"programId":{"type":"string","description":"Unique identifier of a *Program*."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/iot:ijenko/program-log":{"get":{"operationId":"iot_ijenko_program_log","summary":"History of executions of a Program","description":"GET /programs/{programId}/log","tags":["iot"],"parameters":[{"name":"programId","in":"query","required":true,"description":"Unique identifier of a *Program*.","schema":{"type":"string","description":"Unique identifier of a *Program*."}},{"name":"from","in":"query","required":true,"description":"Beginning of the time interval.","schema":{"type":"string","description":"Beginning of the time interval."}},{"name":"to","in":"query","required":false,"description":"End of the interval. Default: now.","schema":{"type":"string","description":"End of the interval. Default: now."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/iot:ijenko/program-get-metadata":{"get":{"operationId":"iot_ijenko_program_get_metadata","summary":"List metadata","description":"GET /programs/{programId}/metadata","tags":["iot"],"parameters":[{"name":"programId","in":"query","required":true,"description":"Unique identifier of a *Program*.","schema":{"type":"string","description":"Unique identifier of a *Program*."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/iot:ijenko/program-patch-metadata":{"post":{"operationId":"iot_ijenko_program_patch_metadata","summary":"Modify metadata of a Program","description":"PATCH /programs/{programId}/metadata","tags":["iot"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["programId","body"],"properties":{"programId":{"type":"string","description":"Unique identifier of a *Program*."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/iot:ijenko/program-run":{"post":{"operationId":"iot_ijenko_program_run","summary":"Run the Program","description":"POST /programs/{programId}/run","tags":["iot"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["programId"],"properties":{"programId":{"type":"string","description":"Unique identifier of a *Program*."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}