From 2cb604951a636fa7a31a2d7232fe8ee2b77cf506 Mon Sep 17 00:00:00 2001 From: Vargha Csongor Date: Tue, 1 Apr 2025 23:17:58 +0200 Subject: [PATCH] rm allow admin property switch to relationship --- api/openapi.json | 35 ++++++++++++++++++++--------------- 1 file changed, 20 insertions(+), 15 deletions(-) diff --git a/api/openapi.json b/api/openapi.json index 71f9eb8..490bf71 100644 --- a/api/openapi.json +++ b/api/openapi.json @@ -1447,21 +1447,6 @@ "PersonProperties": { "type": "object", "properties": { - "allow_admin_access": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "integer" - }, - "name": { - "type": "string" - } - } - }, - "nullable": true - }, "invite_code": { "type": "string", "nullable": true @@ -2160,6 +2145,26 @@ "nullable": true } } + }, + "Admin":{ + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "label": { + "type": "string" + }, + "start": { + "type": "string" + }, + "end": { + "type": "string" + }, + "properties": { + "type": "object" + } + } } } }