{ "openapi": "3.1.0", "info": { "title": "User status", "version": "1.7.0", "description": "User status", "license": { "name": "agpl", "identifier": "AGPL-3.0" } }, "paths": { "/ocs/v2.php/apps/user_status/api/v1/statuses": { "get": { "operationId": "statuses-findall-TODO", "tags": [ "user_status" ], "parameters": [ { "name": "limit", "in": "query", "required": false, "schema": { "type": "integer" } }, { "name": "offset", "in": "query", "required": false, "schema": { "type": "integer" } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/ocs/v2.php/apps/user_status/api/v1/statuses/{userId}": { "parameters": [ { "name": "userId", "in": "path", "required": true, "schema": { "type": "string" } } ], "get": { "operationId": "statuses-find-TODO", "tags": [ "user_status" ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/ocs/v2.php/apps/user_status/api/v1/user_status": { "get": { "operationId": "userstatus-getstatus-TODO", "tags": [ "user_status" ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/ocs/v2.php/apps/user_status/api/v1/user_status/status": { "put": { "operationId": "userstatus-setstatus-TODO", "tags": [ "user_status" ], "parameters": [ { "name": "statusType", "in": "query", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/ocs/v2.php/apps/user_status/api/v1/user_status/message/predefined": { "put": { "operationId": "userstatus-setpredefinedmessage-TODO", "tags": [ "user_status" ], "parameters": [ { "name": "messageId", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "clearAt", "in": "query", "required": false, "schema": { "type": "integer" } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/ocs/v2.php/apps/user_status/api/v1/user_status/message/custom": { "put": { "operationId": "userstatus-setcustommessage-TODO", "tags": [ "user_status" ], "parameters": [ { "name": "statusIcon", "in": "query", "required": false, "schema": { "type": "string" } }, { "name": "message", "in": "query", "required": false, "schema": { "type": "string" } }, { "name": "clearAt", "in": "query", "required": false, "schema": { "type": "integer" } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/ocs/v2.php/apps/user_status/api/v1/user_status/message": { "delete": { "operationId": "userstatus-clearmessage-TODO", "tags": [ "user_status" ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/ocs/v2.php/apps/user_status/api/v1/user_status/revert/{messageId}": { "parameters": [ { "name": "messageId", "in": "path", "required": true, "schema": { "type": "string" } } ], "delete": { "operationId": "userstatus-revertstatus-TODO", "tags": [ "user_status" ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/ocs/v2.php/apps/user_status/api/v1/predefined_statuses": { "get": { "operationId": "predefinedstatus-findall-TODO", "tags": [ "user_status" ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/ocs/v2.php/apps/user_status/api/v1/heartbeat": { "put": { "operationId": "heartbeat-heartbeat-TODO", "tags": [ "user_status" ], "parameters": [ { "name": "status", "in": "query", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } } } }