diff --git a/doc/SWAGGER.md b/doc/SWAGGER.md index 775c417..4ac66b0 100644 --- a/doc/SWAGGER.md +++ b/doc/SWAGGER.md @@ -5,14 +5,18 @@ ## $user/fetch/devices ### /in + FetchSavedDevicesTask + ```json lines { "id": String } ``` ### /out + FetchSavedDevicesTaskResult + ```json lines { "tid": String, @@ -25,7 +29,9 @@ FetchSavedDevicesTaskResult ## $user/property ### /in + PutDevicePropertyTask + ```json lines { "id": String, @@ -34,8 +40,11 @@ PutDevicePropertyTask "value": Int } ``` + ### /out + PutDevicePropertyTaskResult + ```json lines { "tid": String, @@ -46,16 +55,22 @@ PutDevicePropertyTaskResult ``` ## $user/fetch/props + ### /in + FetchDevicesPropertiesTask + ```json lines { "id": String, "include": List?, } ``` + ### /out + FetchDevicesPropertiesTaskResult + ```json lines { "tid": String, @@ -66,8 +81,11 @@ FetchDevicesPropertiesTaskResult ``` ## $user/save + ### /in + SaveDeviceTask + ```json lines { "id": String, @@ -76,8 +94,11 @@ SaveDeviceTask "alias": String? } ``` + ### /out + SaveDeviceTaskResult + ```json lines { "tid": String, @@ -89,14 +110,19 @@ SaveDeviceTaskResult ## $user/search ### /in + SearchDevicesTask + ```json lines { "id": String } ``` + ### /out + SearchDevicesTaskResult + ```json lines { "tid": String,