From c9bd28c5ea55f347f450bb92151d675f56e24641 Mon Sep 17 00:00:00 2001 From: Julio SANTILARIO BERTHILIER <62715763+jujusb@users.noreply.github.com> Date: Fri, 26 Sep 2025 15:03:42 +0200 Subject: [PATCH] update api for sandbox --- api.yaml | 7 +++++++ openapi.json | 11 ++++++++++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/api.yaml b/api.yaml index 3681655a..4052f9eb 100755 --- a/api.yaml +++ b/api.yaml @@ -57,6 +57,7 @@ paths: get: tags: - admins + - teachers summary: gets the list of users. operationId: getUsers description: | @@ -2519,6 +2520,9 @@ components: name: type: string example: "Test group for School" + sandbox: + type: boolean + example: true owners: type: array items: @@ -2561,6 +2565,9 @@ components: allocator: type: string example: ObjectId("5d07a0767c1405004bc702af") + sandbox: + type: string + example: ObjectId("5d07a0767c1405004bc702af") groups: type: array items: diff --git a/openapi.json b/openapi.json index d19d13ed..f5bb5834 100755 --- a/openapi.json +++ b/openapi.json @@ -76,7 +76,8 @@ "/users": { "get": { "tags": [ - "admins" + "admins", + "teachers" ], "summary": "gets the list of users.", "operationId": "getUsers", @@ -3795,6 +3796,10 @@ "type": "string", "example": "Test group for School" }, + "sandbox": { + "type": "boolean", + "example": true + }, "owners": { "type": "array", "items": { @@ -3852,6 +3857,10 @@ "type": "string", "example": "ObjectId(\"5d07a0767c1405004bc702af\")" }, + "sandbox": { + "type": "string", + "example": "ObjectId(\"5d07a0767c1405004bc702af\")" + }, "groups": { "type": "array", "items": {