-
-
-
-
-
{
- setViewing(undefined);
- setPage(Pagination.current);
- setSearchParams({ tab, page: Pagination.current });
- }}
- pagination={{ current: page ? page : 1 }}
- >
+
+
+
Welcome Content Creator
+
+
{
+ setTab(activeKey);
+ setPage(1);
+ setViewing(undefined);
+ setSearchParams({ tab: activeKey });
+ }}
+ activeKey={tab ? tab : 'home'}
+ >
+
+
+
+
+
+
+
+
{
+ setViewing(undefined);
+ setPage(Pagination.current);
+ setSearchParams({ tab, page: Pagination.current });
+ }}
+ pagination={{ current: page ? page : 1 }}
+ >
+
+
+
+ {gradeList.map((grade) => {
+ return setTabs(grade);
+ })}
+
+
+
+
+
+
+
+
+
+
+
+
-
);
- };
-
- return (
-
-
-
Welcome Content Creator
-
-
{
- setTab(activeKey);
- setPage(1);
- setViewing(undefined);
- setSearchParams({ tab: activeKey });
- }}
- activeKey={tab ? tab : 'home'}
- >
-
-
-
-
-
-
-
-
{
- setViewing(undefined);
- setPage(Pagination.current);
- setSearchParams({ tab, page: Pagination.current });
- }}
- pagination={{ current: page ? page : 1 }}
- >
-
-
-
- {gradeList.map((grade) => {
- return setTabs(grade);
- })}
-
-
-
-
-
-
- );
-}
+}
\ No newline at end of file
diff --git a/client/src/views/Gallery/Gallery.jsx b/client/src/views/Gallery/Gallery.jsx
new file mode 100644
index 000000000..9a219ef87
--- /dev/null
+++ b/client/src/views/Gallery/Gallery.jsx
@@ -0,0 +1,67 @@
+import React from "react"
+import NavBar from "../../components/NavBar/NavBar"
+import Search from "../../components/Search/Search"
+import GalleryView from "../../components/GalleryView/GalleryView"
+import "./Gallery.less"
+import { useSearchParams } from 'react-router-dom';
+import { useState } from "react";
+
+export default function Gallery() {
+ const [searchParams, setSearchParams] = useSearchParams();
+ const [privacySetting, setPrivacy] = useState("Public")
+ // useState() to allow the filterText to be updated when input is typed
+ const [filterText, setFilterText] = useState('');
+
+ // Function to update filterText called in Search
+ function filterUpdate(value) {
+ setFilterText(value.target.value);
+ }
+
+ const [tab, setTab] = useState(
+ searchParams.has('tab') ? searchParams.get('tab') : 'home'
+ );
+ const [page, setPage] = useState(
+ searchParams.has('page') ? parseInt(searchParams.get('page')) : 1
+ );
+ const [viewing, setViewing] = useState(parseInt(searchParams.get('activity')));
+
+ const handlePublicButton = () => {
+ setPrivacy("Public");
+ alert("Displaying only Public projects");
+ }
+ const handleClassroomButton = () => {
+ setPrivacy("Classroom");
+ alert("Displaying only Classroom projects");
+ }
+ const handleOrganizationButton = () => {
+ setPrivacy("Organization");
+ alert("Displaying only Organization projects");
+ }
+
+ return (
+
+
+
+
+
+ Public
+ Classroom
+ Organization
+
+
+
+
+
+ )
+
+}
diff --git a/client/src/views/Gallery/gallery.less b/client/src/views/Gallery/gallery.less
new file mode 100644
index 000000000..b39c415d9
--- /dev/null
+++ b/client/src/views/Gallery/gallery.less
@@ -0,0 +1,66 @@
+@import "../../assets/style.less";
+
+.container {
+ background-color: #colors[primary];
+ height: 100%;
+ min-height: 100vh;
+ width: 100%;
+ min-width: 100vw;
+ text-align: center;
+}
+
+#gallery-content-container {
+ margin: 5vh auto 5vh auto;
+ padding: 5vh 5vw;
+ width: 80vw;
+ background: #colors[tertiary];
+ border-radius: 20px;
+ border: 2px solid #colors[secondary];
+
+ button {
+ background: #d7d7d7;
+ color: #3b3b3b;
+ padding: 0.6rem 1rem;
+ font-size: 0.8rem;
+ border: solid 1px #c7c7c7;
+ margin: 1rem 1rem;
+ box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
+ border-radius: 10px;
+ outline: none;
+ }
+
+ #logos {
+ width: 50vw;
+ margin: auto;
+
+ img {
+ width: 20%;
+ height: auto;
+ margin: auto;
+ }
+ }
+
+ #title {
+ font-size: 3em;
+ color: #colors[text-primary];
+ margin-bottom: 0;
+ }
+
+ #secondary-title {
+ font-size: 2em;
+ color: #colors[text-primary];
+ }
+
+ #divider {
+ width: 95%;
+ height: 0;
+ margin: 5vh 0;
+ border-bottom: 1px solid #colors[secondary];
+ opacity: 20%;
+ }
+
+ p {
+ font-size: 1.5em;
+ color: #colors[text-primary];
+ }
+}
diff --git a/client/src/views/Liked/Liked.jsx b/client/src/views/Liked/Liked.jsx
new file mode 100644
index 000000000..c29accd1a
--- /dev/null
+++ b/client/src/views/Liked/Liked.jsx
@@ -0,0 +1,35 @@
+import React from "react"
+import NavBar from "../../components/NavBar/NavBar"
+import Search from "../../components/Search/Search"
+import GalleryView from "../../components/GalleryView/GalleryView"
+import LikedView from "../../components/LikedView/LikedView"
+import "./liked.less"
+import { useSearchParams } from 'react-router-dom';
+import { useState } from "react";
+
+export default function Gallery(props) {
+ const [searchParams, setSearchParams] = useSearchParams();
+
+ const [tab, setTab] = useState(
+ searchParams.has('tab') ? searchParams.get('tab') : 'home'
+ );
+ const [page, setPage] = useState(
+ searchParams.has('page') ? parseInt(searchParams.get('page')) : 1
+ );
+ const [viewing, setViewing] = useState(parseInt(searchParams.get('activity')));
+
+ return (
+
+ )
+}
diff --git a/client/src/views/Liked/liked.less b/client/src/views/Liked/liked.less
new file mode 100644
index 000000000..8a41ce6fb
--- /dev/null
+++ b/client/src/views/Liked/liked.less
@@ -0,0 +1,54 @@
+@import "../../assets/style.less";
+
+.container {
+ background-color: #colors[primary];
+ height: 100%;
+ min-height: 100vh;
+ width: 100%;
+ min-width: 100vw;
+ text-align: center;
+}
+
+#liked-content-container {
+ margin: 5vh auto 5vh auto;
+ padding: 5vh 5vw;
+ width: 80vw;
+ background: #colors[tertiary];
+ border-radius: 20px;
+ border: 2px solid #colors[secondary];
+
+ #logos {
+ width: 50vw;
+ margin: auto;
+
+ img {
+ width: 20%;
+ height: auto;
+ margin: auto;
+ }
+ }
+
+ #title {
+ font-size: 3em;
+ color: #colors[text-primary];
+ margin-bottom: 0;
+ }
+
+ #secondary-title {
+ font-size: 2em;
+ color: #colors[text-primary];
+ }
+
+ #divider {
+ width: 95%;
+ height: 0;
+ margin: 5vh 0;
+ border-bottom: 1px solid #colors[secondary];
+ opacity: 20%;
+ }
+
+ p {
+ font-size: 1.5em;
+ color: #colors[text-primary];
+ }
+}
diff --git a/server/api/activity/documentation/1.0.0/activity.json b/server/api/activity/documentation/1.0.0/activity.json
index db4ad1752..1ac7a2230 100644
--- a/server/api/activity/documentation/1.0.0/activity.json
+++ b/server/api/activity/documentation/1.0.0/activity.json
@@ -886,6 +886,52 @@
},
"activity_template": {
"type": "string"
+ },
+ "galleries": {
+ "type": "array",
+ "items": {
+ "required": [
+ "id"
+ ],
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "activity": {
+ "type": "string"
+ },
+ "unit": {
+ "type": "string"
+ },
+ "users_permissions_user": {
+ "type": "string"
+ },
+ "classroom": {
+ "type": "string"
+ },
+ "gallery": {
+ "type": "string"
+ },
+ "submission": {
+ "type": "string"
+ },
+ "lesson_module": {
+ "type": "string"
+ },
+ "published_at": {
+ "type": "string"
+ },
+ "created_by": {
+ "type": "string"
+ },
+ "updated_by": {
+ "type": "string"
+ }
+ }
+ }
}
}
},
@@ -931,6 +977,12 @@
"activity_template": {
"type": "string"
},
+ "galleries": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
"created_by": {
"type": "string"
},
diff --git a/server/api/activity/models/activity.settings.json b/server/api/activity/models/activity.settings.json
index 209d8ff4e..8fc2e90ea 100644
--- a/server/api/activity/models/activity.settings.json
+++ b/server/api/activity/models/activity.settings.json
@@ -46,6 +46,10 @@
"activity_template": {
"type": "text",
"required": false
+ },
+ "galleries": {
+ "via": "activity",
+ "collection": "gallery"
}
}
}
diff --git a/server/api/gallery/config/routes.json b/server/api/gallery/config/routes.json
new file mode 100644
index 000000000..523fe444b
--- /dev/null
+++ b/server/api/gallery/config/routes.json
@@ -0,0 +1,52 @@
+{
+ "routes": [
+ {
+ "method": "GET",
+ "path": "/galleries",
+ "handler": "gallery.find",
+ "config": {
+ "policies": []
+ }
+ },
+ {
+ "method": "GET",
+ "path": "/galleries/count",
+ "handler": "gallery.count",
+ "config": {
+ "policies": []
+ }
+ },
+ {
+ "method": "GET",
+ "path": "/galleries/:id",
+ "handler": "gallery.findOne",
+ "config": {
+ "policies": []
+ }
+ },
+ {
+ "method": "POST",
+ "path": "/galleries",
+ "handler": "gallery.create",
+ "config": {
+ "policies": []
+ }
+ },
+ {
+ "method": "PUT",
+ "path": "/galleries/:id",
+ "handler": "gallery.update",
+ "config": {
+ "policies": []
+ }
+ },
+ {
+ "method": "DELETE",
+ "path": "/galleries/:id",
+ "handler": "gallery.delete",
+ "config": {
+ "policies": []
+ }
+ }
+ ]
+}
diff --git a/server/api/gallery/controllers/gallery.js b/server/api/gallery/controllers/gallery.js
new file mode 100644
index 000000000..e86089539
--- /dev/null
+++ b/server/api/gallery/controllers/gallery.js
@@ -0,0 +1,8 @@
+'use strict';
+
+/**
+ * Read the documentation (https://strapi.io/documentation/developer-docs/latest/development/backend-customization.html#core-controllers)
+ * to customize this controller
+ */
+
+module.exports = {};
diff --git a/server/api/gallery/documentation/1.0.0/gallery.json b/server/api/gallery/documentation/1.0.0/gallery.json
new file mode 100644
index 000000000..1c3ee51ce
--- /dev/null
+++ b/server/api/gallery/documentation/1.0.0/gallery.json
@@ -0,0 +1,924 @@
+{
+ "paths": {
+ "/galleries": {
+ "get": {
+ "deprecated": false,
+ "description": "",
+ "responses": {
+ "200": {
+ "description": "response",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Gallery"
+ }
+ }
+ }
+ }
+ },
+ "403": {
+ "description": "Forbidden",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "Not found",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ }
+ }
+ }
+ },
+ "default": {
+ "description": "unexpected error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ }
+ }
+ }
+ }
+ },
+ "summary": "",
+ "tags": [
+ "Gallery"
+ ],
+ "parameters": [
+ {
+ "name": "_limit",
+ "in": "query",
+ "required": false,
+ "description": "Maximum number of results possible",
+ "schema": {
+ "type": "integer"
+ },
+ "deprecated": false
+ },
+ {
+ "name": "_sort",
+ "in": "query",
+ "required": false,
+ "description": "Sort according to a specific field.",
+ "schema": {
+ "type": "string"
+ },
+ "deprecated": false
+ },
+ {
+ "name": "_start",
+ "in": "query",
+ "required": false,
+ "description": "Skip a specific number of entries (especially useful for pagination)",
+ "schema": {
+ "type": "integer"
+ },
+ "deprecated": false
+ },
+ {
+ "name": "=",
+ "in": "query",
+ "required": false,
+ "description": "Get entries that matches exactly your input",
+ "schema": {
+ "type": "string"
+ },
+ "deprecated": false
+ },
+ {
+ "name": "_ne",
+ "in": "query",
+ "required": false,
+ "description": "Get records that are not equals to something",
+ "schema": {
+ "type": "string"
+ },
+ "deprecated": false
+ },
+ {
+ "name": "_lt",
+ "in": "query",
+ "required": false,
+ "description": "Get record that are lower than a value",
+ "schema": {
+ "type": "string"
+ },
+ "deprecated": false
+ },
+ {
+ "name": "_lte",
+ "in": "query",
+ "required": false,
+ "description": "Get records that are lower than or equal to a value",
+ "schema": {
+ "type": "string"
+ },
+ "deprecated": false
+ },
+ {
+ "name": "_gt",
+ "in": "query",
+ "required": false,
+ "description": "Get records that are greater than a value",
+ "schema": {
+ "type": "string"
+ },
+ "deprecated": false
+ },
+ {
+ "name": "_gte",
+ "in": "query",
+ "required": false,
+ "description": "Get records that are greater than or equal a value",
+ "schema": {
+ "type": "string"
+ },
+ "deprecated": false
+ },
+ {
+ "name": "_contains",
+ "in": "query",
+ "required": false,
+ "description": "Get records that contains a value",
+ "schema": {
+ "type": "string"
+ },
+ "deprecated": false
+ },
+ {
+ "name": "_containss",
+ "in": "query",
+ "required": false,
+ "description": "Get records that contains (case sensitive) a value",
+ "schema": {
+ "type": "string"
+ },
+ "deprecated": false
+ },
+ {
+ "name": "_in",
+ "in": "query",
+ "required": false,
+ "description": "Get records that matches any value in the array of values",
+ "schema": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "deprecated": false
+ },
+ {
+ "name": "_nin",
+ "in": "query",
+ "required": false,
+ "description": "Get records that doesn't match any value in the array of values",
+ "schema": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "deprecated": false
+ }
+ ]
+ },
+ "post": {
+ "deprecated": false,
+ "description": "Create a new record",
+ "responses": {
+ "200": {
+ "description": "response",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Gallery"
+ }
+ }
+ }
+ },
+ "403": {
+ "description": "Forbidden",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "Not found",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ }
+ }
+ }
+ },
+ "default": {
+ "description": "unexpected error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ }
+ }
+ }
+ }
+ },
+ "summary": "",
+ "tags": [
+ "Gallery"
+ ],
+ "requestBody": {
+ "description": "",
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/NewGallery"
+ }
+ }
+ }
+ }
+ }
+ },
+ "/galleries/count": {
+ "get": {
+ "deprecated": false,
+ "description": "",
+ "responses": {
+ "200": {
+ "description": "response",
+ "content": {
+ "application/json": {
+ "schema": {
+ "properties": {
+ "count": {
+ "type": "integer"
+ }
+ }
+ }
+ }
+ }
+ },
+ "403": {
+ "description": "Forbidden",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "Not found",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ }
+ }
+ }
+ },
+ "default": {
+ "description": "unexpected error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ }
+ }
+ }
+ }
+ },
+ "summary": "",
+ "tags": [
+ "Gallery"
+ ],
+ "parameters": []
+ }
+ },
+ "/galleries/{id}": {
+ "get": {
+ "deprecated": false,
+ "description": "",
+ "responses": {
+ "200": {
+ "description": "response",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Gallery"
+ }
+ }
+ }
+ },
+ "403": {
+ "description": "Forbidden",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "Not found",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ }
+ }
+ }
+ },
+ "default": {
+ "description": "unexpected error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ }
+ }
+ }
+ }
+ },
+ "summary": "",
+ "tags": [
+ "Gallery"
+ ],
+ "parameters": [
+ {
+ "name": "id",
+ "in": "path",
+ "description": "",
+ "deprecated": false,
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ]
+ },
+ "put": {
+ "deprecated": false,
+ "description": "Update a record",
+ "responses": {
+ "200": {
+ "description": "response",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Gallery"
+ }
+ }
+ }
+ },
+ "403": {
+ "description": "Forbidden",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "Not found",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ }
+ }
+ }
+ },
+ "default": {
+ "description": "unexpected error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ }
+ }
+ }
+ }
+ },
+ "summary": "",
+ "tags": [
+ "Gallery"
+ ],
+ "requestBody": {
+ "description": "",
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/NewGallery"
+ }
+ }
+ }
+ },
+ "parameters": [
+ {
+ "name": "id",
+ "in": "path",
+ "description": "",
+ "deprecated": false,
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ]
+ },
+ "delete": {
+ "deprecated": false,
+ "description": "Delete a record",
+ "responses": {
+ "200": {
+ "description": "deletes a single record based on the ID supplied",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "integer",
+ "format": "int64"
+ }
+ }
+ }
+ },
+ "403": {
+ "description": "Forbidden",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "Not found",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ }
+ }
+ }
+ },
+ "default": {
+ "description": "unexpected error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ }
+ }
+ }
+ }
+ },
+ "summary": "",
+ "tags": [
+ "Gallery"
+ ],
+ "parameters": [
+ {
+ "name": "id",
+ "in": "path",
+ "description": "",
+ "deprecated": false,
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ]
+ }
+ }
+ },
+ "components": {
+ "schemas": {
+ "Gallery": {
+ "required": [
+ "id"
+ ],
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "activity": {
+ "required": [
+ "id",
+ "number",
+ "template"
+ ],
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "lesson_module": {
+ "type": "string"
+ },
+ "number": {
+ "type": "integer"
+ },
+ "template": {
+ "type": "string"
+ },
+ "blocks": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "description": {
+ "type": "string"
+ },
+ "StandardS": {
+ "type": "string"
+ },
+ "images": {
+ "type": "string"
+ },
+ "link": {
+ "type": "string"
+ },
+ "learning_components": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "activity_template": {
+ "type": "string"
+ },
+ "galleries": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "created_by": {
+ "type": "string"
+ },
+ "updated_by": {
+ "type": "string"
+ }
+ }
+ },
+ "unit": {
+ "required": [
+ "id",
+ "name",
+ "number"
+ ],
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "grade": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "standards_id": {
+ "type": "string"
+ },
+ "standards_description": {
+ "type": "string"
+ },
+ "number": {
+ "type": "integer"
+ },
+ "lesson_modules": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "created_by": {
+ "type": "string"
+ },
+ "updated_by": {
+ "type": "string"
+ }
+ }
+ },
+ "users_permissions_user": {
+ "required": [
+ "id",
+ "username",
+ "email"
+ ],
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "username": {
+ "type": "string"
+ },
+ "email": {
+ "type": "string"
+ },
+ "provider": {
+ "type": "string"
+ },
+ "password": {
+ "type": "string"
+ },
+ "resetPasswordToken": {
+ "type": "string"
+ },
+ "confirmationToken": {
+ "type": "string"
+ },
+ "confirmed": {
+ "type": "boolean"
+ },
+ "blocked": {
+ "type": "boolean"
+ },
+ "role": {
+ "type": "string"
+ },
+ "created_by": {
+ "type": "string"
+ },
+ "updated_by": {
+ "type": "string"
+ }
+ }
+ },
+ "classroom": {
+ "required": [
+ "id",
+ "code"
+ ],
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "school": {
+ "type": "string"
+ },
+ "sessions": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "mentors": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "students": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "code": {
+ "type": "string"
+ },
+ "grade": {
+ "type": "string"
+ },
+ "selections": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "authorized_workspaces": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "created_by": {
+ "type": "string"
+ },
+ "updated_by": {
+ "type": "string"
+ }
+ }
+ },
+ "gallery": {
+ "required": [
+ "id"
+ ],
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "activity": {
+ "type": "string"
+ },
+ "unit": {
+ "type": "string"
+ },
+ "users_permissions_user": {
+ "type": "string"
+ },
+ "classroom": {
+ "type": "string"
+ },
+ "gallery": {
+ "type": "string"
+ },
+ "submission": {
+ "type": "string"
+ },
+ "lesson_module": {
+ "type": "string"
+ },
+ "published_at": {
+ "type": "string"
+ },
+ "created_by": {
+ "type": "string"
+ },
+ "updated_by": {
+ "type": "string"
+ }
+ }
+ },
+ "submission": {
+ "required": [
+ "id",
+ "status",
+ "workspace",
+ "board",
+ "sketch",
+ "sandbox"
+ ],
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "status": {
+ "type": "string"
+ },
+ "workspace": {
+ "type": "string"
+ },
+ "success": {
+ "type": "boolean"
+ },
+ "hex": {
+ "type": "string"
+ },
+ "stdout": {
+ "type": "string"
+ },
+ "stderr": {
+ "type": "string"
+ },
+ "board": {
+ "type": "string"
+ },
+ "sketch": {
+ "type": "string"
+ },
+ "sandbox": {
+ "type": "boolean"
+ },
+ "session": {
+ "type": "string"
+ },
+ "activity": {
+ "type": "string"
+ },
+ "job_id": {
+ "type": "integer"
+ },
+ "created_by": {
+ "type": "string"
+ },
+ "updated_by": {
+ "type": "string"
+ }
+ }
+ },
+ "lesson_module": {
+ "required": [
+ "id",
+ "number",
+ "name"
+ ],
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "number": {
+ "type": "number"
+ },
+ "name": {
+ "type": "string"
+ },
+ "expectations": {
+ "type": "string"
+ },
+ "activities": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "unit": {
+ "type": "string"
+ },
+ "standards": {
+ "type": "string"
+ },
+ "link": {
+ "type": "string"
+ },
+ "created_by": {
+ "type": "string"
+ },
+ "updated_by": {
+ "type": "string"
+ }
+ }
+ },
+ "published_at": {
+ "type": "string",
+ "format": "date-time"
+ }
+ }
+ },
+ "NewGallery": {
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "activity": {
+ "type": "string"
+ },
+ "unit": {
+ "type": "string"
+ },
+ "users_permissions_user": {
+ "type": "string"
+ },
+ "classroom": {
+ "type": "string"
+ },
+ "gallery": {
+ "type": "string"
+ },
+ "submission": {
+ "type": "string"
+ },
+ "lesson_module": {
+ "type": "string"
+ },
+ "published_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "created_by": {
+ "type": "string"
+ },
+ "updated_by": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ },
+ "tags": [
+ {
+ "name": "Gallery"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/server/api/gallery/models/gallery.js b/server/api/gallery/models/gallery.js
new file mode 100644
index 000000000..0054d33c1
--- /dev/null
+++ b/server/api/gallery/models/gallery.js
@@ -0,0 +1,8 @@
+'use strict';
+
+/**
+ * Read the documentation (https://strapi.io/documentation/developer-docs/latest/development/backend-customization.html#lifecycle-hooks)
+ * to customize this model
+ */
+
+module.exports = {};
diff --git a/server/api/gallery/models/gallery.settings.json b/server/api/gallery/models/gallery.settings.json
new file mode 100644
index 000000000..6fd2ccd3e
--- /dev/null
+++ b/server/api/gallery/models/gallery.settings.json
@@ -0,0 +1,41 @@
+{
+ "kind": "collectionType",
+ "collectionName": "galleries",
+ "info": {
+ "name": "Gallery",
+ "description": ""
+ },
+ "options": {
+ "increments": true,
+ "timestamps": true,
+ "draftAndPublish": true
+ },
+ "attributes": {
+ "name": {
+ "type": "string"
+ },
+ "activity": {
+ "model": "activity",
+ "via": "galleries"
+ },
+ "unit": {
+ "model": "unit"
+ },
+ "users_permissions_user": {
+ "plugin": "users-permissions",
+ "model": "user"
+ },
+ "classroom": {
+ "model": "classroom"
+ },
+ "gallery": {
+ "model": "gallery"
+ },
+ "submission": {
+ "model": "submission"
+ },
+ "lesson_module": {
+ "model": "lesson-module"
+ }
+ }
+}
diff --git a/server/api/gallery/services/gallery.js b/server/api/gallery/services/gallery.js
new file mode 100644
index 000000000..6538a8c86
--- /dev/null
+++ b/server/api/gallery/services/gallery.js
@@ -0,0 +1,8 @@
+'use strict';
+
+/**
+ * Read the documentation (https://strapi.io/documentation/developer-docs/latest/development/backend-customization.html#core-services)
+ * to customize this service
+ */
+
+module.exports = {};
diff --git a/server/api/learning-components/documentation/1.0.0/learning-components.json b/server/api/learning-components/documentation/1.0.0/learning-components.json
index 4e4ae3544..66293836c 100644
--- a/server/api/learning-components/documentation/1.0.0/learning-components.json
+++ b/server/api/learning-components/documentation/1.0.0/learning-components.json
@@ -586,6 +586,12 @@
"activity_template": {
"type": "string"
},
+ "galleries": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
"created_by": {
"type": "string"
},
diff --git a/server/api/lesson-module/documentation/1.0.0/lesson-module.json b/server/api/lesson-module/documentation/1.0.0/lesson-module.json
index 126b7d698..14ae0a22c 100644
--- a/server/api/lesson-module/documentation/1.0.0/lesson-module.json
+++ b/server/api/lesson-module/documentation/1.0.0/lesson-module.json
@@ -594,6 +594,12 @@
"activity_template": {
"type": "string"
},
+ "galleries": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
"created_by": {
"type": "string"
},
diff --git a/server/api/save/documentation/1.0.0/save.json b/server/api/save/documentation/1.0.0/save.json
index 531d61388..3526a79c1 100644
--- a/server/api/save/documentation/1.0.0/save.json
+++ b/server/api/save/documentation/1.0.0/save.json
@@ -637,6 +637,12 @@
"activity_template": {
"type": "string"
},
+ "galleries": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
"created_by": {
"type": "string"
},
diff --git a/server/api/submission/documentation/1.0.0/submission.json b/server/api/submission/documentation/1.0.0/submission.json
index 87d90aade..f9ab50f76 100644
--- a/server/api/submission/documentation/1.0.0/submission.json
+++ b/server/api/submission/documentation/1.0.0/submission.json
@@ -648,6 +648,12 @@
"activity_template": {
"type": "string"
},
+ "galleries": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
"created_by": {
"type": "string"
},
diff --git a/server/extensions/documentation/documentation/1.0.0/full_documentation.json b/server/extensions/documentation/documentation/1.0.0/full_documentation.json
index 49963424f..57e217c97 100755
--- a/server/extensions/documentation/documentation/1.0.0/full_documentation.json
+++ b/server/extensions/documentation/documentation/1.0.0/full_documentation.json
@@ -14,7 +14,7 @@
"name": "Apache 2.0",
"url": "https://www.apache.org/licenses/LICENSE-2.0.html"
},
- "x-generation-date": "10/12/2023 1:28:43 PM"
+ "x-generation-date": "11/28/2023 3:13:17 PM"
},
"x-strapi-config": {
"path": "/documentation",
@@ -3318,7 +3318,7 @@
}
}
},
- "/grades": {
+ "/galleries": {
"get": {
"deprecated": false,
"description": "",
@@ -3330,7 +3330,7 @@
"schema": {
"type": "array",
"items": {
- "$ref": "#/components/schemas/Grade"
+ "$ref": "#/components/schemas/Gallery"
}
}
}
@@ -3369,7 +3369,7 @@
},
"summary": "",
"tags": [
- "Grade"
+ "Gallery"
],
"parameters": [
{
@@ -3519,7 +3519,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/Grade"
+ "$ref": "#/components/schemas/Gallery"
}
}
}
@@ -3557,7 +3557,7 @@
},
"summary": "",
"tags": [
- "Grade"
+ "Gallery"
],
"requestBody": {
"description": "",
@@ -3565,14 +3565,14 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/NewGrade"
+ "$ref": "#/components/schemas/NewGallery"
}
}
}
}
}
},
- "/grades/count": {
+ "/galleries/count": {
"get": {
"deprecated": false,
"description": "",
@@ -3624,12 +3624,12 @@
},
"summary": "",
"tags": [
- "Grade"
+ "Gallery"
],
"parameters": []
}
},
- "/grades/{id}": {
+ "/galleries/{id}": {
"get": {
"deprecated": false,
"description": "",
@@ -3639,7 +3639,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/Grade"
+ "$ref": "#/components/schemas/Gallery"
}
}
}
@@ -3677,7 +3677,7 @@
},
"summary": "",
"tags": [
- "Grade"
+ "Gallery"
],
"parameters": [
{
@@ -3701,7 +3701,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/Grade"
+ "$ref": "#/components/schemas/Gallery"
}
}
}
@@ -3739,7 +3739,7 @@
},
"summary": "",
"tags": [
- "Grade"
+ "Gallery"
],
"requestBody": {
"description": "",
@@ -3747,7 +3747,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/NewGrade"
+ "$ref": "#/components/schemas/NewGallery"
}
}
}
@@ -3813,7 +3813,7 @@
},
"summary": "",
"tags": [
- "Grade"
+ "Gallery"
],
"parameters": [
{
@@ -3829,20 +3829,19 @@
]
}
},
- "/learning-component-types": {
+ "/grades": {
"get": {
"deprecated": false,
- "description": "Find all the learning-component-types's records",
+ "description": "",
"responses": {
"200": {
- "description": "Retrieve learning-component-types document(s)",
+ "description": "response",
"content": {
"application/json": {
"schema": {
- "properties": {
- "foo": {
- "type": "string"
- }
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Grade"
}
}
}
@@ -3881,7 +3880,7 @@
},
"summary": "",
"tags": [
- "Learning-component-types"
+ "Grade"
],
"parameters": [
{
@@ -4024,18 +4023,14 @@
},
"post": {
"deprecated": false,
- "description": "Create a new learning-component-types record",
+ "description": "Create a new record",
"responses": {
"200": {
- "description": "Retrieve learning-component-types document(s)",
+ "description": "response",
"content": {
"application/json": {
"schema": {
- "properties": {
- "foo": {
- "type": "string"
- }
- }
+ "$ref": "#/components/schemas/Grade"
}
}
}
@@ -4073,7 +4068,7 @@
},
"summary": "",
"tags": [
- "Learning-component-types"
+ "Grade"
],
"requestBody": {
"description": "",
@@ -4081,26 +4076,26 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/NewLearning-component-types"
+ "$ref": "#/components/schemas/NewGrade"
}
}
}
}
}
},
- "/learning-component-types/count": {
+ "/grades/count": {
"get": {
"deprecated": false,
- "description": "Retrieve the number of learning-component-types documents",
+ "description": "",
"responses": {
"200": {
- "description": "Retrieve learning-component-types document(s)",
+ "description": "response",
"content": {
"application/json": {
"schema": {
"properties": {
- "foo": {
- "type": "string"
+ "count": {
+ "type": "integer"
}
}
}
@@ -4140,26 +4135,22 @@
},
"summary": "",
"tags": [
- "Learning-component-types"
+ "Grade"
],
"parameters": []
}
},
- "/learning-component-types/{id}": {
+ "/grades/{id}": {
"get": {
"deprecated": false,
- "description": "Find one learning-component-types record",
+ "description": "",
"responses": {
"200": {
- "description": "Retrieve learning-component-types document(s)",
+ "description": "response",
"content": {
"application/json": {
"schema": {
- "properties": {
- "foo": {
- "type": "string"
- }
- }
+ "$ref": "#/components/schemas/Grade"
}
}
}
@@ -4197,7 +4188,7 @@
},
"summary": "",
"tags": [
- "Learning-component-types"
+ "Grade"
],
"parameters": [
{
@@ -4214,18 +4205,14 @@
},
"put": {
"deprecated": false,
- "description": "Update a single learning-component-types record",
+ "description": "Update a record",
"responses": {
"200": {
- "description": "Retrieve learning-component-types document(s)",
+ "description": "response",
"content": {
"application/json": {
"schema": {
- "properties": {
- "foo": {
- "type": "string"
- }
- }
+ "$ref": "#/components/schemas/Grade"
}
}
}
@@ -4263,7 +4250,7 @@
},
"summary": "",
"tags": [
- "Learning-component-types"
+ "Grade"
],
"requestBody": {
"description": "",
@@ -4271,7 +4258,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/NewLearning-component-types"
+ "$ref": "#/components/schemas/NewGrade"
}
}
}
@@ -4291,10 +4278,10 @@
},
"delete": {
"deprecated": false,
- "description": "Delete a single learning-component-types record",
+ "description": "Delete a record",
"responses": {
"200": {
- "description": "deletes a single learning-component-types based on the ID supplied",
+ "description": "deletes a single record based on the ID supplied",
"content": {
"application/json": {
"schema": {
@@ -4337,7 +4324,7 @@
},
"summary": "",
"tags": [
- "Learning-component-types"
+ "Grade"
],
"parameters": [
{
@@ -4353,13 +4340,13 @@
]
}
},
- "/learning-components": {
+ "/learning-component-types": {
"get": {
"deprecated": false,
- "description": "Find all the learning-components's records",
+ "description": "Find all the learning-component-types's records",
"responses": {
"200": {
- "description": "Retrieve learning-components document(s)",
+ "description": "Retrieve learning-component-types document(s)",
"content": {
"application/json": {
"schema": {
@@ -4405,7 +4392,7 @@
},
"summary": "",
"tags": [
- "Learning-components"
+ "Learning-component-types"
],
"parameters": [
{
@@ -4548,10 +4535,10 @@
},
"post": {
"deprecated": false,
- "description": "Create a new learning-components record",
+ "description": "Create a new learning-component-types record",
"responses": {
"200": {
- "description": "Retrieve learning-components document(s)",
+ "description": "Retrieve learning-component-types document(s)",
"content": {
"application/json": {
"schema": {
@@ -4597,7 +4584,7 @@
},
"summary": "",
"tags": [
- "Learning-components"
+ "Learning-component-types"
],
"requestBody": {
"description": "",
@@ -4605,20 +4592,20 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/NewLearning-components"
+ "$ref": "#/components/schemas/NewLearning-component-types"
}
}
}
}
}
},
- "/learning-components/count": {
+ "/learning-component-types/count": {
"get": {
"deprecated": false,
- "description": "Retrieve the number of learning-components documents",
+ "description": "Retrieve the number of learning-component-types documents",
"responses": {
"200": {
- "description": "Retrieve learning-components document(s)",
+ "description": "Retrieve learning-component-types document(s)",
"content": {
"application/json": {
"schema": {
@@ -4664,18 +4651,18 @@
},
"summary": "",
"tags": [
- "Learning-components"
+ "Learning-component-types"
],
"parameters": []
}
},
- "/learning-components/{id}": {
+ "/learning-component-types/{id}": {
"get": {
"deprecated": false,
- "description": "Find one learning-components record",
+ "description": "Find one learning-component-types record",
"responses": {
"200": {
- "description": "Retrieve learning-components document(s)",
+ "description": "Retrieve learning-component-types document(s)",
"content": {
"application/json": {
"schema": {
@@ -4721,7 +4708,7 @@
},
"summary": "",
"tags": [
- "Learning-components"
+ "Learning-component-types"
],
"parameters": [
{
@@ -4738,10 +4725,10 @@
},
"put": {
"deprecated": false,
- "description": "Update a single learning-components record",
+ "description": "Update a single learning-component-types record",
"responses": {
"200": {
- "description": "Retrieve learning-components document(s)",
+ "description": "Retrieve learning-component-types document(s)",
"content": {
"application/json": {
"schema": {
@@ -4787,7 +4774,7 @@
},
"summary": "",
"tags": [
- "Learning-components"
+ "Learning-component-types"
],
"requestBody": {
"description": "",
@@ -4795,7 +4782,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/NewLearning-components"
+ "$ref": "#/components/schemas/NewLearning-component-types"
}
}
}
@@ -4815,10 +4802,10 @@
},
"delete": {
"deprecated": false,
- "description": "Delete a single learning-components record",
+ "description": "Delete a single learning-component-types record",
"responses": {
"200": {
- "description": "deletes a single learning-components based on the ID supplied",
+ "description": "deletes a single learning-component-types based on the ID supplied",
"content": {
"application/json": {
"schema": {
@@ -4861,7 +4848,7 @@
},
"summary": "",
"tags": [
- "Learning-components"
+ "Learning-component-types"
],
"parameters": [
{
@@ -4877,13 +4864,13 @@
]
}
},
- "/lesson-modules": {
+ "/learning-components": {
"get": {
"deprecated": false,
- "description": "",
+ "description": "Find all the learning-components's records",
"responses": {
"200": {
- "description": "response",
+ "description": "Retrieve learning-components document(s)",
"content": {
"application/json": {
"schema": {
@@ -4929,7 +4916,7 @@
},
"summary": "",
"tags": [
- "Lesson-module"
+ "Learning-components"
],
"parameters": [
{
@@ -5072,10 +5059,10 @@
},
"post": {
"deprecated": false,
- "description": "Create a new record",
+ "description": "Create a new learning-components record",
"responses": {
"200": {
- "description": "response",
+ "description": "Retrieve learning-components document(s)",
"content": {
"application/json": {
"schema": {
@@ -5121,7 +5108,7 @@
},
"summary": "",
"tags": [
- "Lesson-module"
+ "Learning-components"
],
"requestBody": {
"description": "",
@@ -5129,20 +5116,20 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/NewLesson-module"
+ "$ref": "#/components/schemas/NewLearning-components"
}
}
}
}
}
},
- "/lesson-modules/count": {
+ "/learning-components/count": {
"get": {
"deprecated": false,
- "description": "",
+ "description": "Retrieve the number of learning-components documents",
"responses": {
"200": {
- "description": "response",
+ "description": "Retrieve learning-components document(s)",
"content": {
"application/json": {
"schema": {
@@ -5188,18 +5175,18 @@
},
"summary": "",
"tags": [
- "Lesson-module"
+ "Learning-components"
],
"parameters": []
}
},
- "/lesson-modules/{id}": {
+ "/learning-components/{id}": {
"get": {
"deprecated": false,
- "description": "",
+ "description": "Find one learning-components record",
"responses": {
"200": {
- "description": "response",
+ "description": "Retrieve learning-components document(s)",
"content": {
"application/json": {
"schema": {
@@ -5245,7 +5232,7 @@
},
"summary": "",
"tags": [
- "Lesson-module"
+ "Learning-components"
],
"parameters": [
{
@@ -5262,10 +5249,10 @@
},
"put": {
"deprecated": false,
- "description": "Update a record",
+ "description": "Update a single learning-components record",
"responses": {
"200": {
- "description": "response",
+ "description": "Retrieve learning-components document(s)",
"content": {
"application/json": {
"schema": {
@@ -5311,7 +5298,7 @@
},
"summary": "",
"tags": [
- "Lesson-module"
+ "Learning-components"
],
"requestBody": {
"description": "",
@@ -5319,7 +5306,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/NewLesson-module"
+ "$ref": "#/components/schemas/NewLearning-components"
}
}
}
@@ -5339,10 +5326,10 @@
},
"delete": {
"deprecated": false,
- "description": "Delete a record",
+ "description": "Delete a single learning-components record",
"responses": {
"200": {
- "description": "deletes a single record based on the ID supplied",
+ "description": "deletes a single learning-components based on the ID supplied",
"content": {
"application/json": {
"schema": {
@@ -5385,7 +5372,7 @@
},
"summary": "",
"tags": [
- "Lesson-module"
+ "Learning-components"
],
"parameters": [
{
@@ -5401,7 +5388,7 @@
]
}
},
- "/mentors": {
+ "/lesson-modules": {
"get": {
"deprecated": false,
"description": "",
@@ -5411,9 +5398,10 @@
"content": {
"application/json": {
"schema": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Mentor"
+ "properties": {
+ "foo": {
+ "type": "string"
+ }
}
}
}
@@ -5452,7 +5440,7 @@
},
"summary": "",
"tags": [
- "Mentor"
+ "Lesson-module"
],
"parameters": [
{
@@ -5602,7 +5590,11 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/Mentor"
+ "properties": {
+ "foo": {
+ "type": "string"
+ }
+ }
}
}
}
@@ -5640,7 +5632,7 @@
},
"summary": "",
"tags": [
- "Mentor"
+ "Lesson-module"
],
"requestBody": {
"description": "",
@@ -5648,14 +5640,14 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/NewMentor"
+ "$ref": "#/components/schemas/NewLesson-module"
}
}
}
}
}
},
- "/mentors/count": {
+ "/lesson-modules/count": {
"get": {
"deprecated": false,
"description": "",
@@ -5666,8 +5658,8 @@
"application/json": {
"schema": {
"properties": {
- "count": {
- "type": "integer"
+ "foo": {
+ "type": "string"
}
}
}
@@ -5707,12 +5699,12 @@
},
"summary": "",
"tags": [
- "Mentor"
+ "Lesson-module"
],
"parameters": []
}
},
- "/mentors/{id}": {
+ "/lesson-modules/{id}": {
"get": {
"deprecated": false,
"description": "",
@@ -5722,7 +5714,11 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/Mentor"
+ "properties": {
+ "foo": {
+ "type": "string"
+ }
+ }
}
}
}
@@ -5760,7 +5756,7 @@
},
"summary": "",
"tags": [
- "Mentor"
+ "Lesson-module"
],
"parameters": [
{
@@ -5784,7 +5780,11 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/Mentor"
+ "properties": {
+ "foo": {
+ "type": "string"
+ }
+ }
}
}
}
@@ -5822,7 +5822,7 @@
},
"summary": "",
"tags": [
- "Mentor"
+ "Lesson-module"
],
"requestBody": {
"description": "",
@@ -5830,7 +5830,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/NewMentor"
+ "$ref": "#/components/schemas/NewLesson-module"
}
}
}
@@ -5896,7 +5896,7 @@
},
"summary": "",
"tags": [
- "Mentor"
+ "Lesson-module"
],
"parameters": [
{
@@ -5912,7 +5912,7 @@
]
}
},
- "/sandbox/toolbox": {
+ "/mentors": {
"get": {
"deprecated": false,
"description": "",
@@ -5922,10 +5922,9 @@
"content": {
"application/json": {
"schema": {
- "properties": {
- "foo": {
- "type": "string"
- }
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Mentor"
}
}
}
@@ -5964,202 +5963,7 @@
},
"summary": "",
"tags": [
- "Sandbox"
- ],
- "parameters": []
- }
- },
- "/sandbox/submission/{id}": {
- "get": {
- "deprecated": false,
- "description": "",
- "responses": {
- "200": {
- "description": "response",
- "content": {
- "application/json": {
- "schema": {
- "properties": {
- "foo": {
- "type": "string"
- }
- }
- }
- }
- }
- },
- "403": {
- "description": "Forbidden",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Error"
- }
- }
- }
- },
- "404": {
- "description": "Not found",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Error"
- }
- }
- }
- },
- "default": {
- "description": "unexpected error",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Error"
- }
- }
- }
- }
- },
- "summary": "",
- "tags": [
- "Sandbox"
- ],
- "parameters": [
- {
- "name": "id",
- "in": "path",
- "description": "",
- "deprecated": false,
- "required": true,
- "schema": {
- "type": "string"
- }
- }
- ]
- }
- },
- "/sandbox/submission": {
- "post": {
- "deprecated": false,
- "description": "Create a new record",
- "responses": {
- "200": {
- "description": "response",
- "content": {
- "application/json": {
- "schema": {
- "properties": {
- "foo": {
- "type": "string"
- }
- }
- }
- }
- }
- },
- "403": {
- "description": "Forbidden",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Error"
- }
- }
- }
- },
- "404": {
- "description": "Not found",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Error"
- }
- }
- }
- },
- "default": {
- "description": "unexpected error",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Error"
- }
- }
- }
- }
- },
- "summary": "",
- "tags": [
- "Sandbox"
- ],
- "requestBody": {
- "description": "",
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "properties": {
- "foo": {
- "type": "string"
- }
- }
- }
- }
- }
- }
- }
- },
- "/saves": {
- "get": {
- "deprecated": false,
- "description": "",
- "responses": {
- "200": {
- "description": "response",
- "content": {
- "application/json": {
- "schema": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Save"
- }
- }
- }
- }
- },
- "403": {
- "description": "Forbidden",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Error"
- }
- }
- }
- },
- "404": {
- "description": "Not found",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Error"
- }
- }
- }
- },
- "default": {
- "description": "unexpected error",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Error"
- }
- }
- }
- }
- },
- "summary": "",
- "tags": [
- "Save"
+ "Mentor"
],
"parameters": [
{
@@ -6309,7 +6113,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/Save"
+ "$ref": "#/components/schemas/Mentor"
}
}
}
@@ -6347,7 +6151,7 @@
},
"summary": "",
"tags": [
- "Save"
+ "Mentor"
],
"requestBody": {
"description": "",
@@ -6355,14 +6159,14 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/NewSave"
+ "$ref": "#/components/schemas/NewMentor"
}
}
}
}
}
},
- "/saves/count": {
+ "/mentors/count": {
"get": {
"deprecated": false,
"description": "",
@@ -6414,12 +6218,12 @@
},
"summary": "",
"tags": [
- "Save"
+ "Mentor"
],
"parameters": []
}
},
- "/saves/activity/{activity}": {
+ "/mentors/{id}": {
"get": {
"deprecated": false,
"description": "",
@@ -6429,11 +6233,7 @@
"content": {
"application/json": {
"schema": {
- "properties": {
- "foo": {
- "type": "string"
- }
- }
+ "$ref": "#/components/schemas/Mentor"
}
}
}
@@ -6471,11 +6271,11 @@
},
"summary": "",
"tags": [
- "Save"
+ "Mentor"
],
"parameters": [
{
- "name": "activity",
+ "name": "id",
"in": "path",
"description": "",
"deprecated": false,
@@ -6485,19 +6285,17 @@
}
}
]
- }
- },
- "/saves/{id}": {
- "get": {
+ },
+ "put": {
"deprecated": false,
- "description": "",
+ "description": "Update a record",
"responses": {
"200": {
"description": "response",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/Save"
+ "$ref": "#/components/schemas/Mentor"
}
}
}
@@ -6535,8 +6333,19 @@
},
"summary": "",
"tags": [
- "Save"
+ "Mentor"
],
+ "requestBody": {
+ "description": "",
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/NewMentor"
+ }
+ }
+ }
+ },
"parameters": [
{
"name": "id",
@@ -6550,16 +6359,17 @@
}
]
},
- "put": {
+ "delete": {
"deprecated": false,
- "description": "Update a record",
+ "description": "Delete a record",
"responses": {
"200": {
- "description": "response",
+ "description": "deletes a single record based on the ID supplied",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/Save"
+ "type": "integer",
+ "format": "int64"
}
}
}
@@ -6597,19 +6407,8 @@
},
"summary": "",
"tags": [
- "Save"
+ "Mentor"
],
- "requestBody": {
- "description": "",
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/NewSave"
- }
- }
- }
- },
"parameters": [
{
"name": "id",
@@ -6622,18 +6421,23 @@
}
}
]
- },
- "delete": {
+ }
+ },
+ "/sandbox/toolbox": {
+ "get": {
"deprecated": false,
- "description": "Delete a record",
+ "description": "",
"responses": {
"200": {
- "description": "deletes a single record based on the ID supplied",
+ "description": "response",
"content": {
"application/json": {
"schema": {
- "type": "integer",
- "format": "int64"
+ "properties": {
+ "foo": {
+ "type": "string"
+ }
+ }
}
}
}
@@ -6671,7 +6475,64 @@
},
"summary": "",
"tags": [
- "Save"
+ "Sandbox"
+ ],
+ "parameters": []
+ }
+ },
+ "/sandbox/submission/{id}": {
+ "get": {
+ "deprecated": false,
+ "description": "",
+ "responses": {
+ "200": {
+ "description": "response",
+ "content": {
+ "application/json": {
+ "schema": {
+ "properties": {
+ "foo": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ }
+ },
+ "403": {
+ "description": "Forbidden",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "Not found",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ }
+ }
+ }
+ },
+ "default": {
+ "description": "unexpected error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ }
+ }
+ }
+ }
+ },
+ "summary": "",
+ "tags": [
+ "Sandbox"
],
"parameters": [
{
@@ -6687,7 +6548,78 @@
]
}
},
- "/schools": {
+ "/sandbox/submission": {
+ "post": {
+ "deprecated": false,
+ "description": "Create a new record",
+ "responses": {
+ "200": {
+ "description": "response",
+ "content": {
+ "application/json": {
+ "schema": {
+ "properties": {
+ "foo": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ }
+ },
+ "403": {
+ "description": "Forbidden",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "Not found",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ }
+ }
+ }
+ },
+ "default": {
+ "description": "unexpected error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ }
+ }
+ }
+ }
+ },
+ "summary": "",
+ "tags": [
+ "Sandbox"
+ ],
+ "requestBody": {
+ "description": "",
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "properties": {
+ "foo": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/saves": {
"get": {
"deprecated": false,
"description": "",
@@ -6699,7 +6631,7 @@
"schema": {
"type": "array",
"items": {
- "$ref": "#/components/schemas/School"
+ "$ref": "#/components/schemas/Save"
}
}
}
@@ -6738,7 +6670,7 @@
},
"summary": "",
"tags": [
- "School"
+ "Save"
],
"parameters": [
{
@@ -6888,7 +6820,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/School"
+ "$ref": "#/components/schemas/Save"
}
}
}
@@ -6926,7 +6858,7 @@
},
"summary": "",
"tags": [
- "School"
+ "Save"
],
"requestBody": {
"description": "",
@@ -6934,14 +6866,14 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/NewSchool"
+ "$ref": "#/components/schemas/NewSave"
}
}
}
}
}
},
- "/schools/count": {
+ "/saves/count": {
"get": {
"deprecated": false,
"description": "",
@@ -6993,12 +6925,12 @@
},
"summary": "",
"tags": [
- "School"
+ "Save"
],
"parameters": []
}
},
- "/schools/{id}": {
+ "/saves/activity/{activity}": {
"get": {
"deprecated": false,
"description": "",
@@ -7008,7 +6940,11 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/School"
+ "properties": {
+ "foo": {
+ "type": "string"
+ }
+ }
}
}
}
@@ -7046,7 +6982,71 @@
},
"summary": "",
"tags": [
- "School"
+ "Save"
+ ],
+ "parameters": [
+ {
+ "name": "activity",
+ "in": "path",
+ "description": "",
+ "deprecated": false,
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ]
+ }
+ },
+ "/saves/{id}": {
+ "get": {
+ "deprecated": false,
+ "description": "",
+ "responses": {
+ "200": {
+ "description": "response",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Save"
+ }
+ }
+ }
+ },
+ "403": {
+ "description": "Forbidden",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "Not found",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ }
+ }
+ }
+ },
+ "default": {
+ "description": "unexpected error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ }
+ }
+ }
+ }
+ },
+ "summary": "",
+ "tags": [
+ "Save"
],
"parameters": [
{
@@ -7070,7 +7070,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/School"
+ "$ref": "#/components/schemas/Save"
}
}
}
@@ -7108,7 +7108,7 @@
},
"summary": "",
"tags": [
- "School"
+ "Save"
],
"requestBody": {
"description": "",
@@ -7116,7 +7116,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/NewSchool"
+ "$ref": "#/components/schemas/NewSave"
}
}
}
@@ -7182,7 +7182,7 @@
},
"summary": "",
"tags": [
- "School"
+ "Save"
],
"parameters": [
{
@@ -7198,7 +7198,7 @@
]
}
},
- "/selections": {
+ "/schools": {
"get": {
"deprecated": false,
"description": "",
@@ -7210,7 +7210,7 @@
"schema": {
"type": "array",
"items": {
- "$ref": "#/components/schemas/Selection"
+ "$ref": "#/components/schemas/School"
}
}
}
@@ -7249,7 +7249,7 @@
},
"summary": "",
"tags": [
- "Selection"
+ "School"
],
"parameters": [
{
@@ -7399,7 +7399,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/Selection"
+ "$ref": "#/components/schemas/School"
}
}
}
@@ -7437,7 +7437,7 @@
},
"summary": "",
"tags": [
- "Selection"
+ "School"
],
"requestBody": {
"description": "",
@@ -7445,14 +7445,14 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/NewSelection"
+ "$ref": "#/components/schemas/NewSchool"
}
}
}
}
}
},
- "/selections/count": {
+ "/schools/count": {
"get": {
"deprecated": false,
"description": "",
@@ -7504,12 +7504,12 @@
},
"summary": "",
"tags": [
- "Selection"
+ "School"
],
"parameters": []
}
},
- "/selections/{id}": {
+ "/schools/{id}": {
"get": {
"deprecated": false,
"description": "",
@@ -7519,7 +7519,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/Selection"
+ "$ref": "#/components/schemas/School"
}
}
}
@@ -7557,7 +7557,7 @@
},
"summary": "",
"tags": [
- "Selection"
+ "School"
],
"parameters": [
{
@@ -7581,7 +7581,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/Selection"
+ "$ref": "#/components/schemas/School"
}
}
}
@@ -7619,7 +7619,7 @@
},
"summary": "",
"tags": [
- "Selection"
+ "School"
],
"requestBody": {
"description": "",
@@ -7627,7 +7627,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/NewSelection"
+ "$ref": "#/components/schemas/NewSchool"
}
}
}
@@ -7693,7 +7693,7 @@
},
"summary": "",
"tags": [
- "Selection"
+ "School"
],
"parameters": [
{
@@ -7709,7 +7709,7 @@
]
}
},
- "/sessions": {
+ "/selections": {
"get": {
"deprecated": false,
"description": "",
@@ -7721,7 +7721,7 @@
"schema": {
"type": "array",
"items": {
- "$ref": "#/components/schemas/Session"
+ "$ref": "#/components/schemas/Selection"
}
}
}
@@ -7760,7 +7760,7 @@
},
"summary": "",
"tags": [
- "Session"
+ "Selection"
],
"parameters": [
{
@@ -7910,7 +7910,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/Session"
+ "$ref": "#/components/schemas/Selection"
}
}
}
@@ -7948,7 +7948,7 @@
},
"summary": "",
"tags": [
- "Session"
+ "Selection"
],
"requestBody": {
"description": "",
@@ -7956,14 +7956,14 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/NewSession"
+ "$ref": "#/components/schemas/NewSelection"
}
}
}
}
}
},
- "/sessions/count": {
+ "/selections/count": {
"get": {
"deprecated": false,
"description": "",
@@ -8015,12 +8015,12 @@
},
"summary": "",
"tags": [
- "Session"
+ "Selection"
],
"parameters": []
}
},
- "/sessions/{id}": {
+ "/selections/{id}": {
"get": {
"deprecated": false,
"description": "",
@@ -8030,7 +8030,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/Session"
+ "$ref": "#/components/schemas/Selection"
}
}
}
@@ -8068,7 +8068,7 @@
},
"summary": "",
"tags": [
- "Session"
+ "Selection"
],
"parameters": [
{
@@ -8092,7 +8092,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/Session"
+ "$ref": "#/components/schemas/Selection"
}
}
}
@@ -8130,7 +8130,7 @@
},
"summary": "",
"tags": [
- "Session"
+ "Selection"
],
"requestBody": {
"description": "",
@@ -8138,7 +8138,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/NewSession"
+ "$ref": "#/components/schemas/NewSelection"
}
}
}
@@ -8204,7 +8204,7 @@
},
"summary": "",
"tags": [
- "Session"
+ "Selection"
],
"parameters": [
{
@@ -8220,7 +8220,7 @@
]
}
},
- "/students": {
+ "/sessions": {
"get": {
"deprecated": false,
"description": "",
@@ -8232,7 +8232,7 @@
"schema": {
"type": "array",
"items": {
- "$ref": "#/components/schemas/Student"
+ "$ref": "#/components/schemas/Session"
}
}
}
@@ -8271,7 +8271,7 @@
},
"summary": "",
"tags": [
- "Student"
+ "Session"
],
"parameters": [
{
@@ -8421,7 +8421,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/Student"
+ "$ref": "#/components/schemas/Session"
}
}
}
@@ -8459,7 +8459,7 @@
},
"summary": "",
"tags": [
- "Student"
+ "Session"
],
"requestBody": {
"description": "",
@@ -8467,71 +8467,14 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/NewStudent"
+ "$ref": "#/components/schemas/NewSession"
}
}
}
}
}
},
- "/students/me": {
- "get": {
- "deprecated": false,
- "description": "",
- "responses": {
- "200": {
- "description": "response",
- "content": {
- "application/json": {
- "schema": {
- "properties": {
- "foo": {
- "type": "string"
- }
- }
- }
- }
- }
- },
- "403": {
- "description": "Forbidden",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Error"
- }
- }
- }
- },
- "404": {
- "description": "Not found",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Error"
- }
- }
- }
- },
- "default": {
- "description": "unexpected error",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Error"
- }
- }
- }
- }
- },
- "summary": "",
- "tags": [
- "Student"
- ],
- "parameters": []
- }
- },
- "/students/count": {
+ "/sessions/count": {
"get": {
"deprecated": false,
"description": "",
@@ -8583,12 +8526,12 @@
},
"summary": "",
"tags": [
- "Student"
+ "Session"
],
"parameters": []
}
},
- "/students/{id}": {
+ "/sessions/{id}": {
"get": {
"deprecated": false,
"description": "",
@@ -8598,7 +8541,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/Student"
+ "$ref": "#/components/schemas/Session"
}
}
}
@@ -8636,7 +8579,7 @@
},
"summary": "",
"tags": [
- "Student"
+ "Session"
],
"parameters": [
{
@@ -8660,7 +8603,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/Student"
+ "$ref": "#/components/schemas/Session"
}
}
}
@@ -8698,7 +8641,7 @@
},
"summary": "",
"tags": [
- "Student"
+ "Session"
],
"requestBody": {
"description": "",
@@ -8706,7 +8649,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/NewStudent"
+ "$ref": "#/components/schemas/NewSession"
}
}
}
@@ -8772,91 +8715,8 @@
},
"summary": "",
"tags": [
- "Student"
- ],
- "parameters": [
- {
- "name": "id",
- "in": "path",
- "description": "",
- "deprecated": false,
- "required": true,
- "schema": {
- "type": "string"
- }
- }
- ]
- }
- },
- "/students/enrolled/{id}": {
- "put": {
- "deprecated": false,
- "description": "Update a record",
- "responses": {
- "200": {
- "description": "response",
- "content": {
- "application/json": {
- "schema": {
- "properties": {
- "foo": {
- "type": "string"
- }
- }
- }
- }
- }
- },
- "403": {
- "description": "Forbidden",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Error"
- }
- }
- }
- },
- "404": {
- "description": "Not found",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Error"
- }
- }
- }
- },
- "default": {
- "description": "unexpected error",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Error"
- }
- }
- }
- }
- },
- "summary": "",
- "tags": [
- "Student"
+ "Session"
],
- "requestBody": {
- "description": "",
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "properties": {
- "foo": {
- "type": "string"
- }
- }
- }
- }
- }
- },
"parameters": [
{
"name": "id",
@@ -8871,7 +8731,7 @@
]
}
},
- "/submissions": {
+ "/students": {
"get": {
"deprecated": false,
"description": "",
@@ -8883,7 +8743,7 @@
"schema": {
"type": "array",
"items": {
- "$ref": "#/components/schemas/Submission"
+ "$ref": "#/components/schemas/Student"
}
}
}
@@ -8922,7 +8782,7 @@
},
"summary": "",
"tags": [
- "Submission"
+ "Student"
],
"parameters": [
{
@@ -9072,7 +8932,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/Submission"
+ "$ref": "#/components/schemas/Student"
}
}
}
@@ -9110,7 +8970,7 @@
},
"summary": "",
"tags": [
- "Submission"
+ "Student"
],
"requestBody": {
"description": "",
@@ -9118,14 +8978,14 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/NewSubmission"
+ "$ref": "#/components/schemas/NewStudent"
}
}
}
}
}
},
- "/submissions/count": {
+ "/students/me": {
"get": {
"deprecated": false,
"description": "",
@@ -9136,8 +8996,8 @@
"application/json": {
"schema": {
"properties": {
- "count": {
- "type": "integer"
+ "foo": {
+ "type": "string"
}
}
}
@@ -9177,12 +9037,12 @@
},
"summary": "",
"tags": [
- "Submission"
+ "Student"
],
"parameters": []
}
},
- "/submissions/{id}": {
+ "/students/count": {
"get": {
"deprecated": false,
"description": "",
@@ -9192,7 +9052,11 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/Submission"
+ "properties": {
+ "count": {
+ "type": "integer"
+ }
+ }
}
}
}
@@ -9230,21 +9094,74 @@
},
"summary": "",
"tags": [
- "Submission"
+ "Student"
],
- "parameters": [
- {
- "name": "id",
- "in": "path",
- "description": "",
- "deprecated": false,
- "required": true,
- "schema": {
- "type": "string"
- }
- }
- ]
- },
+ "parameters": []
+ }
+ },
+ "/students/{id}": {
+ "get": {
+ "deprecated": false,
+ "description": "",
+ "responses": {
+ "200": {
+ "description": "response",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Student"
+ }
+ }
+ }
+ },
+ "403": {
+ "description": "Forbidden",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "Not found",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ }
+ }
+ }
+ },
+ "default": {
+ "description": "unexpected error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ }
+ }
+ }
+ }
+ },
+ "summary": "",
+ "tags": [
+ "Student"
+ ],
+ "parameters": [
+ {
+ "name": "id",
+ "in": "path",
+ "description": "",
+ "deprecated": false,
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ]
+ },
"put": {
"deprecated": false,
"description": "Update a record",
@@ -9254,7 +9171,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/Submission"
+ "$ref": "#/components/schemas/Student"
}
}
}
@@ -9292,7 +9209,7 @@
},
"summary": "",
"tags": [
- "Submission"
+ "Student"
],
"requestBody": {
"description": "",
@@ -9300,7 +9217,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/NewSubmission"
+ "$ref": "#/components/schemas/NewStudent"
}
}
}
@@ -9366,7 +9283,7 @@
},
"summary": "",
"tags": [
- "Submission"
+ "Student"
],
"parameters": [
{
@@ -9382,7 +9299,90 @@
]
}
},
- "/units": {
+ "/students/enrolled/{id}": {
+ "put": {
+ "deprecated": false,
+ "description": "Update a record",
+ "responses": {
+ "200": {
+ "description": "response",
+ "content": {
+ "application/json": {
+ "schema": {
+ "properties": {
+ "foo": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ }
+ },
+ "403": {
+ "description": "Forbidden",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "Not found",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ }
+ }
+ }
+ },
+ "default": {
+ "description": "unexpected error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ }
+ }
+ }
+ }
+ },
+ "summary": "",
+ "tags": [
+ "Student"
+ ],
+ "requestBody": {
+ "description": "",
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "properties": {
+ "foo": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ }
+ },
+ "parameters": [
+ {
+ "name": "id",
+ "in": "path",
+ "description": "",
+ "deprecated": false,
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ]
+ }
+ },
+ "/submissions": {
"get": {
"deprecated": false,
"description": "",
@@ -9394,7 +9394,7 @@
"schema": {
"type": "array",
"items": {
- "$ref": "#/components/schemas/Unit"
+ "$ref": "#/components/schemas/Submission"
}
}
}
@@ -9433,7 +9433,7 @@
},
"summary": "",
"tags": [
- "Unit"
+ "Submission"
],
"parameters": [
{
@@ -9583,7 +9583,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/Unit"
+ "$ref": "#/components/schemas/Submission"
}
}
}
@@ -9621,7 +9621,7 @@
},
"summary": "",
"tags": [
- "Unit"
+ "Submission"
],
"requestBody": {
"description": "",
@@ -9629,14 +9629,14 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/NewUnit"
+ "$ref": "#/components/schemas/NewSubmission"
}
}
}
}
}
},
- "/units/count": {
+ "/submissions/count": {
"get": {
"deprecated": false,
"description": "",
@@ -9688,12 +9688,12 @@
},
"summary": "",
"tags": [
- "Unit"
+ "Submission"
],
"parameters": []
}
},
- "/units/{id}": {
+ "/submissions/{id}": {
"get": {
"deprecated": false,
"description": "",
@@ -9703,7 +9703,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/Unit"
+ "$ref": "#/components/schemas/Submission"
}
}
}
@@ -9741,7 +9741,7 @@
},
"summary": "",
"tags": [
- "Unit"
+ "Submission"
],
"parameters": [
{
@@ -9765,7 +9765,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/Unit"
+ "$ref": "#/components/schemas/Submission"
}
}
}
@@ -9803,7 +9803,7 @@
},
"summary": "",
"tags": [
- "Unit"
+ "Submission"
],
"requestBody": {
"description": "",
@@ -9811,7 +9811,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/NewUnit"
+ "$ref": "#/components/schemas/NewSubmission"
}
}
}
@@ -9877,7 +9877,7 @@
},
"summary": "",
"tags": [
- "Unit"
+ "Submission"
],
"parameters": [
{
@@ -9893,20 +9893,19 @@
]
}
},
- "/email/": {
- "post": {
+ "/units": {
+ "get": {
"deprecated": false,
- "description": "Send an email",
+ "description": "",
"responses": {
"200": {
"description": "response",
"content": {
"application/json": {
"schema": {
- "properties": {
- "foo": {
- "type": "string"
- }
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Unit"
}
}
}
@@ -9945,280 +9944,18 @@
},
"summary": "",
"tags": [
- "Email - Email"
+ "Unit"
],
- "requestBody": {
- "description": "",
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "properties": {
- "foo": {
- "type": "string"
- }
- }
- }
- }
- }
- }
- }
- },
- "/email/test": {
- "post": {
- "deprecated": false,
- "description": "Send an test email",
- "responses": {
- "200": {
- "description": "response",
- "content": {
- "application/json": {
- "schema": {
- "properties": {
- "foo": {
- "type": "string"
- }
- }
- }
- }
- }
- },
- "403": {
- "description": "Forbidden",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Error"
- }
- }
- }
- },
- "404": {
- "description": "Not found",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Error"
- }
- }
- }
- },
- "default": {
- "description": "unexpected error",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Error"
- }
- }
- }
- }
- },
- "summary": "",
- "tags": [
- "Email - Email"
- ],
- "requestBody": {
- "description": "",
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "properties": {
- "foo": {
- "type": "string"
- }
- }
- }
- }
- }
- }
- }
- },
- "/email/settings": {
- "get": {
- "deprecated": false,
- "description": "Get the email settings",
- "responses": {
- "200": {
- "description": "response",
- "content": {
- "application/json": {
- "schema": {
- "properties": {
- "foo": {
- "type": "string"
- }
- }
- }
- }
- }
- },
- "403": {
- "description": "Forbidden",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Error"
- }
- }
- }
- },
- "404": {
- "description": "Not found",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Error"
- }
- }
- }
- },
- "default": {
- "description": "unexpected error",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Error"
- }
- }
- }
- }
- },
- "summary": "",
- "tags": [
- "Email - Email"
- ],
- "parameters": []
- }
- },
- "/users-permissions/roles/{id}": {
- "get": {
- "deprecated": false,
- "description": "Retrieve a role depending on its id",
- "responses": {
- "200": {
- "description": "response",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UsersPermissionsRole"
- }
- }
- }
- },
- "403": {
- "description": "Forbidden",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Error"
- }
- }
- }
- },
- "404": {
- "description": "Not found",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Error"
- }
- }
- }
- },
- "default": {
- "description": "unexpected error",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Error"
- }
- }
- }
- }
- },
- "summary": "",
- "tags": [
- "UsersPermissions - Role"
- ],
- "parameters": [
- {
- "name": "id",
- "in": "path",
- "description": "",
- "deprecated": false,
- "required": true,
- "schema": {
- "type": "string"
- }
- }
- ]
- }
- },
- "/users-permissions/roles": {
- "get": {
- "deprecated": false,
- "description": "Retrieve all role documents",
- "responses": {
- "200": {
- "description": "response",
- "content": {
- "application/json": {
- "schema": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/UsersPermissionsRole"
- }
- }
- }
- }
- },
- "403": {
- "description": "Forbidden",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Error"
- }
- }
- }
- },
- "404": {
- "description": "Not found",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Error"
- }
- }
- }
- },
- "default": {
- "description": "unexpected error",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Error"
- }
- }
- }
- }
- },
- "summary": "",
- "tags": [
- "UsersPermissions - Role"
- ],
- "parameters": [
- {
- "name": "_limit",
- "in": "query",
- "required": false,
- "description": "Maximum number of results possible",
- "schema": {
- "type": "integer"
- },
- "deprecated": false
+ "parameters": [
+ {
+ "name": "_limit",
+ "in": "query",
+ "required": false,
+ "description": "Maximum number of results possible",
+ "schema": {
+ "type": "integer"
+ },
+ "deprecated": false
},
{
"name": "_sort",
@@ -10350,14 +10087,14 @@
},
"post": {
"deprecated": false,
- "description": "Create a new role",
+ "description": "Create a new record",
"responses": {
"200": {
"description": "response",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/UsersPermissionsRole"
+ "$ref": "#/components/schemas/Unit"
}
}
}
@@ -10395,7 +10132,7 @@
},
"summary": "",
"tags": [
- "UsersPermissions - Role"
+ "Unit"
],
"requestBody": {
"description": "",
@@ -10403,24 +10140,28 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/NewUsersPermissionsRole"
+ "$ref": "#/components/schemas/NewUnit"
}
}
}
}
}
},
- "/users-permissions/roles/{role}": {
- "put": {
+ "/units/count": {
+ "get": {
"deprecated": false,
- "description": "Update a role",
+ "description": "",
"responses": {
"200": {
"description": "response",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/UsersPermissionsRole"
+ "properties": {
+ "count": {
+ "type": "integer"
+ }
+ }
}
}
}
@@ -10458,46 +10199,22 @@
},
"summary": "",
"tags": [
- "UsersPermissions - Role"
+ "Unit"
],
- "parameters": [
- {
- "name": "role",
- "in": "path",
- "description": "",
- "deprecated": false,
- "required": true,
- "schema": {
- "type": "string"
- }
- }
- ],
- "requestBody": {
- "description": "",
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/NewUsersPermissionsRole"
- }
- }
- }
- }
- },
- "delete": {
+ "parameters": []
+ }
+ },
+ "/units/{id}": {
+ "get": {
"deprecated": false,
- "description": "Delete a role",
+ "description": "",
"responses": {
"200": {
"description": "response",
"content": {
"application/json": {
"schema": {
- "properties": {
- "foo": {
- "type": "string"
- }
- }
+ "$ref": "#/components/schemas/Unit"
}
}
}
@@ -10535,11 +10252,11 @@
},
"summary": "",
"tags": [
- "UsersPermissions - Role"
+ "Unit"
],
"parameters": [
{
- "name": "role",
+ "name": "id",
"in": "path",
"description": "",
"deprecated": false,
@@ -10549,22 +10266,17 @@
}
}
]
- }
- },
- "/users-permissions/search/{id}": {
- "get": {
+ },
+ "put": {
"deprecated": false,
- "description": "Search for users",
+ "description": "Update a record",
"responses": {
"200": {
"description": "response",
"content": {
"application/json": {
"schema": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/UsersPermissionsUser"
- }
+ "$ref": "#/components/schemas/Unit"
}
}
}
@@ -10602,8 +10314,19 @@
},
"summary": "",
"tags": [
- "UsersPermissions - User"
+ "Unit"
],
+ "requestBody": {
+ "description": "",
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/NewUnit"
+ }
+ }
+ }
+ },
"parameters": [
{
"name": "id",
@@ -10614,161 +10337,20 @@
"schema": {
"type": "string"
}
- },
- {
- "name": "_limit",
- "in": "query",
- "required": false,
- "description": "Maximum number of results possible",
- "schema": {
- "type": "integer"
- },
- "deprecated": false
- },
- {
- "name": "_sort",
- "in": "query",
- "required": false,
- "description": "Sort according to a specific field.",
- "schema": {
- "type": "string"
- },
- "deprecated": false
- },
- {
- "name": "_start",
- "in": "query",
- "required": false,
- "description": "Skip a specific number of entries (especially useful for pagination)",
- "schema": {
- "type": "integer"
- },
- "deprecated": false
- },
- {
- "name": "=",
- "in": "query",
- "required": false,
- "description": "Get entries that matches exactly your input",
- "schema": {
- "type": "string"
- },
- "deprecated": false
- },
- {
- "name": "_ne",
- "in": "query",
- "required": false,
- "description": "Get records that are not equals to something",
- "schema": {
- "type": "string"
- },
- "deprecated": false
- },
- {
- "name": "_lt",
- "in": "query",
- "required": false,
- "description": "Get record that are lower than a value",
- "schema": {
- "type": "string"
- },
- "deprecated": false
- },
- {
- "name": "_lte",
- "in": "query",
- "required": false,
- "description": "Get records that are lower than or equal to a value",
- "schema": {
- "type": "string"
- },
- "deprecated": false
- },
- {
- "name": "_gt",
- "in": "query",
- "required": false,
- "description": "Get records that are greater than a value",
- "schema": {
- "type": "string"
- },
- "deprecated": false
- },
- {
- "name": "_gte",
- "in": "query",
- "required": false,
- "description": "Get records that are greater than or equal a value",
- "schema": {
- "type": "string"
- },
- "deprecated": false
- },
- {
- "name": "_contains",
- "in": "query",
- "required": false,
- "description": "Get records that contains a value",
- "schema": {
- "type": "string"
- },
- "deprecated": false
- },
- {
- "name": "_containss",
- "in": "query",
- "required": false,
- "description": "Get records that contains (case sensitive) a value",
- "schema": {
- "type": "string"
- },
- "deprecated": false
- },
- {
- "name": "_in",
- "in": "query",
- "required": false,
- "description": "Get records that matches any value in the array of values",
- "schema": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "deprecated": false
- },
- {
- "name": "_nin",
- "in": "query",
- "required": false,
- "description": "Get records that doesn't match any value in the array of values",
- "schema": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "deprecated": false
}
]
- }
- },
- "/connect/*": {
- "get": {
+ },
+ "delete": {
"deprecated": false,
- "description": "Connect a provider",
+ "description": "Delete a record",
"responses": {
"200": {
- "description": "response",
+ "description": "deletes a single record based on the ID supplied",
"content": {
"application/json": {
"schema": {
- "properties": {
- "foo": {
- "type": "string"
- }
- }
+ "type": "integer",
+ "format": "int64"
}
}
}
@@ -10806,15 +10388,26 @@
},
"summary": "",
"tags": [
- "UsersPermissions - User"
+ "Unit"
],
- "parameters": []
+ "parameters": [
+ {
+ "name": "id",
+ "in": "path",
+ "description": "",
+ "deprecated": false,
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ]
}
},
- "/auth/local": {
+ "/email/": {
"post": {
"deprecated": false,
- "description": "Login a user using the identifiers email and password",
+ "description": "Send an email",
"responses": {
"200": {
"description": "response",
@@ -10863,7 +10456,7 @@
},
"summary": "",
"tags": [
- "UsersPermissions - User"
+ "Email - Email"
],
"requestBody": {
"description": "",
@@ -10882,17 +10475,21 @@
}
}
},
- "/auth/local/register": {
+ "/email/test": {
"post": {
"deprecated": false,
- "description": "Register a new user with the default role",
+ "description": "Send an test email",
"responses": {
"200": {
"description": "response",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/UsersPermissionsUser"
+ "properties": {
+ "foo": {
+ "type": "string"
+ }
+ }
}
}
}
@@ -10930,7 +10527,7 @@
},
"summary": "",
"tags": [
- "UsersPermissions - User"
+ "Email - Email"
],
"requestBody": {
"description": "",
@@ -10938,17 +10535,21 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/NewUsersPermissionsUser"
+ "properties": {
+ "foo": {
+ "type": "string"
+ }
+ }
}
}
}
}
}
},
- "/auth/{provider}/callback": {
+ "/email/settings": {
"get": {
"deprecated": false,
- "description": "Successfull redirection after approving a provider",
+ "description": "Get the email settings",
"responses": {
"200": {
"description": "response",
@@ -10997,11 +10598,64 @@
},
"summary": "",
"tags": [
- "UsersPermissions - User"
+ "Email - Email"
+ ],
+ "parameters": []
+ }
+ },
+ "/users-permissions/roles/{id}": {
+ "get": {
+ "deprecated": false,
+ "description": "Retrieve a role depending on its id",
+ "responses": {
+ "200": {
+ "description": "response",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/UsersPermissionsRole"
+ }
+ }
+ }
+ },
+ "403": {
+ "description": "Forbidden",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "Not found",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ }
+ }
+ }
+ },
+ "default": {
+ "description": "unexpected error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ }
+ }
+ }
+ }
+ },
+ "summary": "",
+ "tags": [
+ "UsersPermissions - Role"
],
"parameters": [
{
- "name": "provider",
+ "name": "id",
"in": "path",
"description": "",
"deprecated": false,
@@ -11013,20 +10667,19 @@
]
}
},
- "/auth/forgot-password": {
- "post": {
+ "/users-permissions/roles": {
+ "get": {
"deprecated": false,
- "description": "Send the reset password email link",
+ "description": "Retrieve all role documents",
"responses": {
"200": {
"description": "response",
"content": {
"application/json": {
"schema": {
- "properties": {
- "foo": {
- "type": "string"
- }
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/UsersPermissionsRole"
}
}
}
@@ -11065,40 +10718,157 @@
},
"summary": "",
"tags": [
- "UsersPermissions - User"
+ "UsersPermissions - Role"
],
- "requestBody": {
- "description": "",
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "properties": {
- "foo": {
- "type": "string"
- }
- }
+ "parameters": [
+ {
+ "name": "_limit",
+ "in": "query",
+ "required": false,
+ "description": "Maximum number of results possible",
+ "schema": {
+ "type": "integer"
+ },
+ "deprecated": false
+ },
+ {
+ "name": "_sort",
+ "in": "query",
+ "required": false,
+ "description": "Sort according to a specific field.",
+ "schema": {
+ "type": "string"
+ },
+ "deprecated": false
+ },
+ {
+ "name": "_start",
+ "in": "query",
+ "required": false,
+ "description": "Skip a specific number of entries (especially useful for pagination)",
+ "schema": {
+ "type": "integer"
+ },
+ "deprecated": false
+ },
+ {
+ "name": "=",
+ "in": "query",
+ "required": false,
+ "description": "Get entries that matches exactly your input",
+ "schema": {
+ "type": "string"
+ },
+ "deprecated": false
+ },
+ {
+ "name": "_ne",
+ "in": "query",
+ "required": false,
+ "description": "Get records that are not equals to something",
+ "schema": {
+ "type": "string"
+ },
+ "deprecated": false
+ },
+ {
+ "name": "_lt",
+ "in": "query",
+ "required": false,
+ "description": "Get record that are lower than a value",
+ "schema": {
+ "type": "string"
+ },
+ "deprecated": false
+ },
+ {
+ "name": "_lte",
+ "in": "query",
+ "required": false,
+ "description": "Get records that are lower than or equal to a value",
+ "schema": {
+ "type": "string"
+ },
+ "deprecated": false
+ },
+ {
+ "name": "_gt",
+ "in": "query",
+ "required": false,
+ "description": "Get records that are greater than a value",
+ "schema": {
+ "type": "string"
+ },
+ "deprecated": false
+ },
+ {
+ "name": "_gte",
+ "in": "query",
+ "required": false,
+ "description": "Get records that are greater than or equal a value",
+ "schema": {
+ "type": "string"
+ },
+ "deprecated": false
+ },
+ {
+ "name": "_contains",
+ "in": "query",
+ "required": false,
+ "description": "Get records that contains a value",
+ "schema": {
+ "type": "string"
+ },
+ "deprecated": false
+ },
+ {
+ "name": "_containss",
+ "in": "query",
+ "required": false,
+ "description": "Get records that contains (case sensitive) a value",
+ "schema": {
+ "type": "string"
+ },
+ "deprecated": false
+ },
+ {
+ "name": "_in",
+ "in": "query",
+ "required": false,
+ "description": "Get records that matches any value in the array of values",
+ "schema": {
+ "type": "array",
+ "items": {
+ "type": "string"
}
- }
+ },
+ "deprecated": false
+ },
+ {
+ "name": "_nin",
+ "in": "query",
+ "required": false,
+ "description": "Get records that doesn't match any value in the array of values",
+ "schema": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "deprecated": false
}
- }
- }
- },
- "/auth/reset-password": {
+ ]
+ },
"post": {
"deprecated": false,
- "description": "Reset user password with a code (resetToken)",
+ "description": "Create a new role",
"responses": {
"200": {
"description": "response",
"content": {
"application/json": {
"schema": {
- "properties": {
- "foo": {
- "type": "string"
- }
- }
+ "$ref": "#/components/schemas/UsersPermissionsRole"
}
}
}
@@ -11136,7 +10906,7 @@
},
"summary": "",
"tags": [
- "UsersPermissions - User"
+ "UsersPermissions - Role"
],
"requestBody": {
"description": "",
@@ -11144,32 +10914,24 @@
"content": {
"application/json": {
"schema": {
- "properties": {
- "foo": {
- "type": "string"
- }
- }
+ "$ref": "#/components/schemas/NewUsersPermissionsRole"
}
}
}
}
}
},
- "/auth/email-confirmation": {
- "get": {
+ "/users-permissions/roles/{role}": {
+ "put": {
"deprecated": false,
- "description": "Validate a user account",
+ "description": "Update a role",
"responses": {
"200": {
"description": "response",
"content": {
"application/json": {
"schema": {
- "properties": {
- "foo": {
- "type": "string"
- }
- }
+ "$ref": "#/components/schemas/UsersPermissionsRole"
}
}
}
@@ -11207,15 +10969,35 @@
},
"summary": "",
"tags": [
- "UsersPermissions - User"
+ "UsersPermissions - Role"
],
- "parameters": []
- }
- },
- "/auth/send-email-confirmation": {
- "post": {
+ "parameters": [
+ {
+ "name": "role",
+ "in": "path",
+ "description": "",
+ "deprecated": false,
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "requestBody": {
+ "description": "",
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/NewUsersPermissionsRole"
+ }
+ }
+ }
+ }
+ },
+ "delete": {
"deprecated": false,
- "description": "Send a confirmation email to user",
+ "description": "Delete a role",
"responses": {
"200": {
"description": "response",
@@ -11264,29 +11046,26 @@
},
"summary": "",
"tags": [
- "UsersPermissions - User"
+ "UsersPermissions - Role"
],
- "requestBody": {
- "description": "",
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "properties": {
- "foo": {
- "type": "string"
- }
- }
- }
+ "parameters": [
+ {
+ "name": "role",
+ "in": "path",
+ "description": "",
+ "deprecated": false,
+ "required": true,
+ "schema": {
+ "type": "string"
}
}
- }
+ ]
}
},
- "/users": {
+ "/users-permissions/search/{id}": {
"get": {
"deprecated": false,
- "description": "Retrieve all user documents",
+ "description": "Search for users",
"responses": {
"200": {
"description": "response",
@@ -11337,6 +11116,16 @@
"UsersPermissions - User"
],
"parameters": [
+ {
+ "name": "id",
+ "in": "path",
+ "description": "",
+ "deprecated": false,
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ },
{
"name": "_limit",
"in": "query",
@@ -11476,17 +11265,21 @@
]
}
},
- "/users/me": {
+ "/connect/*": {
"get": {
"deprecated": false,
- "description": "Retrieve the logged in user information",
+ "description": "Connect a provider",
"responses": {
"200": {
"description": "response",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/UsersPermissionsUser"
+ "properties": {
+ "foo": {
+ "type": "string"
+ }
+ }
}
}
}
@@ -11529,17 +11322,21 @@
"parameters": []
}
},
- "/users/{id}": {
- "get": {
+ "/auth/local": {
+ "post": {
"deprecated": false,
- "description": "Retrieve a single user depending on his id",
+ "description": "Login a user using the identifiers email and password",
"responses": {
"200": {
"description": "response",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/UsersPermissionsUser"
+ "properties": {
+ "foo": {
+ "type": "string"
+ }
+ }
}
}
}
@@ -11579,22 +11376,27 @@
"tags": [
"UsersPermissions - User"
],
- "parameters": [
- {
- "name": "id",
- "in": "path",
- "description": "",
- "deprecated": false,
- "required": true,
- "schema": {
- "type": "string"
+ "requestBody": {
+ "description": "",
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "properties": {
+ "foo": {
+ "type": "string"
+ }
+ }
+ }
}
}
- ]
- },
- "put": {
+ }
+ }
+ },
+ "/auth/local/register": {
+ "post": {
"deprecated": false,
- "description": "Update an existing user",
+ "description": "Register a new user with the default role",
"responses": {
"200": {
"description": "response",
@@ -11641,18 +11443,6 @@
"tags": [
"UsersPermissions - User"
],
- "parameters": [
- {
- "name": "id",
- "in": "path",
- "description": "",
- "deprecated": false,
- "required": true,
- "schema": {
- "type": "string"
- }
- }
- ],
"requestBody": {
"description": "",
"required": true,
@@ -11664,10 +11454,12 @@
}
}
}
- },
- "delete": {
+ }
+ },
+ "/auth/{provider}/callback": {
+ "get": {
"deprecated": false,
- "description": "Delete an existing user",
+ "description": "Successfull redirection after approving a provider",
"responses": {
"200": {
"description": "response",
@@ -11720,7 +11512,7 @@
],
"parameters": [
{
- "name": "id",
+ "name": "provider",
"in": "path",
"description": "",
"deprecated": false,
@@ -11731,101 +11523,820 @@
}
]
}
- }
- },
- "components": {
- "schemas": {
- "Activity": {
- "required": [
- "id",
- "number",
- "template"
- ],
- "properties": {
- "id": {
- "type": "string"
- },
- "lesson_module": {
- "required": [
- "id",
- "number",
- "name"
- ],
- "properties": {
- "id": {
- "type": "string"
- },
- "number": {
- "type": "number"
- },
- "name": {
- "type": "string"
- },
- "expectations": {
- "type": "string"
- },
- "activities": {
- "type": "array",
- "items": {
- "type": "string"
+ },
+ "/auth/forgot-password": {
+ "post": {
+ "deprecated": false,
+ "description": "Send the reset password email link",
+ "responses": {
+ "200": {
+ "description": "response",
+ "content": {
+ "application/json": {
+ "schema": {
+ "properties": {
+ "foo": {
+ "type": "string"
+ }
+ }
}
- },
- "unit": {
- "type": "string"
- },
- "standards": {
- "type": "string"
- },
- "link": {
- "type": "string"
- },
- "created_by": {
- "type": "string"
- },
- "updated_by": {
- "type": "string"
}
}
},
- "number": {
- "type": "integer"
- },
- "template": {
- "type": "string"
- },
- "blocks": {
- "type": "array",
- "items": {
- "required": [
- "id",
- "name"
- ],
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "blocks_category": {
- "type": "string"
- },
- "image_url": {
- "type": "string"
- },
- "created_by": {
- "type": "string"
- },
- "updated_by": {
- "type": "string"
+ "403": {
+ "description": "Forbidden",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
}
}
}
},
- "description": {
+ "404": {
+ "description": "Not found",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ }
+ }
+ }
+ },
+ "default": {
+ "description": "unexpected error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ }
+ }
+ }
+ }
+ },
+ "summary": "",
+ "tags": [
+ "UsersPermissions - User"
+ ],
+ "requestBody": {
+ "description": "",
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "properties": {
+ "foo": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/auth/reset-password": {
+ "post": {
+ "deprecated": false,
+ "description": "Reset user password with a code (resetToken)",
+ "responses": {
+ "200": {
+ "description": "response",
+ "content": {
+ "application/json": {
+ "schema": {
+ "properties": {
+ "foo": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ }
+ },
+ "403": {
+ "description": "Forbidden",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "Not found",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ }
+ }
+ }
+ },
+ "default": {
+ "description": "unexpected error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ }
+ }
+ }
+ }
+ },
+ "summary": "",
+ "tags": [
+ "UsersPermissions - User"
+ ],
+ "requestBody": {
+ "description": "",
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "properties": {
+ "foo": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/auth/email-confirmation": {
+ "get": {
+ "deprecated": false,
+ "description": "Validate a user account",
+ "responses": {
+ "200": {
+ "description": "response",
+ "content": {
+ "application/json": {
+ "schema": {
+ "properties": {
+ "foo": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ }
+ },
+ "403": {
+ "description": "Forbidden",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "Not found",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ }
+ }
+ }
+ },
+ "default": {
+ "description": "unexpected error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ }
+ }
+ }
+ }
+ },
+ "summary": "",
+ "tags": [
+ "UsersPermissions - User"
+ ],
+ "parameters": []
+ }
+ },
+ "/auth/send-email-confirmation": {
+ "post": {
+ "deprecated": false,
+ "description": "Send a confirmation email to user",
+ "responses": {
+ "200": {
+ "description": "response",
+ "content": {
+ "application/json": {
+ "schema": {
+ "properties": {
+ "foo": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ }
+ },
+ "403": {
+ "description": "Forbidden",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "Not found",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ }
+ }
+ }
+ },
+ "default": {
+ "description": "unexpected error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ }
+ }
+ }
+ }
+ },
+ "summary": "",
+ "tags": [
+ "UsersPermissions - User"
+ ],
+ "requestBody": {
+ "description": "",
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "properties": {
+ "foo": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/users": {
+ "get": {
+ "deprecated": false,
+ "description": "Retrieve all user documents",
+ "responses": {
+ "200": {
+ "description": "response",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/UsersPermissionsUser"
+ }
+ }
+ }
+ }
+ },
+ "403": {
+ "description": "Forbidden",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "Not found",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ }
+ }
+ }
+ },
+ "default": {
+ "description": "unexpected error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ }
+ }
+ }
+ }
+ },
+ "summary": "",
+ "tags": [
+ "UsersPermissions - User"
+ ],
+ "parameters": [
+ {
+ "name": "_limit",
+ "in": "query",
+ "required": false,
+ "description": "Maximum number of results possible",
+ "schema": {
+ "type": "integer"
+ },
+ "deprecated": false
+ },
+ {
+ "name": "_sort",
+ "in": "query",
+ "required": false,
+ "description": "Sort according to a specific field.",
+ "schema": {
+ "type": "string"
+ },
+ "deprecated": false
+ },
+ {
+ "name": "_start",
+ "in": "query",
+ "required": false,
+ "description": "Skip a specific number of entries (especially useful for pagination)",
+ "schema": {
+ "type": "integer"
+ },
+ "deprecated": false
+ },
+ {
+ "name": "=",
+ "in": "query",
+ "required": false,
+ "description": "Get entries that matches exactly your input",
+ "schema": {
+ "type": "string"
+ },
+ "deprecated": false
+ },
+ {
+ "name": "_ne",
+ "in": "query",
+ "required": false,
+ "description": "Get records that are not equals to something",
+ "schema": {
+ "type": "string"
+ },
+ "deprecated": false
+ },
+ {
+ "name": "_lt",
+ "in": "query",
+ "required": false,
+ "description": "Get record that are lower than a value",
+ "schema": {
+ "type": "string"
+ },
+ "deprecated": false
+ },
+ {
+ "name": "_lte",
+ "in": "query",
+ "required": false,
+ "description": "Get records that are lower than or equal to a value",
+ "schema": {
+ "type": "string"
+ },
+ "deprecated": false
+ },
+ {
+ "name": "_gt",
+ "in": "query",
+ "required": false,
+ "description": "Get records that are greater than a value",
+ "schema": {
+ "type": "string"
+ },
+ "deprecated": false
+ },
+ {
+ "name": "_gte",
+ "in": "query",
+ "required": false,
+ "description": "Get records that are greater than or equal a value",
+ "schema": {
+ "type": "string"
+ },
+ "deprecated": false
+ },
+ {
+ "name": "_contains",
+ "in": "query",
+ "required": false,
+ "description": "Get records that contains a value",
+ "schema": {
+ "type": "string"
+ },
+ "deprecated": false
+ },
+ {
+ "name": "_containss",
+ "in": "query",
+ "required": false,
+ "description": "Get records that contains (case sensitive) a value",
+ "schema": {
+ "type": "string"
+ },
+ "deprecated": false
+ },
+ {
+ "name": "_in",
+ "in": "query",
+ "required": false,
+ "description": "Get records that matches any value in the array of values",
+ "schema": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "deprecated": false
+ },
+ {
+ "name": "_nin",
+ "in": "query",
+ "required": false,
+ "description": "Get records that doesn't match any value in the array of values",
+ "schema": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "deprecated": false
+ }
+ ]
+ }
+ },
+ "/users/me": {
+ "get": {
+ "deprecated": false,
+ "description": "Retrieve the logged in user information",
+ "responses": {
+ "200": {
+ "description": "response",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/UsersPermissionsUser"
+ }
+ }
+ }
+ },
+ "403": {
+ "description": "Forbidden",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "Not found",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ }
+ }
+ }
+ },
+ "default": {
+ "description": "unexpected error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ }
+ }
+ }
+ }
+ },
+ "summary": "",
+ "tags": [
+ "UsersPermissions - User"
+ ],
+ "parameters": []
+ }
+ },
+ "/users/{id}": {
+ "get": {
+ "deprecated": false,
+ "description": "Retrieve a single user depending on his id",
+ "responses": {
+ "200": {
+ "description": "response",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/UsersPermissionsUser"
+ }
+ }
+ }
+ },
+ "403": {
+ "description": "Forbidden",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "Not found",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ }
+ }
+ }
+ },
+ "default": {
+ "description": "unexpected error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ }
+ }
+ }
+ }
+ },
+ "summary": "",
+ "tags": [
+ "UsersPermissions - User"
+ ],
+ "parameters": [
+ {
+ "name": "id",
+ "in": "path",
+ "description": "",
+ "deprecated": false,
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ]
+ },
+ "put": {
+ "deprecated": false,
+ "description": "Update an existing user",
+ "responses": {
+ "200": {
+ "description": "response",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/UsersPermissionsUser"
+ }
+ }
+ }
+ },
+ "403": {
+ "description": "Forbidden",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "Not found",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ }
+ }
+ }
+ },
+ "default": {
+ "description": "unexpected error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ }
+ }
+ }
+ }
+ },
+ "summary": "",
+ "tags": [
+ "UsersPermissions - User"
+ ],
+ "parameters": [
+ {
+ "name": "id",
+ "in": "path",
+ "description": "",
+ "deprecated": false,
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "requestBody": {
+ "description": "",
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/NewUsersPermissionsUser"
+ }
+ }
+ }
+ }
+ },
+ "delete": {
+ "deprecated": false,
+ "description": "Delete an existing user",
+ "responses": {
+ "200": {
+ "description": "response",
+ "content": {
+ "application/json": {
+ "schema": {
+ "properties": {
+ "foo": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ }
+ },
+ "403": {
+ "description": "Forbidden",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "Not found",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ }
+ }
+ }
+ },
+ "default": {
+ "description": "unexpected error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ }
+ }
+ }
+ }
+ },
+ "summary": "",
+ "tags": [
+ "UsersPermissions - User"
+ ],
+ "parameters": [
+ {
+ "name": "id",
+ "in": "path",
+ "description": "",
+ "deprecated": false,
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ]
+ }
+ }
+ },
+ "components": {
+ "schemas": {
+ "Activity": {
+ "required": [
+ "id",
+ "number",
+ "template"
+ ],
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "lesson_module": {
+ "required": [
+ "id",
+ "number",
+ "name"
+ ],
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "number": {
+ "type": "number"
+ },
+ "name": {
+ "type": "string"
+ },
+ "expectations": {
+ "type": "string"
+ },
+ "activities": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "unit": {
+ "type": "string"
+ },
+ "standards": {
+ "type": "string"
+ },
+ "link": {
+ "type": "string"
+ },
+ "created_by": {
+ "type": "string"
+ },
+ "updated_by": {
+ "type": "string"
+ }
+ }
+ },
+ "number": {
+ "type": "integer"
+ },
+ "template": {
+ "type": "string"
+ },
+ "blocks": {
+ "type": "array",
+ "items": {
+ "required": [
+ "id",
+ "name"
+ ],
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "blocks_category": {
+ "type": "string"
+ },
+ "image_url": {
+ "type": "string"
+ },
+ "created_by": {
+ "type": "string"
+ },
+ "updated_by": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "description": {
"type": "string"
},
"StandardS": {
@@ -11873,6 +12384,52 @@
},
"activity_template": {
"type": "string"
+ },
+ "galleries": {
+ "type": "array",
+ "items": {
+ "required": [
+ "id"
+ ],
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "activity": {
+ "type": "string"
+ },
+ "unit": {
+ "type": "string"
+ },
+ "users_permissions_user": {
+ "type": "string"
+ },
+ "classroom": {
+ "type": "string"
+ },
+ "gallery": {
+ "type": "string"
+ },
+ "submission": {
+ "type": "string"
+ },
+ "lesson_module": {
+ "type": "string"
+ },
+ "published_at": {
+ "type": "string"
+ },
+ "created_by": {
+ "type": "string"
+ },
+ "updated_by": {
+ "type": "string"
+ }
+ }
+ }
}
}
},
@@ -11918,6 +12475,12 @@
"activity_template": {
"type": "string"
},
+ "galleries": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
"created_by": {
"type": "string"
},
@@ -11972,13 +12535,147 @@
"type": "string"
}
},
- "classroom": {
- "type": "string"
- },
- "published_at": {
- "type": "string",
- "format": "date-time"
- },
+ "classroom": {
+ "type": "string"
+ },
+ "published_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "created_by": {
+ "type": "string"
+ },
+ "updated_by": {
+ "type": "string"
+ }
+ }
+ },
+ "Block": {
+ "required": [
+ "id",
+ "name"
+ ],
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "blocks_category": {
+ "required": [
+ "id"
+ ],
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "blocks": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "created_by": {
+ "type": "string"
+ },
+ "updated_by": {
+ "type": "string"
+ }
+ }
+ },
+ "image_url": {
+ "type": "string"
+ }
+ }
+ },
+ "NewBlock": {
+ "required": [
+ "name"
+ ],
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "blocks_category": {
+ "type": "string"
+ },
+ "image_url": {
+ "type": "string"
+ },
+ "created_by": {
+ "type": "string"
+ },
+ "updated_by": {
+ "type": "string"
+ }
+ }
+ },
+ "Blocks-category": {
+ "required": [
+ "id"
+ ],
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "blocks": {
+ "type": "array",
+ "items": {
+ "required": [
+ "id",
+ "name"
+ ],
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "blocks_category": {
+ "type": "string"
+ },
+ "image_url": {
+ "type": "string"
+ },
+ "created_by": {
+ "type": "string"
+ },
+ "updated_by": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ }
+ },
+ "NewBlocks-category": {
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "blocks": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
"created_by": {
"type": "string"
},
@@ -11987,10 +12684,10 @@
}
}
},
- "Block": {
+ "Classroom": {
"required": [
"id",
- "name"
+ "code"
],
"properties": {
"id": {
@@ -11999,10 +12696,7 @@
"name": {
"type": "string"
},
- "description": {
- "type": "string"
- },
- "blocks_category": {
+ "school": {
"required": [
"id"
],
@@ -12013,7 +12707,19 @@
"name": {
"type": "string"
},
- "blocks": {
+ "county": {
+ "type": "string"
+ },
+ "state": {
+ "type": "string"
+ },
+ "classrooms": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "mentors": {
"type": "array",
"items": {
"type": "string"
@@ -12027,53 +12733,98 @@
}
}
},
- "image_url": {
- "type": "string"
- }
- }
- },
- "NewBlock": {
- "required": [
- "name"
- ],
- "properties": {
- "name": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "blocks_category": {
- "type": "string"
- },
- "image_url": {
- "type": "string"
- },
- "created_by": {
- "type": "string"
- },
- "updated_by": {
- "type": "string"
- }
- }
- },
- "Blocks-category": {
- "required": [
- "id"
- ],
- "properties": {
- "id": {
- "type": "string"
+ "sessions": {
+ "type": "array",
+ "items": {
+ "required": [
+ "id"
+ ],
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "classroom": {
+ "type": "string"
+ },
+ "students": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "submissions": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "saves": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "unit": {
+ "type": "string"
+ },
+ "grade": {
+ "type": "string"
+ },
+ "lesson_module": {
+ "type": "string"
+ },
+ "created_by": {
+ "type": "string"
+ },
+ "updated_by": {
+ "type": "string"
+ }
+ }
+ }
},
- "name": {
- "type": "string"
+ "mentors": {
+ "type": "array",
+ "items": {
+ "required": [
+ "id"
+ ],
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "first_name": {
+ "type": "string"
+ },
+ "last_name": {
+ "type": "string"
+ },
+ "school": {
+ "type": "string"
+ },
+ "classrooms": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "user": {
+ "type": "string"
+ },
+ "created_by": {
+ "type": "string"
+ },
+ "updated_by": {
+ "type": "string"
+ }
+ }
+ }
},
- "blocks": {
+ "students": {
"type": "array",
"items": {
"required": [
"id",
- "name"
+ "enrolled"
],
"properties": {
"id": {
@@ -12082,15 +12833,88 @@
"name": {
"type": "string"
},
- "description": {
+ "character": {
"type": "string"
},
- "blocks_category": {
+ "classroom": {
"type": "string"
},
- "image_url": {
+ "sessions": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "enrolled": {
+ "type": "boolean"
+ },
+ "last_logged_in": {
+ "type": "string"
+ },
+ "created_by": {
+ "type": "string"
+ },
+ "updated_by": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "code": {
+ "type": "string"
+ },
+ "grade": {
+ "required": [
+ "id",
+ "name"
+ ],
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "classrooms": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "units": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "created_by": {
+ "type": "string"
+ },
+ "updated_by": {
+ "type": "string"
+ }
+ }
+ },
+ "selections": {
+ "type": "array",
+ "items": {
+ "required": [
+ "id",
+ "current"
+ ],
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "classroom": {
+ "type": "string"
+ },
+ "lesson_module": {
"type": "string"
},
+ "current": {
+ "type": "boolean"
+ },
"created_by": {
"type": "string"
},
@@ -12099,15 +12923,51 @@
}
}
}
- }
- }
- },
- "NewBlocks-category": {
- "properties": {
- "name": {
+ }
+ }
+ },
+ "NewClassroom": {
+ "required": [
+ "code"
+ ],
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "school": {
+ "type": "string"
+ },
+ "sessions": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "mentors": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "students": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "code": {
"type": "string"
},
- "blocks": {
+ "grade": {
+ "type": "string"
+ },
+ "selections": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "authorized_workspaces": {
"type": "array",
"items": {
"type": "string"
@@ -12121,10 +12981,9 @@
}
}
},
- "Classroom": {
+ "Gallery": {
"required": [
- "id",
- "code"
+ "id"
],
"properties": {
"id": {
@@ -12133,30 +12992,53 @@
"name": {
"type": "string"
},
- "school": {
+ "activity": {
"required": [
- "id"
+ "id",
+ "number",
+ "template"
],
"properties": {
"id": {
"type": "string"
},
- "name": {
+ "lesson_module": {
"type": "string"
},
- "county": {
+ "number": {
+ "type": "integer"
+ },
+ "template": {
"type": "string"
},
- "state": {
+ "blocks": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "description": {
"type": "string"
},
- "classrooms": {
+ "StandardS": {
+ "type": "string"
+ },
+ "images": {
+ "type": "string"
+ },
+ "link": {
+ "type": "string"
+ },
+ "learning_components": {
"type": "array",
"items": {
"type": "string"
}
},
- "mentors": {
+ "activity_template": {
+ "type": "string"
+ },
+ "galleries": {
"type": "array",
"items": {
"type": "string"
@@ -12170,140 +13052,94 @@
}
}
},
- "sessions": {
- "type": "array",
- "items": {
- "required": [
- "id"
- ],
- "properties": {
- "id": {
- "type": "string"
- },
- "classroom": {
- "type": "string"
- },
- "students": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "submissions": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "saves": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "unit": {
- "type": "string"
- },
- "grade": {
- "type": "string"
- },
- "lesson_module": {
- "type": "string"
- },
- "created_by": {
- "type": "string"
- },
- "updated_by": {
- "type": "string"
- }
- }
- }
- },
- "mentors": {
- "type": "array",
- "items": {
- "required": [
- "id"
- ],
- "properties": {
- "id": {
- "type": "string"
- },
- "first_name": {
- "type": "string"
- },
- "last_name": {
- "type": "string"
- },
- "school": {
- "type": "string"
- },
- "classrooms": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "user": {
- "type": "string"
- },
- "created_by": {
- "type": "string"
- },
- "updated_by": {
+ "unit": {
+ "required": [
+ "id",
+ "name",
+ "number"
+ ],
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "grade": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "standards_id": {
+ "type": "string"
+ },
+ "standards_description": {
+ "type": "string"
+ },
+ "number": {
+ "type": "integer"
+ },
+ "lesson_modules": {
+ "type": "array",
+ "items": {
"type": "string"
}
+ },
+ "created_by": {
+ "type": "string"
+ },
+ "updated_by": {
+ "type": "string"
}
}
},
- "students": {
- "type": "array",
- "items": {
- "required": [
- "id",
- "enrolled"
- ],
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "character": {
- "type": "string"
- },
- "classroom": {
- "type": "string"
- },
- "sessions": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "enrolled": {
- "type": "boolean"
- },
- "last_logged_in": {
- "type": "string"
- },
- "created_by": {
- "type": "string"
- },
- "updated_by": {
- "type": "string"
- }
+ "users_permissions_user": {
+ "required": [
+ "id",
+ "username",
+ "email"
+ ],
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "username": {
+ "type": "string"
+ },
+ "email": {
+ "type": "string"
+ },
+ "provider": {
+ "type": "string"
+ },
+ "password": {
+ "type": "string"
+ },
+ "resetPasswordToken": {
+ "type": "string"
+ },
+ "confirmationToken": {
+ "type": "string"
+ },
+ "confirmed": {
+ "type": "boolean"
+ },
+ "blocked": {
+ "type": "boolean"
+ },
+ "role": {
+ "type": "string"
+ },
+ "created_by": {
+ "type": "string"
+ },
+ "updated_by": {
+ "type": "string"
}
}
},
- "code": {
- "type": "string"
- },
- "grade": {
+ "classroom": {
"required": [
"id",
- "name"
+ "code"
],
"properties": {
"id": {
@@ -12312,13 +13148,40 @@
"name": {
"type": "string"
},
- "classrooms": {
+ "school": {
+ "type": "string"
+ },
+ "sessions": {
"type": "array",
"items": {
"type": "string"
}
},
- "units": {
+ "mentors": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "students": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "code": {
+ "type": "string"
+ },
+ "grade": {
+ "type": "string"
+ },
+ "selections": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "authorized_workspaces": {
"type": "array",
"items": {
"type": "string"
@@ -12332,83 +13195,183 @@
}
}
},
- "selections": {
- "type": "array",
- "items": {
- "required": [
- "id",
- "current"
- ],
- "properties": {
- "id": {
- "type": "string"
- },
- "classroom": {
- "type": "string"
- },
- "lesson_module": {
- "type": "string"
- },
- "current": {
- "type": "boolean"
- },
- "created_by": {
- "type": "string"
- },
- "updated_by": {
+ "gallery": {
+ "required": [
+ "id"
+ ],
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "activity": {
+ "type": "string"
+ },
+ "unit": {
+ "type": "string"
+ },
+ "users_permissions_user": {
+ "type": "string"
+ },
+ "classroom": {
+ "type": "string"
+ },
+ "gallery": {
+ "type": "string"
+ },
+ "submission": {
+ "type": "string"
+ },
+ "lesson_module": {
+ "type": "string"
+ },
+ "published_at": {
+ "type": "string"
+ },
+ "created_by": {
+ "type": "string"
+ },
+ "updated_by": {
+ "type": "string"
+ }
+ }
+ },
+ "submission": {
+ "required": [
+ "id",
+ "status",
+ "workspace",
+ "board",
+ "sketch",
+ "sandbox"
+ ],
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "status": {
+ "type": "string"
+ },
+ "workspace": {
+ "type": "string"
+ },
+ "success": {
+ "type": "boolean"
+ },
+ "hex": {
+ "type": "string"
+ },
+ "stdout": {
+ "type": "string"
+ },
+ "stderr": {
+ "type": "string"
+ },
+ "board": {
+ "type": "string"
+ },
+ "sketch": {
+ "type": "string"
+ },
+ "sandbox": {
+ "type": "boolean"
+ },
+ "session": {
+ "type": "string"
+ },
+ "activity": {
+ "type": "string"
+ },
+ "job_id": {
+ "type": "integer"
+ },
+ "created_by": {
+ "type": "string"
+ },
+ "updated_by": {
+ "type": "string"
+ }
+ }
+ },
+ "lesson_module": {
+ "required": [
+ "id",
+ "number",
+ "name"
+ ],
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "number": {
+ "type": "number"
+ },
+ "name": {
+ "type": "string"
+ },
+ "expectations": {
+ "type": "string"
+ },
+ "activities": {
+ "type": "array",
+ "items": {
"type": "string"
}
+ },
+ "unit": {
+ "type": "string"
+ },
+ "standards": {
+ "type": "string"
+ },
+ "link": {
+ "type": "string"
+ },
+ "created_by": {
+ "type": "string"
+ },
+ "updated_by": {
+ "type": "string"
}
}
+ },
+ "published_at": {
+ "type": "string",
+ "format": "date-time"
}
}
},
- "NewClassroom": {
- "required": [
- "code"
- ],
+ "NewGallery": {
"properties": {
"name": {
"type": "string"
},
- "school": {
+ "activity": {
"type": "string"
},
- "sessions": {
- "type": "array",
- "items": {
- "type": "string"
- }
+ "unit": {
+ "type": "string"
},
- "mentors": {
- "type": "array",
- "items": {
- "type": "string"
- }
+ "users_permissions_user": {
+ "type": "string"
},
- "students": {
- "type": "array",
- "items": {
- "type": "string"
- }
+ "classroom": {
+ "type": "string"
},
- "code": {
+ "gallery": {
"type": "string"
},
- "grade": {
+ "submission": {
"type": "string"
},
- "selections": {
- "type": "array",
- "items": {
- "type": "string"
- }
+ "lesson_module": {
+ "type": "string"
},
- "authorized_workspaces": {
- "type": "array",
- "items": {
- "type": "string"
- }
+ "published_at": {
+ "type": "string",
+ "format": "date-time"
},
"created_by": {
"type": "string"
@@ -12697,6 +13660,12 @@
"activity_template": {
"type": "string"
},
+ "galleries": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
"created_by": {
"type": "string"
},
@@ -12833,6 +13802,12 @@
"activity_template": {
"type": "string"
},
+ "galleries": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
"created_by": {
"type": "string"
},
@@ -13170,6 +14145,12 @@
"activity_template": {
"type": "string"
},
+ "galleries": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
"created_by": {
"type": "string"
},
@@ -14247,6 +15228,12 @@
"activity_template": {
"type": "string"
},
+ "galleries": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
"created_by": {
"type": "string"
},
@@ -14749,6 +15736,9 @@
{
"name": "Email"
},
+ {
+ "name": "Gallery"
+ },
{
"name": "Grade"
},
diff --git a/server/extensions/documentation/public/index.html b/server/extensions/documentation/public/index.html
index 4ac662fdc..c0735e676 100644
--- a/server/extensions/documentation/public/index.html
+++ b/server/extensions/documentation/public/index.html
@@ -33,7 +33,7 @@
window.onload = function() {
const ui = SwaggerUIBundle({
url: "https://petstore.swagger.io/v2/swagger.json",
- spec: {"openapi":"3.0.0","info":{"version":"1.0.0","title":"DOCUMENTATION","description":"","termsOfService":"YOUR_TERMS_OF_SERVICE_URL","contact":{"name":"TEAM","email":"contact-email@something.io","url":"mywebsite.io"},"license":{"name":"Apache 2.0","url":"https://www.apache.org/licenses/LICENSE-2.0.html"},"x-generation-date":"04/21/2022 9:15:45 PM"},"x-strapi-config":{"path":"/documentation","showGeneratedFiles":true,"generateDefaultResponse":true},"servers":[{"url":"http://localhost:1337","description":"Development server"},{"url":"YOUR_STAGING_SERVER","description":"Staging server"},{"url":"YOUR_PRODUCTION_SERVER","description":"Production server"}],"externalDocs":{"description":"Find out more","url":"https://strapi.io/documentation/developer-docs/latest/getting-started/introduction.html"},"security":[{"bearerAuth":[]}],"paths":{"/blocks":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Block"}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Block"],"parameters":[{"name":"_limit","in":"query","required":false,"description":"Maximum number of results possible","schema":{"type":"integer"},"deprecated":false},{"name":"_sort","in":"query","required":false,"description":"Sort according to a specific field.","schema":{"type":"string"},"deprecated":false},{"name":"_start","in":"query","required":false,"description":"Skip a specific number of entries (especially useful for pagination)","schema":{"type":"integer"},"deprecated":false},{"name":"=","in":"query","required":false,"description":"Get entries that matches exactly your input","schema":{"type":"string"},"deprecated":false},{"name":"_ne","in":"query","required":false,"description":"Get records that are not equals to something","schema":{"type":"string"},"deprecated":false},{"name":"_lt","in":"query","required":false,"description":"Get record that are lower than a value","schema":{"type":"string"},"deprecated":false},{"name":"_lte","in":"query","required":false,"description":"Get records that are lower than or equal to a value","schema":{"type":"string"},"deprecated":false},{"name":"_gt","in":"query","required":false,"description":"Get records that are greater than a value","schema":{"type":"string"},"deprecated":false},{"name":"_gte","in":"query","required":false,"description":"Get records that are greater than or equal a value","schema":{"type":"string"},"deprecated":false},{"name":"_contains","in":"query","required":false,"description":"Get records that contains a value","schema":{"type":"string"},"deprecated":false},{"name":"_containss","in":"query","required":false,"description":"Get records that contains (case sensitive) a value","schema":{"type":"string"},"deprecated":false},{"name":"_in","in":"query","required":false,"description":"Get records that matches any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false},{"name":"_nin","in":"query","required":false,"description":"Get records that doesn't match any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false}]},"post":{"deprecated":false,"description":"Create a new record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Block"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Block"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewBlock"}}}}}},"/blocks/count":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Block"],"parameters":[]}},"/blocks/{id}":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Block"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Block"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"put":{"deprecated":false,"description":"Update a record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Block"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Block"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewBlock"}}}},"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"delete":{"deprecated":false,"description":"Delete a record","responses":{"200":{"description":"deletes a single record based on the ID supplied","content":{"application/json":{"schema":{"type":"integer","format":"int64"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Block"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]}},"/blocks-categories":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Blocks-category"],"parameters":[{"name":"_limit","in":"query","required":false,"description":"Maximum number of results possible","schema":{"type":"integer"},"deprecated":false},{"name":"_sort","in":"query","required":false,"description":"Sort according to a specific field.","schema":{"type":"string"},"deprecated":false},{"name":"_start","in":"query","required":false,"description":"Skip a specific number of entries (especially useful for pagination)","schema":{"type":"integer"},"deprecated":false},{"name":"=","in":"query","required":false,"description":"Get entries that matches exactly your input","schema":{"type":"string"},"deprecated":false},{"name":"_ne","in":"query","required":false,"description":"Get records that are not equals to something","schema":{"type":"string"},"deprecated":false},{"name":"_lt","in":"query","required":false,"description":"Get record that are lower than a value","schema":{"type":"string"},"deprecated":false},{"name":"_lte","in":"query","required":false,"description":"Get records that are lower than or equal to a value","schema":{"type":"string"},"deprecated":false},{"name":"_gt","in":"query","required":false,"description":"Get records that are greater than a value","schema":{"type":"string"},"deprecated":false},{"name":"_gte","in":"query","required":false,"description":"Get records that are greater than or equal a value","schema":{"type":"string"},"deprecated":false},{"name":"_contains","in":"query","required":false,"description":"Get records that contains a value","schema":{"type":"string"},"deprecated":false},{"name":"_containss","in":"query","required":false,"description":"Get records that contains (case sensitive) a value","schema":{"type":"string"},"deprecated":false},{"name":"_in","in":"query","required":false,"description":"Get records that matches any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false},{"name":"_nin","in":"query","required":false,"description":"Get records that doesn't match any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false}]},"post":{"deprecated":false,"description":"Create a new record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Blocks-category"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewBlocks-category"}}}}}},"/blocks-categories/count":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Blocks-category"],"parameters":[]}},"/blocks-categories/{id}":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Blocks-category"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"put":{"deprecated":false,"description":"Update a record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Blocks-category"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewBlocks-category"}}}},"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"delete":{"deprecated":false,"description":"Delete a record","responses":{"200":{"description":"deletes a single record based on the ID supplied","content":{"application/json":{"schema":{"type":"integer","format":"int64"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Blocks-category"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]}},"/authorized-workspaces":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Authorized-workspace"],"parameters":[{"name":"_limit","in":"query","required":false,"description":"Maximum number of results possible","schema":{"type":"integer"},"deprecated":false},{"name":"_sort","in":"query","required":false,"description":"Sort according to a specific field.","schema":{"type":"string"},"deprecated":false},{"name":"_start","in":"query","required":false,"description":"Skip a specific number of entries (especially useful for pagination)","schema":{"type":"integer"},"deprecated":false},{"name":"=","in":"query","required":false,"description":"Get entries that matches exactly your input","schema":{"type":"string"},"deprecated":false},{"name":"_ne","in":"query","required":false,"description":"Get records that are not equals to something","schema":{"type":"string"},"deprecated":false},{"name":"_lt","in":"query","required":false,"description":"Get record that are lower than a value","schema":{"type":"string"},"deprecated":false},{"name":"_lte","in":"query","required":false,"description":"Get records that are lower than or equal to a value","schema":{"type":"string"},"deprecated":false},{"name":"_gt","in":"query","required":false,"description":"Get records that are greater than a value","schema":{"type":"string"},"deprecated":false},{"name":"_gte","in":"query","required":false,"description":"Get records that are greater than or equal a value","schema":{"type":"string"},"deprecated":false},{"name":"_contains","in":"query","required":false,"description":"Get records that contains a value","schema":{"type":"string"},"deprecated":false},{"name":"_containss","in":"query","required":false,"description":"Get records that contains (case sensitive) a value","schema":{"type":"string"},"deprecated":false},{"name":"_in","in":"query","required":false,"description":"Get records that matches any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false},{"name":"_nin","in":"query","required":false,"description":"Get records that doesn't match any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false}]},"post":{"deprecated":false,"description":"Create a new record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Authorized-workspace"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewAuthorized-workspace"}}}}}},"/authorized-workspaces/count":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Authorized-workspace"],"parameters":[]}},"/authorized-workspaces/{id}":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Authorized-workspace"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"put":{"deprecated":false,"description":"Update a record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Authorized-workspace"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewAuthorized-workspace"}}}},"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"delete":{"deprecated":false,"description":"Delete a record","responses":{"200":{"description":"deletes a single record based on the ID supplied","content":{"application/json":{"schema":{"type":"integer","format":"int64"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Authorized-workspace"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]}},"/authorized-workspaces/toolbox/{id}":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Authorized-workspace"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]}},"/classroom-managers/me":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Classroom-manager"],"parameters":[]}},"/classrooms":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Classroom"}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Classroom"],"parameters":[{"name":"_limit","in":"query","required":false,"description":"Maximum number of results possible","schema":{"type":"integer"},"deprecated":false},{"name":"_sort","in":"query","required":false,"description":"Sort according to a specific field.","schema":{"type":"string"},"deprecated":false},{"name":"_start","in":"query","required":false,"description":"Skip a specific number of entries (especially useful for pagination)","schema":{"type":"integer"},"deprecated":false},{"name":"=","in":"query","required":false,"description":"Get entries that matches exactly your input","schema":{"type":"string"},"deprecated":false},{"name":"_ne","in":"query","required":false,"description":"Get records that are not equals to something","schema":{"type":"string"},"deprecated":false},{"name":"_lt","in":"query","required":false,"description":"Get record that are lower than a value","schema":{"type":"string"},"deprecated":false},{"name":"_lte","in":"query","required":false,"description":"Get records that are lower than or equal to a value","schema":{"type":"string"},"deprecated":false},{"name":"_gt","in":"query","required":false,"description":"Get records that are greater than a value","schema":{"type":"string"},"deprecated":false},{"name":"_gte","in":"query","required":false,"description":"Get records that are greater than or equal a value","schema":{"type":"string"},"deprecated":false},{"name":"_contains","in":"query","required":false,"description":"Get records that contains a value","schema":{"type":"string"},"deprecated":false},{"name":"_containss","in":"query","required":false,"description":"Get records that contains (case sensitive) a value","schema":{"type":"string"},"deprecated":false},{"name":"_in","in":"query","required":false,"description":"Get records that matches any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false},{"name":"_nin","in":"query","required":false,"description":"Get records that doesn't match any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false}]},"post":{"deprecated":false,"description":"Create a new record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Classroom"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Classroom"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewClassroom"}}}}}},"/classrooms/count":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Classroom"],"parameters":[]}},"/classrooms/student":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Classroom"],"parameters":[]}},"/classrooms/{id}":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Classroom"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Classroom"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"put":{"deprecated":false,"description":"Update a record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Classroom"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Classroom"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewClassroom"}}}},"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"delete":{"deprecated":false,"description":"Delete a record","responses":{"200":{"description":"deletes a single record based on the ID supplied","content":{"application/json":{"schema":{"type":"integer","format":"int64"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Classroom"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]}},"/classroom/workspaces/{id}":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"Retrieve classroom document(s)","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Classroom"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]}},"/classrooms/join/{code}":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Classroom"],"parameters":[{"name":"code","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"post":{"deprecated":false,"description":"Create a new record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Classroom"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}}}},"/activities":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Activity"}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Activity"],"parameters":[{"name":"_limit","in":"query","required":false,"description":"Maximum number of results possible","schema":{"type":"integer"},"deprecated":false},{"name":"_sort","in":"query","required":false,"description":"Sort according to a specific field.","schema":{"type":"string"},"deprecated":false},{"name":"_start","in":"query","required":false,"description":"Skip a specific number of entries (especially useful for pagination)","schema":{"type":"integer"},"deprecated":false},{"name":"=","in":"query","required":false,"description":"Get entries that matches exactly your input","schema":{"type":"string"},"deprecated":false},{"name":"_ne","in":"query","required":false,"description":"Get records that are not equals to something","schema":{"type":"string"},"deprecated":false},{"name":"_lt","in":"query","required":false,"description":"Get record that are lower than a value","schema":{"type":"string"},"deprecated":false},{"name":"_lte","in":"query","required":false,"description":"Get records that are lower than or equal to a value","schema":{"type":"string"},"deprecated":false},{"name":"_gt","in":"query","required":false,"description":"Get records that are greater than a value","schema":{"type":"string"},"deprecated":false},{"name":"_gte","in":"query","required":false,"description":"Get records that are greater than or equal a value","schema":{"type":"string"},"deprecated":false},{"name":"_contains","in":"query","required":false,"description":"Get records that contains a value","schema":{"type":"string"},"deprecated":false},{"name":"_containss","in":"query","required":false,"description":"Get records that contains (case sensitive) a value","schema":{"type":"string"},"deprecated":false},{"name":"_in","in":"query","required":false,"description":"Get records that matches any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false},{"name":"_nin","in":"query","required":false,"description":"Get records that doesn't match any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false}]},"post":{"deprecated":false,"description":"Create a new record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Activity"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Activity"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewActivity"}}}}}},"/activities/count":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Activity"],"parameters":[]}},"/activities/{id}":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Activity"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Activity"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"put":{"deprecated":false,"description":"Update a record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Activity"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Activity"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewActivity"}}}},"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"delete":{"deprecated":false,"description":"Delete a record","responses":{"200":{"description":"deletes a single record based on the ID supplied","content":{"application/json":{"schema":{"type":"integer","format":"int64"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Activity"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]}},"/activities/toolbox/{id}":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Activity"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]}},"/activities/template/{id}":{"put":{"deprecated":false,"description":"Update a record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Activity"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]}},"/activities/activity_template/{id}":{"put":{"deprecated":false,"description":"Update a record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Activity"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]}},"/bug-report":{"post":{"deprecated":false,"description":"Create a new record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Email"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}}}},"/grades":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Grade"}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Grade"],"parameters":[{"name":"_limit","in":"query","required":false,"description":"Maximum number of results possible","schema":{"type":"integer"},"deprecated":false},{"name":"_sort","in":"query","required":false,"description":"Sort according to a specific field.","schema":{"type":"string"},"deprecated":false},{"name":"_start","in":"query","required":false,"description":"Skip a specific number of entries (especially useful for pagination)","schema":{"type":"integer"},"deprecated":false},{"name":"=","in":"query","required":false,"description":"Get entries that matches exactly your input","schema":{"type":"string"},"deprecated":false},{"name":"_ne","in":"query","required":false,"description":"Get records that are not equals to something","schema":{"type":"string"},"deprecated":false},{"name":"_lt","in":"query","required":false,"description":"Get record that are lower than a value","schema":{"type":"string"},"deprecated":false},{"name":"_lte","in":"query","required":false,"description":"Get records that are lower than or equal to a value","schema":{"type":"string"},"deprecated":false},{"name":"_gt","in":"query","required":false,"description":"Get records that are greater than a value","schema":{"type":"string"},"deprecated":false},{"name":"_gte","in":"query","required":false,"description":"Get records that are greater than or equal a value","schema":{"type":"string"},"deprecated":false},{"name":"_contains","in":"query","required":false,"description":"Get records that contains a value","schema":{"type":"string"},"deprecated":false},{"name":"_containss","in":"query","required":false,"description":"Get records that contains (case sensitive) a value","schema":{"type":"string"},"deprecated":false},{"name":"_in","in":"query","required":false,"description":"Get records that matches any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false},{"name":"_nin","in":"query","required":false,"description":"Get records that doesn't match any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false}]},"post":{"deprecated":false,"description":"Create a new record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Grade"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Grade"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewGrade"}}}}}},"/grades/count":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Grade"],"parameters":[]}},"/grades/{id}":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Grade"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Grade"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"put":{"deprecated":false,"description":"Update a record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Grade"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Grade"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewGrade"}}}},"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"delete":{"deprecated":false,"description":"Delete a record","responses":{"200":{"description":"deletes a single record based on the ID supplied","content":{"application/json":{"schema":{"type":"integer","format":"int64"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Grade"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]}},"/learning-component-types":{"get":{"deprecated":false,"description":"Find all the learning-component-types's records","responses":{"200":{"description":"Retrieve learning-component-types document(s)","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Learning-component-types"],"parameters":[{"name":"_limit","in":"query","required":false,"description":"Maximum number of results possible","schema":{"type":"integer"},"deprecated":false},{"name":"_sort","in":"query","required":false,"description":"Sort according to a specific field.","schema":{"type":"string"},"deprecated":false},{"name":"_start","in":"query","required":false,"description":"Skip a specific number of entries (especially useful for pagination)","schema":{"type":"integer"},"deprecated":false},{"name":"=","in":"query","required":false,"description":"Get entries that matches exactly your input","schema":{"type":"string"},"deprecated":false},{"name":"_ne","in":"query","required":false,"description":"Get records that are not equals to something","schema":{"type":"string"},"deprecated":false},{"name":"_lt","in":"query","required":false,"description":"Get record that are lower than a value","schema":{"type":"string"},"deprecated":false},{"name":"_lte","in":"query","required":false,"description":"Get records that are lower than or equal to a value","schema":{"type":"string"},"deprecated":false},{"name":"_gt","in":"query","required":false,"description":"Get records that are greater than a value","schema":{"type":"string"},"deprecated":false},{"name":"_gte","in":"query","required":false,"description":"Get records that are greater than or equal a value","schema":{"type":"string"},"deprecated":false},{"name":"_contains","in":"query","required":false,"description":"Get records that contains a value","schema":{"type":"string"},"deprecated":false},{"name":"_containss","in":"query","required":false,"description":"Get records that contains (case sensitive) a value","schema":{"type":"string"},"deprecated":false},{"name":"_in","in":"query","required":false,"description":"Get records that matches any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false},{"name":"_nin","in":"query","required":false,"description":"Get records that doesn't match any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false}]},"post":{"deprecated":false,"description":"Create a new learning-component-types record","responses":{"200":{"description":"Retrieve learning-component-types document(s)","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Learning-component-types"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewLearning-component-types"}}}}}},"/learning-component-types/count":{"get":{"deprecated":false,"description":"Retrieve the number of learning-component-types documents","responses":{"200":{"description":"Retrieve learning-component-types document(s)","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Learning-component-types"],"parameters":[]}},"/learning-component-types/{id}":{"get":{"deprecated":false,"description":"Find one learning-component-types record","responses":{"200":{"description":"Retrieve learning-component-types document(s)","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Learning-component-types"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"put":{"deprecated":false,"description":"Update a single learning-component-types record","responses":{"200":{"description":"Retrieve learning-component-types document(s)","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Learning-component-types"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewLearning-component-types"}}}},"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"delete":{"deprecated":false,"description":"Delete a single learning-component-types record","responses":{"200":{"description":"deletes a single learning-component-types based on the ID supplied","content":{"application/json":{"schema":{"type":"integer","format":"int64"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Learning-component-types"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]}},"/learning-components":{"get":{"deprecated":false,"description":"Find all the learning-components's records","responses":{"200":{"description":"Retrieve learning-components document(s)","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Learning-components"],"parameters":[{"name":"_limit","in":"query","required":false,"description":"Maximum number of results possible","schema":{"type":"integer"},"deprecated":false},{"name":"_sort","in":"query","required":false,"description":"Sort according to a specific field.","schema":{"type":"string"},"deprecated":false},{"name":"_start","in":"query","required":false,"description":"Skip a specific number of entries (especially useful for pagination)","schema":{"type":"integer"},"deprecated":false},{"name":"=","in":"query","required":false,"description":"Get entries that matches exactly your input","schema":{"type":"string"},"deprecated":false},{"name":"_ne","in":"query","required":false,"description":"Get records that are not equals to something","schema":{"type":"string"},"deprecated":false},{"name":"_lt","in":"query","required":false,"description":"Get record that are lower than a value","schema":{"type":"string"},"deprecated":false},{"name":"_lte","in":"query","required":false,"description":"Get records that are lower than or equal to a value","schema":{"type":"string"},"deprecated":false},{"name":"_gt","in":"query","required":false,"description":"Get records that are greater than a value","schema":{"type":"string"},"deprecated":false},{"name":"_gte","in":"query","required":false,"description":"Get records that are greater than or equal a value","schema":{"type":"string"},"deprecated":false},{"name":"_contains","in":"query","required":false,"description":"Get records that contains a value","schema":{"type":"string"},"deprecated":false},{"name":"_containss","in":"query","required":false,"description":"Get records that contains (case sensitive) a value","schema":{"type":"string"},"deprecated":false},{"name":"_in","in":"query","required":false,"description":"Get records that matches any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false},{"name":"_nin","in":"query","required":false,"description":"Get records that doesn't match any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false}]},"post":{"deprecated":false,"description":"Create a new learning-components record","responses":{"200":{"description":"Retrieve learning-components document(s)","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Learning-components"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewLearning-components"}}}}}},"/learning-components/count":{"get":{"deprecated":false,"description":"Retrieve the number of learning-components documents","responses":{"200":{"description":"Retrieve learning-components document(s)","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Learning-components"],"parameters":[]}},"/learning-components/{id}":{"get":{"deprecated":false,"description":"Find one learning-components record","responses":{"200":{"description":"Retrieve learning-components document(s)","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Learning-components"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"put":{"deprecated":false,"description":"Update a single learning-components record","responses":{"200":{"description":"Retrieve learning-components document(s)","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Learning-components"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewLearning-components"}}}},"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"delete":{"deprecated":false,"description":"Delete a single learning-components record","responses":{"200":{"description":"deletes a single learning-components based on the ID supplied","content":{"application/json":{"schema":{"type":"integer","format":"int64"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Learning-components"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]}},"/lesson-modules":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Learning-standard"],"parameters":[{"name":"_limit","in":"query","required":false,"description":"Maximum number of results possible","schema":{"type":"integer"},"deprecated":false},{"name":"_sort","in":"query","required":false,"description":"Sort according to a specific field.","schema":{"type":"string"},"deprecated":false},{"name":"_start","in":"query","required":false,"description":"Skip a specific number of entries (especially useful for pagination)","schema":{"type":"integer"},"deprecated":false},{"name":"=","in":"query","required":false,"description":"Get entries that matches exactly your input","schema":{"type":"string"},"deprecated":false},{"name":"_ne","in":"query","required":false,"description":"Get records that are not equals to something","schema":{"type":"string"},"deprecated":false},{"name":"_lt","in":"query","required":false,"description":"Get record that are lower than a value","schema":{"type":"string"},"deprecated":false},{"name":"_lte","in":"query","required":false,"description":"Get records that are lower than or equal to a value","schema":{"type":"string"},"deprecated":false},{"name":"_gt","in":"query","required":false,"description":"Get records that are greater than a value","schema":{"type":"string"},"deprecated":false},{"name":"_gte","in":"query","required":false,"description":"Get records that are greater than or equal a value","schema":{"type":"string"},"deprecated":false},{"name":"_contains","in":"query","required":false,"description":"Get records that contains a value","schema":{"type":"string"},"deprecated":false},{"name":"_containss","in":"query","required":false,"description":"Get records that contains (case sensitive) a value","schema":{"type":"string"},"deprecated":false},{"name":"_in","in":"query","required":false,"description":"Get records that matches any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false},{"name":"_nin","in":"query","required":false,"description":"Get records that doesn't match any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false}]},"post":{"deprecated":false,"description":"Create a new record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Learning-standard"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewLearning-standard"}}}}}},"/lesson-modules/count":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Learning-standard"],"parameters":[]}},"/lesson-modules/{id}":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Learning-standard"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"put":{"deprecated":false,"description":"Update a record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Learning-standard"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewLearning-standard"}}}},"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"delete":{"deprecated":false,"description":"Delete a record","responses":{"200":{"description":"deletes a single record based on the ID supplied","content":{"application/json":{"schema":{"type":"integer","format":"int64"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Learning-standard"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]}},"/mentors":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Mentor"}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Mentor"],"parameters":[{"name":"_limit","in":"query","required":false,"description":"Maximum number of results possible","schema":{"type":"integer"},"deprecated":false},{"name":"_sort","in":"query","required":false,"description":"Sort according to a specific field.","schema":{"type":"string"},"deprecated":false},{"name":"_start","in":"query","required":false,"description":"Skip a specific number of entries (especially useful for pagination)","schema":{"type":"integer"},"deprecated":false},{"name":"=","in":"query","required":false,"description":"Get entries that matches exactly your input","schema":{"type":"string"},"deprecated":false},{"name":"_ne","in":"query","required":false,"description":"Get records that are not equals to something","schema":{"type":"string"},"deprecated":false},{"name":"_lt","in":"query","required":false,"description":"Get record that are lower than a value","schema":{"type":"string"},"deprecated":false},{"name":"_lte","in":"query","required":false,"description":"Get records that are lower than or equal to a value","schema":{"type":"string"},"deprecated":false},{"name":"_gt","in":"query","required":false,"description":"Get records that are greater than a value","schema":{"type":"string"},"deprecated":false},{"name":"_gte","in":"query","required":false,"description":"Get records that are greater than or equal a value","schema":{"type":"string"},"deprecated":false},{"name":"_contains","in":"query","required":false,"description":"Get records that contains a value","schema":{"type":"string"},"deprecated":false},{"name":"_containss","in":"query","required":false,"description":"Get records that contains (case sensitive) a value","schema":{"type":"string"},"deprecated":false},{"name":"_in","in":"query","required":false,"description":"Get records that matches any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false},{"name":"_nin","in":"query","required":false,"description":"Get records that doesn't match any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false}]},"post":{"deprecated":false,"description":"Create a new record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Mentor"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Mentor"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewMentor"}}}}}},"/mentors/count":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Mentor"],"parameters":[]}},"/mentors/{id}":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Mentor"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Mentor"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"put":{"deprecated":false,"description":"Update a record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Mentor"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Mentor"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewMentor"}}}},"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"delete":{"deprecated":false,"description":"Delete a record","responses":{"200":{"description":"deletes a single record based on the ID supplied","content":{"application/json":{"schema":{"type":"integer","format":"int64"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Mentor"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]}},"/sandbox/toolbox":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Sandbox"],"parameters":[]}},"/sandbox/submission/{id}":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Sandbox"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]}},"/sandbox/submission":{"post":{"deprecated":false,"description":"Create a new record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Sandbox"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}}}},"/saves":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Save"}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Save"],"parameters":[{"name":"_limit","in":"query","required":false,"description":"Maximum number of results possible","schema":{"type":"integer"},"deprecated":false},{"name":"_sort","in":"query","required":false,"description":"Sort according to a specific field.","schema":{"type":"string"},"deprecated":false},{"name":"_start","in":"query","required":false,"description":"Skip a specific number of entries (especially useful for pagination)","schema":{"type":"integer"},"deprecated":false},{"name":"=","in":"query","required":false,"description":"Get entries that matches exactly your input","schema":{"type":"string"},"deprecated":false},{"name":"_ne","in":"query","required":false,"description":"Get records that are not equals to something","schema":{"type":"string"},"deprecated":false},{"name":"_lt","in":"query","required":false,"description":"Get record that are lower than a value","schema":{"type":"string"},"deprecated":false},{"name":"_lte","in":"query","required":false,"description":"Get records that are lower than or equal to a value","schema":{"type":"string"},"deprecated":false},{"name":"_gt","in":"query","required":false,"description":"Get records that are greater than a value","schema":{"type":"string"},"deprecated":false},{"name":"_gte","in":"query","required":false,"description":"Get records that are greater than or equal a value","schema":{"type":"string"},"deprecated":false},{"name":"_contains","in":"query","required":false,"description":"Get records that contains a value","schema":{"type":"string"},"deprecated":false},{"name":"_containss","in":"query","required":false,"description":"Get records that contains (case sensitive) a value","schema":{"type":"string"},"deprecated":false},{"name":"_in","in":"query","required":false,"description":"Get records that matches any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false},{"name":"_nin","in":"query","required":false,"description":"Get records that doesn't match any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false}]},"post":{"deprecated":false,"description":"Create a new record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Save"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Save"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewSave"}}}}}},"/saves/count":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Save"],"parameters":[]}},"/saves/activity/{activity}":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Save"],"parameters":[{"name":"activity","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]}},"/saves/{id}":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Save"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Save"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"put":{"deprecated":false,"description":"Update a record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Save"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Save"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewSave"}}}},"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"delete":{"deprecated":false,"description":"Delete a record","responses":{"200":{"description":"deletes a single record based on the ID supplied","content":{"application/json":{"schema":{"type":"integer","format":"int64"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Save"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]}},"/schools":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/School"}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["School"],"parameters":[{"name":"_limit","in":"query","required":false,"description":"Maximum number of results possible","schema":{"type":"integer"},"deprecated":false},{"name":"_sort","in":"query","required":false,"description":"Sort according to a specific field.","schema":{"type":"string"},"deprecated":false},{"name":"_start","in":"query","required":false,"description":"Skip a specific number of entries (especially useful for pagination)","schema":{"type":"integer"},"deprecated":false},{"name":"=","in":"query","required":false,"description":"Get entries that matches exactly your input","schema":{"type":"string"},"deprecated":false},{"name":"_ne","in":"query","required":false,"description":"Get records that are not equals to something","schema":{"type":"string"},"deprecated":false},{"name":"_lt","in":"query","required":false,"description":"Get record that are lower than a value","schema":{"type":"string"},"deprecated":false},{"name":"_lte","in":"query","required":false,"description":"Get records that are lower than or equal to a value","schema":{"type":"string"},"deprecated":false},{"name":"_gt","in":"query","required":false,"description":"Get records that are greater than a value","schema":{"type":"string"},"deprecated":false},{"name":"_gte","in":"query","required":false,"description":"Get records that are greater than or equal a value","schema":{"type":"string"},"deprecated":false},{"name":"_contains","in":"query","required":false,"description":"Get records that contains a value","schema":{"type":"string"},"deprecated":false},{"name":"_containss","in":"query","required":false,"description":"Get records that contains (case sensitive) a value","schema":{"type":"string"},"deprecated":false},{"name":"_in","in":"query","required":false,"description":"Get records that matches any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false},{"name":"_nin","in":"query","required":false,"description":"Get records that doesn't match any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false}]},"post":{"deprecated":false,"description":"Create a new record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/School"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["School"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewSchool"}}}}}},"/schools/count":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["School"],"parameters":[]}},"/schools/{id}":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/School"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["School"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"put":{"deprecated":false,"description":"Update a record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/School"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["School"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewSchool"}}}},"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"delete":{"deprecated":false,"description":"Delete a record","responses":{"200":{"description":"deletes a single record based on the ID supplied","content":{"application/json":{"schema":{"type":"integer","format":"int64"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["School"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]}},"/selections":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Selection"}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Selection"],"parameters":[{"name":"_limit","in":"query","required":false,"description":"Maximum number of results possible","schema":{"type":"integer"},"deprecated":false},{"name":"_sort","in":"query","required":false,"description":"Sort according to a specific field.","schema":{"type":"string"},"deprecated":false},{"name":"_start","in":"query","required":false,"description":"Skip a specific number of entries (especially useful for pagination)","schema":{"type":"integer"},"deprecated":false},{"name":"=","in":"query","required":false,"description":"Get entries that matches exactly your input","schema":{"type":"string"},"deprecated":false},{"name":"_ne","in":"query","required":false,"description":"Get records that are not equals to something","schema":{"type":"string"},"deprecated":false},{"name":"_lt","in":"query","required":false,"description":"Get record that are lower than a value","schema":{"type":"string"},"deprecated":false},{"name":"_lte","in":"query","required":false,"description":"Get records that are lower than or equal to a value","schema":{"type":"string"},"deprecated":false},{"name":"_gt","in":"query","required":false,"description":"Get records that are greater than a value","schema":{"type":"string"},"deprecated":false},{"name":"_gte","in":"query","required":false,"description":"Get records that are greater than or equal a value","schema":{"type":"string"},"deprecated":false},{"name":"_contains","in":"query","required":false,"description":"Get records that contains a value","schema":{"type":"string"},"deprecated":false},{"name":"_containss","in":"query","required":false,"description":"Get records that contains (case sensitive) a value","schema":{"type":"string"},"deprecated":false},{"name":"_in","in":"query","required":false,"description":"Get records that matches any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false},{"name":"_nin","in":"query","required":false,"description":"Get records that doesn't match any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false}]},"post":{"deprecated":false,"description":"Create a new record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Selection"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Selection"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewSelection"}}}}}},"/selections/count":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Selection"],"parameters":[]}},"/selections/{id}":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Selection"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Selection"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"put":{"deprecated":false,"description":"Update a record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Selection"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Selection"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewSelection"}}}},"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"delete":{"deprecated":false,"description":"Delete a record","responses":{"200":{"description":"deletes a single record based on the ID supplied","content":{"application/json":{"schema":{"type":"integer","format":"int64"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Selection"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]}},"/sessions":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Session"}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Session"],"parameters":[{"name":"_limit","in":"query","required":false,"description":"Maximum number of results possible","schema":{"type":"integer"},"deprecated":false},{"name":"_sort","in":"query","required":false,"description":"Sort according to a specific field.","schema":{"type":"string"},"deprecated":false},{"name":"_start","in":"query","required":false,"description":"Skip a specific number of entries (especially useful for pagination)","schema":{"type":"integer"},"deprecated":false},{"name":"=","in":"query","required":false,"description":"Get entries that matches exactly your input","schema":{"type":"string"},"deprecated":false},{"name":"_ne","in":"query","required":false,"description":"Get records that are not equals to something","schema":{"type":"string"},"deprecated":false},{"name":"_lt","in":"query","required":false,"description":"Get record that are lower than a value","schema":{"type":"string"},"deprecated":false},{"name":"_lte","in":"query","required":false,"description":"Get records that are lower than or equal to a value","schema":{"type":"string"},"deprecated":false},{"name":"_gt","in":"query","required":false,"description":"Get records that are greater than a value","schema":{"type":"string"},"deprecated":false},{"name":"_gte","in":"query","required":false,"description":"Get records that are greater than or equal a value","schema":{"type":"string"},"deprecated":false},{"name":"_contains","in":"query","required":false,"description":"Get records that contains a value","schema":{"type":"string"},"deprecated":false},{"name":"_containss","in":"query","required":false,"description":"Get records that contains (case sensitive) a value","schema":{"type":"string"},"deprecated":false},{"name":"_in","in":"query","required":false,"description":"Get records that matches any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false},{"name":"_nin","in":"query","required":false,"description":"Get records that doesn't match any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false}]},"post":{"deprecated":false,"description":"Create a new record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Session"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Session"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewSession"}}}}}},"/sessions/count":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Session"],"parameters":[]}},"/sessions/{id}":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Session"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Session"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"put":{"deprecated":false,"description":"Update a record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Session"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Session"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewSession"}}}},"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"delete":{"deprecated":false,"description":"Delete a record","responses":{"200":{"description":"deletes a single record based on the ID supplied","content":{"application/json":{"schema":{"type":"integer","format":"int64"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Session"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]}},"/students":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Student"}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Student"],"parameters":[{"name":"_limit","in":"query","required":false,"description":"Maximum number of results possible","schema":{"type":"integer"},"deprecated":false},{"name":"_sort","in":"query","required":false,"description":"Sort according to a specific field.","schema":{"type":"string"},"deprecated":false},{"name":"_start","in":"query","required":false,"description":"Skip a specific number of entries (especially useful for pagination)","schema":{"type":"integer"},"deprecated":false},{"name":"=","in":"query","required":false,"description":"Get entries that matches exactly your input","schema":{"type":"string"},"deprecated":false},{"name":"_ne","in":"query","required":false,"description":"Get records that are not equals to something","schema":{"type":"string"},"deprecated":false},{"name":"_lt","in":"query","required":false,"description":"Get record that are lower than a value","schema":{"type":"string"},"deprecated":false},{"name":"_lte","in":"query","required":false,"description":"Get records that are lower than or equal to a value","schema":{"type":"string"},"deprecated":false},{"name":"_gt","in":"query","required":false,"description":"Get records that are greater than a value","schema":{"type":"string"},"deprecated":false},{"name":"_gte","in":"query","required":false,"description":"Get records that are greater than or equal a value","schema":{"type":"string"},"deprecated":false},{"name":"_contains","in":"query","required":false,"description":"Get records that contains a value","schema":{"type":"string"},"deprecated":false},{"name":"_containss","in":"query","required":false,"description":"Get records that contains (case sensitive) a value","schema":{"type":"string"},"deprecated":false},{"name":"_in","in":"query","required":false,"description":"Get records that matches any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false},{"name":"_nin","in":"query","required":false,"description":"Get records that doesn't match any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false}]},"post":{"deprecated":false,"description":"Create a new record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Student"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Student"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewStudent"}}}}}},"/students/me":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Student"],"parameters":[]}},"/students/count":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Student"],"parameters":[]}},"/students/{id}":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Student"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Student"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"put":{"deprecated":false,"description":"Update a record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Student"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Student"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewStudent"}}}},"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"delete":{"deprecated":false,"description":"Delete a record","responses":{"200":{"description":"deletes a single record based on the ID supplied","content":{"application/json":{"schema":{"type":"integer","format":"int64"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Student"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]}},"/students/enrolled/{id}":{"put":{"deprecated":false,"description":"Update a record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Student"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]}},"/submissions":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Submission"}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Submission"],"parameters":[{"name":"_limit","in":"query","required":false,"description":"Maximum number of results possible","schema":{"type":"integer"},"deprecated":false},{"name":"_sort","in":"query","required":false,"description":"Sort according to a specific field.","schema":{"type":"string"},"deprecated":false},{"name":"_start","in":"query","required":false,"description":"Skip a specific number of entries (especially useful for pagination)","schema":{"type":"integer"},"deprecated":false},{"name":"=","in":"query","required":false,"description":"Get entries that matches exactly your input","schema":{"type":"string"},"deprecated":false},{"name":"_ne","in":"query","required":false,"description":"Get records that are not equals to something","schema":{"type":"string"},"deprecated":false},{"name":"_lt","in":"query","required":false,"description":"Get record that are lower than a value","schema":{"type":"string"},"deprecated":false},{"name":"_lte","in":"query","required":false,"description":"Get records that are lower than or equal to a value","schema":{"type":"string"},"deprecated":false},{"name":"_gt","in":"query","required":false,"description":"Get records that are greater than a value","schema":{"type":"string"},"deprecated":false},{"name":"_gte","in":"query","required":false,"description":"Get records that are greater than or equal a value","schema":{"type":"string"},"deprecated":false},{"name":"_contains","in":"query","required":false,"description":"Get records that contains a value","schema":{"type":"string"},"deprecated":false},{"name":"_containss","in":"query","required":false,"description":"Get records that contains (case sensitive) a value","schema":{"type":"string"},"deprecated":false},{"name":"_in","in":"query","required":false,"description":"Get records that matches any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false},{"name":"_nin","in":"query","required":false,"description":"Get records that doesn't match any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false}]},"post":{"deprecated":false,"description":"Create a new record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Submission"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Submission"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewSubmission"}}}}}},"/submissions/count":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Submission"],"parameters":[]}},"/submissions/{id}":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Submission"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Submission"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"put":{"deprecated":false,"description":"Update a record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Submission"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Submission"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewSubmission"}}}},"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"delete":{"deprecated":false,"description":"Delete a record","responses":{"200":{"description":"deletes a single record based on the ID supplied","content":{"application/json":{"schema":{"type":"integer","format":"int64"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Submission"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]}},"/units":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Unit"}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Unit"],"parameters":[{"name":"_limit","in":"query","required":false,"description":"Maximum number of results possible","schema":{"type":"integer"},"deprecated":false},{"name":"_sort","in":"query","required":false,"description":"Sort according to a specific field.","schema":{"type":"string"},"deprecated":false},{"name":"_start","in":"query","required":false,"description":"Skip a specific number of entries (especially useful for pagination)","schema":{"type":"integer"},"deprecated":false},{"name":"=","in":"query","required":false,"description":"Get entries that matches exactly your input","schema":{"type":"string"},"deprecated":false},{"name":"_ne","in":"query","required":false,"description":"Get records that are not equals to something","schema":{"type":"string"},"deprecated":false},{"name":"_lt","in":"query","required":false,"description":"Get record that are lower than a value","schema":{"type":"string"},"deprecated":false},{"name":"_lte","in":"query","required":false,"description":"Get records that are lower than or equal to a value","schema":{"type":"string"},"deprecated":false},{"name":"_gt","in":"query","required":false,"description":"Get records that are greater than a value","schema":{"type":"string"},"deprecated":false},{"name":"_gte","in":"query","required":false,"description":"Get records that are greater than or equal a value","schema":{"type":"string"},"deprecated":false},{"name":"_contains","in":"query","required":false,"description":"Get records that contains a value","schema":{"type":"string"},"deprecated":false},{"name":"_containss","in":"query","required":false,"description":"Get records that contains (case sensitive) a value","schema":{"type":"string"},"deprecated":false},{"name":"_in","in":"query","required":false,"description":"Get records that matches any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false},{"name":"_nin","in":"query","required":false,"description":"Get records that doesn't match any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false}]},"post":{"deprecated":false,"description":"Create a new record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unit"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Unit"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewUnit"}}}}}},"/units/count":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Unit"],"parameters":[]}},"/units/{id}":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unit"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Unit"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"put":{"deprecated":false,"description":"Update a record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unit"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Unit"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewUnit"}}}},"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"delete":{"deprecated":false,"description":"Delete a record","responses":{"200":{"description":"deletes a single record based on the ID supplied","content":{"application/json":{"schema":{"type":"integer","format":"int64"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Unit"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]}},"/email/":{"post":{"deprecated":false,"description":"Send an email","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Email - Email"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}}}},"/email/test":{"post":{"deprecated":false,"description":"Send an test email","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Email - Email"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}}}},"/email/settings":{"get":{"deprecated":false,"description":"Get the email settings","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Email - Email"],"parameters":[]}},"/users-permissions/roles/{id}":{"get":{"deprecated":false,"description":"Retrieve a role depending on its id","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsersPermissionsRole"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["UsersPermissions - Role"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]}},"/users-permissions/roles":{"get":{"deprecated":false,"description":"Retrieve all role documents","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UsersPermissionsRole"}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["UsersPermissions - Role"],"parameters":[{"name":"_limit","in":"query","required":false,"description":"Maximum number of results possible","schema":{"type":"integer"},"deprecated":false},{"name":"_sort","in":"query","required":false,"description":"Sort according to a specific field.","schema":{"type":"string"},"deprecated":false},{"name":"_start","in":"query","required":false,"description":"Skip a specific number of entries (especially useful for pagination)","schema":{"type":"integer"},"deprecated":false},{"name":"=","in":"query","required":false,"description":"Get entries that matches exactly your input","schema":{"type":"string"},"deprecated":false},{"name":"_ne","in":"query","required":false,"description":"Get records that are not equals to something","schema":{"type":"string"},"deprecated":false},{"name":"_lt","in":"query","required":false,"description":"Get record that are lower than a value","schema":{"type":"string"},"deprecated":false},{"name":"_lte","in":"query","required":false,"description":"Get records that are lower than or equal to a value","schema":{"type":"string"},"deprecated":false},{"name":"_gt","in":"query","required":false,"description":"Get records that are greater than a value","schema":{"type":"string"},"deprecated":false},{"name":"_gte","in":"query","required":false,"description":"Get records that are greater than or equal a value","schema":{"type":"string"},"deprecated":false},{"name":"_contains","in":"query","required":false,"description":"Get records that contains a value","schema":{"type":"string"},"deprecated":false},{"name":"_containss","in":"query","required":false,"description":"Get records that contains (case sensitive) a value","schema":{"type":"string"},"deprecated":false},{"name":"_in","in":"query","required":false,"description":"Get records that matches any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false},{"name":"_nin","in":"query","required":false,"description":"Get records that doesn't match any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false}]},"post":{"deprecated":false,"description":"Create a new role","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsersPermissionsRole"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["UsersPermissions - Role"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewUsersPermissionsRole"}}}}}},"/users-permissions/roles/{role}":{"put":{"deprecated":false,"description":"Update a role","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsersPermissionsRole"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["UsersPermissions - Role"],"parameters":[{"name":"role","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewUsersPermissionsRole"}}}}},"delete":{"deprecated":false,"description":"Delete a role","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["UsersPermissions - Role"],"parameters":[{"name":"role","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]}},"/users-permissions/search/{id}":{"get":{"deprecated":false,"description":"Search for users","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UsersPermissionsUser"}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["UsersPermissions - User"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}},{"name":"_limit","in":"query","required":false,"description":"Maximum number of results possible","schema":{"type":"integer"},"deprecated":false},{"name":"_sort","in":"query","required":false,"description":"Sort according to a specific field.","schema":{"type":"string"},"deprecated":false},{"name":"_start","in":"query","required":false,"description":"Skip a specific number of entries (especially useful for pagination)","schema":{"type":"integer"},"deprecated":false},{"name":"=","in":"query","required":false,"description":"Get entries that matches exactly your input","schema":{"type":"string"},"deprecated":false},{"name":"_ne","in":"query","required":false,"description":"Get records that are not equals to something","schema":{"type":"string"},"deprecated":false},{"name":"_lt","in":"query","required":false,"description":"Get record that are lower than a value","schema":{"type":"string"},"deprecated":false},{"name":"_lte","in":"query","required":false,"description":"Get records that are lower than or equal to a value","schema":{"type":"string"},"deprecated":false},{"name":"_gt","in":"query","required":false,"description":"Get records that are greater than a value","schema":{"type":"string"},"deprecated":false},{"name":"_gte","in":"query","required":false,"description":"Get records that are greater than or equal a value","schema":{"type":"string"},"deprecated":false},{"name":"_contains","in":"query","required":false,"description":"Get records that contains a value","schema":{"type":"string"},"deprecated":false},{"name":"_containss","in":"query","required":false,"description":"Get records that contains (case sensitive) a value","schema":{"type":"string"},"deprecated":false},{"name":"_in","in":"query","required":false,"description":"Get records that matches any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false},{"name":"_nin","in":"query","required":false,"description":"Get records that doesn't match any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false}]}},"/connect/*":{"get":{"deprecated":false,"description":"Connect a provider","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["UsersPermissions - User"],"parameters":[]}},"/auth/local":{"post":{"deprecated":false,"description":"Login a user using the identifiers email and password","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["UsersPermissions - User"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}}}},"/auth/local/register":{"post":{"deprecated":false,"description":"Register a new user with the default role","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsersPermissionsUser"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["UsersPermissions - User"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewUsersPermissionsUser"}}}}}},"/auth/{provider}/callback":{"get":{"deprecated":false,"description":"Successfull redirection after approving a provider","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["UsersPermissions - User"],"parameters":[{"name":"provider","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]}},"/auth/forgot-password":{"post":{"deprecated":false,"description":"Send the reset password email link","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["UsersPermissions - User"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}}}},"/auth/reset-password":{"post":{"deprecated":false,"description":"Reset user password with a code (resetToken)","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["UsersPermissions - User"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}}}},"/auth/email-confirmation":{"get":{"deprecated":false,"description":"Validate a user account","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["UsersPermissions - User"],"parameters":[]}},"/auth/send-email-confirmation":{"post":{"deprecated":false,"description":"Send a confirmation email to user","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["UsersPermissions - User"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}}}},"/users":{"get":{"deprecated":false,"description":"Retrieve all user documents","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UsersPermissionsUser"}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["UsersPermissions - User"],"parameters":[{"name":"_limit","in":"query","required":false,"description":"Maximum number of results possible","schema":{"type":"integer"},"deprecated":false},{"name":"_sort","in":"query","required":false,"description":"Sort according to a specific field.","schema":{"type":"string"},"deprecated":false},{"name":"_start","in":"query","required":false,"description":"Skip a specific number of entries (especially useful for pagination)","schema":{"type":"integer"},"deprecated":false},{"name":"=","in":"query","required":false,"description":"Get entries that matches exactly your input","schema":{"type":"string"},"deprecated":false},{"name":"_ne","in":"query","required":false,"description":"Get records that are not equals to something","schema":{"type":"string"},"deprecated":false},{"name":"_lt","in":"query","required":false,"description":"Get record that are lower than a value","schema":{"type":"string"},"deprecated":false},{"name":"_lte","in":"query","required":false,"description":"Get records that are lower than or equal to a value","schema":{"type":"string"},"deprecated":false},{"name":"_gt","in":"query","required":false,"description":"Get records that are greater than a value","schema":{"type":"string"},"deprecated":false},{"name":"_gte","in":"query","required":false,"description":"Get records that are greater than or equal a value","schema":{"type":"string"},"deprecated":false},{"name":"_contains","in":"query","required":false,"description":"Get records that contains a value","schema":{"type":"string"},"deprecated":false},{"name":"_containss","in":"query","required":false,"description":"Get records that contains (case sensitive) a value","schema":{"type":"string"},"deprecated":false},{"name":"_in","in":"query","required":false,"description":"Get records that matches any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false},{"name":"_nin","in":"query","required":false,"description":"Get records that doesn't match any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false}]}},"/users/me":{"get":{"deprecated":false,"description":"Retrieve the logged in user information","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsersPermissionsUser"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["UsersPermissions - User"],"parameters":[]}},"/users/{id}":{"get":{"deprecated":false,"description":"Retrieve a single user depending on his id","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsersPermissionsUser"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["UsersPermissions - User"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"put":{"deprecated":false,"description":"Update an existing user","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsersPermissionsUser"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["UsersPermissions - User"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewUsersPermissionsUser"}}}}},"delete":{"deprecated":false,"description":"Delete an existing user","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["UsersPermissions - User"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]}}},"components":{"schemas":{"Block":{"required":["id","name"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"blocks_category":{"required":["id"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"blocks":{"type":"array","items":{"type":"string"}},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"image_url":{"type":"string"}}},"NewBlock":{"required":["name"],"properties":{"name":{"type":"string"},"description":{"type":"string"},"blocks_category":{"type":"string"},"image_url":{"type":"string"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"Blocks-category":{"required":["id"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"blocks":{"type":"array","items":{"required":["id","name"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"blocks_category":{"type":"string"},"image_url":{"type":"string"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}}}}},"NewBlocks-category":{"properties":{"name":{"type":"string"},"blocks":{"type":"array","items":{"type":"string"}},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"Authorized-workspace":{"required":["id","name","template"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"template":{"type":"string"},"published_at":{"type":"string","format":"date-time"}}},"NewAuthorized-workspace":{"required":["name","template"],"properties":{"name":{"type":"string"},"description":{"type":"string"},"template":{"type":"string"},"blocks":{"type":"array","items":{"type":"string"}},"classroom":{"type":"string"},"published_at":{"type":"string","format":"date-time"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"Classroom":{"required":["id","code"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"school":{"required":["id"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"county":{"type":"string"},"state":{"type":"string"},"classrooms":{"type":"array","items":{"type":"string"}},"mentors":{"type":"array","items":{"type":"string"}},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"sessions":{"type":"array","items":{"required":["id"],"properties":{"id":{"type":"string"},"classroom":{"type":"string"},"students":{"type":"array","items":{"type":"string"}},"submissions":{"type":"array","items":{"type":"string"}},"saves":{"type":"array","items":{"type":"string"}},"unit":{"type":"string"},"grade":{"type":"string"},"lesson_module":{"type":"string"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}}},"mentors":{"type":"array","items":{"required":["id"],"properties":{"id":{"type":"string"},"first_name":{"type":"string"},"last_name":{"type":"string"},"school":{"type":"string"},"classrooms":{"type":"array","items":{"type":"string"}},"user":{"type":"string"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}}},"students":{"type":"array","items":{"required":["id","enrolled"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"character":{"type":"string"},"classroom":{"type":"string"},"sessions":{"type":"array","items":{"type":"string"}},"enrolled":{"type":"boolean"},"last_logged_in":{"type":"string"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}}},"code":{"type":"string"},"grade":{"required":["id","name"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"classrooms":{"type":"array","items":{"type":"string"}},"units":{"type":"array","items":{"type":"string"}},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"selections":{"type":"array","items":{"required":["id","current"],"properties":{"id":{"type":"string"},"classroom":{"type":"string"},"lesson_module":{"type":"string"},"current":{"type":"boolean"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}}}}},"NewClassroom":{"required":["code"],"properties":{"name":{"type":"string"},"school":{"type":"string"},"sessions":{"type":"array","items":{"type":"string"}},"mentors":{"type":"array","items":{"type":"string"}},"students":{"type":"array","items":{"type":"string"}},"code":{"type":"string"},"grade":{"type":"string"},"selections":{"type":"array","items":{"type":"string"}},"authorized_workspaces":{"type":"array","items":{"type":"string"}},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"Activity":{"required":["id","number","template"],"properties":{"id":{"type":"string"},"lesson_module":{"required":["id","number","name"],"properties":{"id":{"type":"string"},"number":{"type":"number"},"name":{"type":"string"},"expectations":{"type":"string"},"activities":{"type":"array","items":{"type":"string"}},"unit":{"type":"string"},"standards":{"type":"string"},"link":{"type":"string"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"number":{"type":"integer"},"template":{"type":"string"},"blocks":{"type":"array","items":{"required":["id","name"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"blocks_category":{"type":"string"},"image_url":{"type":"string"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}}},"description":{"type":"string"},"StandardS":{"type":"string"},"link":{"type":"string"},"learning_components":{"type":"array","items":{"required":["id"],"properties":{"id":{"type":"string"},"type":{"type":"string"},"activities":{"type":"array","items":{"type":"string"}},"learning_component_type":{"type":"string"},"published_at":{"type":"string"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}}},"activity_template":{"type":"string"}}},"NewActivity":{"required":["number","template"],"properties":{"lesson_module":{"type":"string"},"number":{"type":"integer"},"template":{"type":"string"},"blocks":{"type":"array","items":{"type":"string"}},"description":{"type":"string"},"StandardS":{"type":"string"},"link":{"type":"string"},"learning_components":{"type":"array","items":{"type":"string"}},"activity_template":{"type":"string"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"Grade":{"required":["id","name"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"classrooms":{"type":"array","items":{"required":["id","code"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"school":{"type":"string"},"sessions":{"type":"array","items":{"type":"string"}},"mentors":{"type":"array","items":{"type":"string"}},"students":{"type":"array","items":{"type":"string"}},"code":{"type":"string"},"grade":{"type":"string"},"selections":{"type":"array","items":{"type":"string"}},"authorized_workspaces":{"type":"array","items":{"type":"string"}},"created_by":{"type":"string"},"updated_by":{"type":"string"}}}},"units":{"type":"array","items":{"required":["id","name","number"],"properties":{"id":{"type":"string"},"grade":{"type":"string"},"name":{"type":"string"},"standards_id":{"type":"string"},"standards_description":{"type":"string"},"number":{"type":"integer"},"lesson_modules":{"type":"array","items":{"type":"string"}},"created_by":{"type":"string"},"updated_by":{"type":"string"}}}}}},"NewGrade":{"required":["name"],"properties":{"name":{"type":"string"},"classrooms":{"type":"array","items":{"type":"string"}},"units":{"type":"array","items":{"type":"string"}},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"Learning-component-types":{"required":["id"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"learning_components":{"type":"array","items":{"required":["id"],"properties":{"id":{"type":"string"},"type":{"type":"string"},"activities":{"type":"array","items":{"type":"string"}},"learning_component_type":{"type":"string"},"published_at":{"type":"string"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}}},"published_at":{"type":"string","format":"date-time"}}},"NewLearning-component-types":{"properties":{"name":{"type":"string"},"learning_components":{"type":"array","items":{"type":"string"}},"published_at":{"type":"string","format":"date-time"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"Learning-components":{"required":["id"],"properties":{"id":{"type":"string"},"type":{"type":"string"},"activities":{"type":"array","items":{"required":["id","number","template"],"properties":{"id":{"type":"string"},"lesson_module":{"type":"string"},"number":{"type":"integer"},"template":{"type":"string"},"blocks":{"type":"array","items":{"type":"string"}},"description":{"type":"string"},"StandardS":{"type":"string"},"link":{"type":"string"},"learning_components":{"type":"array","items":{"type":"string"}},"activity_template":{"type":"string"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}}},"learning_component_type":{"required":["id"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"learning_components":{"type":"array","items":{"type":"string"}},"published_at":{"type":"string"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"published_at":{"type":"string","format":"date-time"}}},"NewLearning-components":{"properties":{"type":{"type":"string"},"activities":{"type":"array","items":{"type":"string"}},"learning_component_type":{"type":"string"},"published_at":{"type":"string","format":"date-time"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"Learning-standard":{"required":["id","number","name"],"properties":{"id":{"type":"string"},"number":{"type":"number"},"name":{"type":"string"},"expectations":{"type":"string"},"activities":{"type":"array","items":{"required":["id","number","template"],"properties":{"id":{"type":"string"},"lesson_module":{"type":"string"},"number":{"type":"integer"},"template":{"type":"string"},"blocks":{"type":"array","items":{"type":"string"}},"description":{"type":"string"},"StandardS":{"type":"string"},"link":{"type":"string"},"learning_components":{"type":"array","items":{"type":"string"}},"activity_template":{"type":"string"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}}},"unit":{"required":["id","name","number"],"properties":{"id":{"type":"string"},"grade":{"type":"string"},"name":{"type":"string"},"standards_id":{"type":"string"},"standards_description":{"type":"string"},"number":{"type":"integer"},"lesson_modules":{"type":"array","items":{"type":"string"}},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"standards":{"type":"string"},"link":{"type":"string"}}},"NewLearning-standard":{"required":["number","name"],"properties":{"number":{"type":"number"},"name":{"type":"string"},"expectations":{"type":"string"},"activities":{"type":"array","items":{"type":"string"}},"unit":{"type":"string"},"standards":{"type":"string"},"link":{"type":"string"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"Mentor":{"required":["id"],"properties":{"id":{"type":"string"},"first_name":{"type":"string"},"last_name":{"type":"string"},"school":{"required":["id"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"county":{"type":"string"},"state":{"type":"string"},"classrooms":{"type":"array","items":{"type":"string"}},"mentors":{"type":"array","items":{"type":"string"}},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"classrooms":{"type":"array","items":{"required":["id","code"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"school":{"type":"string"},"sessions":{"type":"array","items":{"type":"string"}},"mentors":{"type":"array","items":{"type":"string"}},"students":{"type":"array","items":{"type":"string"}},"code":{"type":"string"},"grade":{"type":"string"},"selections":{"type":"array","items":{"type":"string"}},"authorized_workspaces":{"type":"array","items":{"type":"string"}},"created_by":{"type":"string"},"updated_by":{"type":"string"}}}},"user":{"required":["id","username","email"],"properties":{"id":{"type":"string"},"username":{"type":"string"},"email":{"type":"string"},"provider":{"type":"string"},"password":{"type":"string"},"resetPasswordToken":{"type":"string"},"confirmationToken":{"type":"string"},"confirmed":{"type":"boolean"},"blocked":{"type":"boolean"},"role":{"type":"string"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}}}},"NewMentor":{"properties":{"first_name":{"type":"string"},"last_name":{"type":"string"},"school":{"type":"string"},"classrooms":{"type":"array","items":{"type":"string"}},"user":{"type":"string"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"Save":{"required":["id","workspace"],"properties":{"id":{"type":"string"},"activity":{"required":["id","number","template"],"properties":{"id":{"type":"string"},"lesson_module":{"type":"string"},"number":{"type":"integer"},"template":{"type":"string"},"blocks":{"type":"array","items":{"type":"string"}},"description":{"type":"string"},"StandardS":{"type":"string"},"link":{"type":"string"},"learning_components":{"type":"array","items":{"type":"string"}},"activity_template":{"type":"string"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"student":{"required":["id","enrolled"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"character":{"type":"string"},"classroom":{"type":"string"},"sessions":{"type":"array","items":{"type":"string"}},"enrolled":{"type":"boolean"},"last_logged_in":{"type":"string"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"workspace":{"type":"string"},"replay":{"type":"object"},"session":{"required":["id"],"properties":{"id":{"type":"string"},"classroom":{"type":"string"},"students":{"type":"array","items":{"type":"string"}},"submissions":{"type":"array","items":{"type":"string"}},"saves":{"type":"array","items":{"type":"string"}},"unit":{"type":"string"},"grade":{"type":"string"},"lesson_module":{"type":"string"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}}}},"NewSave":{"required":["workspace"],"properties":{"activity":{"type":"string"},"student":{"type":"string"},"workspace":{"type":"string"},"replay":{"type":"object"},"session":{"type":"string"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"School":{"required":["id"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"county":{"type":"string"},"state":{"type":"string"},"classrooms":{"type":"array","items":{"required":["id","code"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"school":{"type":"string"},"sessions":{"type":"array","items":{"type":"string"}},"mentors":{"type":"array","items":{"type":"string"}},"students":{"type":"array","items":{"type":"string"}},"code":{"type":"string"},"grade":{"type":"string"},"selections":{"type":"array","items":{"type":"string"}},"authorized_workspaces":{"type":"array","items":{"type":"string"}},"created_by":{"type":"string"},"updated_by":{"type":"string"}}}},"mentors":{"type":"array","items":{"required":["id"],"properties":{"id":{"type":"string"},"first_name":{"type":"string"},"last_name":{"type":"string"},"school":{"type":"string"},"classrooms":{"type":"array","items":{"type":"string"}},"user":{"type":"string"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}}}}},"NewSchool":{"properties":{"name":{"type":"string"},"county":{"type":"string"},"state":{"type":"string"},"classrooms":{"type":"array","items":{"type":"string"}},"mentors":{"type":"array","items":{"type":"string"}},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"Selection":{"required":["id","current"],"properties":{"id":{"type":"string"},"classroom":{"required":["id","code"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"school":{"type":"string"},"sessions":{"type":"array","items":{"type":"string"}},"mentors":{"type":"array","items":{"type":"string"}},"students":{"type":"array","items":{"type":"string"}},"code":{"type":"string"},"grade":{"type":"string"},"selections":{"type":"array","items":{"type":"string"}},"authorized_workspaces":{"type":"array","items":{"type":"string"}},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"lesson_module":{"required":["id","number","name"],"properties":{"id":{"type":"string"},"number":{"type":"number"},"name":{"type":"string"},"expectations":{"type":"string"},"activities":{"type":"array","items":{"type":"string"}},"unit":{"type":"string"},"standards":{"type":"string"},"link":{"type":"string"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"current":{"type":"boolean","default":true}}},"NewSelection":{"required":["current"],"properties":{"classroom":{"type":"string"},"lesson_module":{"type":"string"},"current":{"type":"boolean","default":true},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"Session":{"required":["id"],"properties":{"id":{"type":"string"},"classroom":{"required":["id","code"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"school":{"type":"string"},"sessions":{"type":"array","items":{"type":"string"}},"mentors":{"type":"array","items":{"type":"string"}},"students":{"type":"array","items":{"type":"string"}},"code":{"type":"string"},"grade":{"type":"string"},"selections":{"type":"array","items":{"type":"string"}},"authorized_workspaces":{"type":"array","items":{"type":"string"}},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"students":{"type":"array","items":{"required":["id","enrolled"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"character":{"type":"string"},"classroom":{"type":"string"},"sessions":{"type":"array","items":{"type":"string"}},"enrolled":{"type":"boolean"},"last_logged_in":{"type":"string"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}}},"submissions":{"type":"array","items":{"required":["id","status","workspace","board","sketch","sandbox"],"properties":{"id":{"type":"string"},"status":{"type":"string"},"workspace":{"type":"string"},"success":{"type":"boolean"},"hex":{"type":"string"},"stdout":{"type":"string"},"stderr":{"type":"string"},"board":{"type":"string"},"sketch":{"type":"string"},"sandbox":{"type":"boolean"},"session":{"type":"string"},"activity":{"type":"string"},"job_id":{"type":"integer"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}}},"saves":{"type":"array","items":{"required":["id","workspace"],"properties":{"id":{"type":"string"},"activity":{"type":"string"},"student":{"type":"string"},"workspace":{"type":"string"},"replay":{"type":"object"},"session":{"type":"string"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}}},"unit":{"required":["id","name","number"],"properties":{"id":{"type":"string"},"grade":{"type":"string"},"name":{"type":"string"},"standards_id":{"type":"string"},"standards_description":{"type":"string"},"number":{"type":"integer"},"lesson_modules":{"type":"array","items":{"type":"string"}},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"grade":{"required":["id","name"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"classrooms":{"type":"array","items":{"type":"string"}},"units":{"type":"array","items":{"type":"string"}},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"lesson_module":{"required":["id","number","name"],"properties":{"id":{"type":"string"},"number":{"type":"number"},"name":{"type":"string"},"expectations":{"type":"string"},"activities":{"type":"array","items":{"type":"string"}},"unit":{"type":"string"},"standards":{"type":"string"},"link":{"type":"string"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}}}},"NewSession":{"properties":{"classroom":{"type":"string"},"students":{"type":"array","items":{"type":"string"}},"submissions":{"type":"array","items":{"type":"string"}},"saves":{"type":"array","items":{"type":"string"}},"unit":{"type":"string"},"grade":{"type":"string"},"lesson_module":{"type":"string"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"Student":{"required":["id","enrolled"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"character":{"type":"string"},"classroom":{"required":["id","code"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"school":{"type":"string"},"sessions":{"type":"array","items":{"type":"string"}},"mentors":{"type":"array","items":{"type":"string"}},"students":{"type":"array","items":{"type":"string"}},"code":{"type":"string"},"grade":{"type":"string"},"selections":{"type":"array","items":{"type":"string"}},"authorized_workspaces":{"type":"array","items":{"type":"string"}},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"sessions":{"type":"array","items":{"required":["id"],"properties":{"id":{"type":"string"},"classroom":{"type":"string"},"students":{"type":"array","items":{"type":"string"}},"submissions":{"type":"array","items":{"type":"string"}},"saves":{"type":"array","items":{"type":"string"}},"unit":{"type":"string"},"grade":{"type":"string"},"lesson_module":{"type":"string"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}}},"enrolled":{"type":"boolean","default":true},"last_logged_in":{"type":"string","format":"date-time"}}},"NewStudent":{"required":["enrolled"],"properties":{"name":{"type":"string"},"character":{"type":"string"},"classroom":{"type":"string"},"sessions":{"type":"array","items":{"type":"string"}},"enrolled":{"type":"boolean","default":true},"last_logged_in":{"type":"string","format":"date-time"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"Submission":{"required":["id","status","workspace","board","sketch","sandbox"],"properties":{"id":{"type":"string"},"status":{"type":"string","default":"WAITING"},"workspace":{"type":"string"},"success":{"type":"boolean"},"hex":{"type":"string"},"stdout":{"type":"string"},"stderr":{"type":"string"},"board":{"type":"string"},"sketch":{"type":"string"},"sandbox":{"type":"boolean","default":false},"session":{"required":["id"],"properties":{"id":{"type":"string"},"classroom":{"type":"string"},"students":{"type":"array","items":{"type":"string"}},"submissions":{"type":"array","items":{"type":"string"}},"saves":{"type":"array","items":{"type":"string"}},"unit":{"type":"string"},"grade":{"type":"string"},"lesson_module":{"type":"string"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"activity":{"required":["id","number","template"],"properties":{"id":{"type":"string"},"lesson_module":{"type":"string"},"number":{"type":"integer"},"template":{"type":"string"},"blocks":{"type":"array","items":{"type":"string"}},"description":{"type":"string"},"StandardS":{"type":"string"},"link":{"type":"string"},"learning_components":{"type":"array","items":{"type":"string"}},"activity_template":{"type":"string"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"job_id":{"type":"integer"}}},"NewSubmission":{"required":["status","workspace","board","sketch","sandbox"],"properties":{"status":{"type":"string","default":"WAITING"},"workspace":{"type":"string"},"success":{"type":"boolean"},"hex":{"type":"string"},"stdout":{"type":"string"},"stderr":{"type":"string"},"board":{"type":"string"},"sketch":{"type":"string"},"sandbox":{"type":"boolean","default":false},"session":{"type":"string"},"activity":{"type":"string"},"job_id":{"type":"integer"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"Unit":{"required":["id","name","number"],"properties":{"id":{"type":"string"},"grade":{"required":["id","name"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"classrooms":{"type":"array","items":{"type":"string"}},"units":{"type":"array","items":{"type":"string"}},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"name":{"type":"string"},"standards_id":{"type":"string"},"standards_description":{"type":"string"},"number":{"type":"integer"},"lesson_modules":{"type":"array","items":{"required":["id","number","name"],"properties":{"id":{"type":"string"},"number":{"type":"number"},"name":{"type":"string"},"expectations":{"type":"string"},"activities":{"type":"array","items":{"type":"string"}},"unit":{"type":"string"},"standards":{"type":"string"},"link":{"type":"string"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}}}}},"NewUnit":{"required":["name","number"],"properties":{"grade":{"type":"string"},"name":{"type":"string"},"standards_id":{"type":"string"},"standards_description":{"type":"string"},"number":{"type":"integer"},"lesson_modules":{"type":"array","items":{"type":"string"}},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"UsersPermissionsRole":{"required":["id","name"],"properties":{"id":{"type":"string"},"name":{"type":"string","minLength":3},"description":{"type":"string"},"type":{"type":"string"},"permissions":{"type":"array","items":{"required":["id","type","controller","action","enabled"],"properties":{"id":{"type":"string"},"type":{"type":"string"},"controller":{"type":"string"},"action":{"type":"string"},"enabled":{"type":"boolean"},"policy":{"type":"string"},"role":{"type":"string"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}}},"users":{"type":"array","items":{"required":["id","username","email"],"properties":{"id":{"type":"string"},"username":{"type":"string"},"email":{"type":"string"},"provider":{"type":"string"},"password":{"type":"string"},"resetPasswordToken":{"type":"string"},"confirmationToken":{"type":"string"},"confirmed":{"type":"boolean"},"blocked":{"type":"boolean"},"role":{"type":"string"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}}}}},"NewUsersPermissionsRole":{"required":["name"],"properties":{"name":{"type":"string","minLength":3},"description":{"type":"string"},"type":{"type":"string"},"permissions":{"type":"array","items":{"type":"string"}},"users":{"type":"array","items":{"type":"string"}},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"UsersPermissionsUser":{"required":["id","username","email"],"properties":{"id":{"type":"string"},"username":{"type":"string","minLength":3},"email":{"type":"string","minLength":6},"provider":{"type":"string"},"confirmed":{"type":"boolean","default":false},"blocked":{"type":"boolean","default":false},"role":{"required":["id","name"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"type":{"type":"string"},"permissions":{"type":"array","items":{"type":"string"}},"users":{"type":"array","items":{"type":"string"}},"created_by":{"type":"string"},"updated_by":{"type":"string"}}}}},"NewUsersPermissionsUser":{"required":["username","email"],"properties":{"username":{"type":"string","minLength":3},"email":{"type":"string","minLength":6},"provider":{"type":"string"},"password":{"type":"string","format":"password","minLength":6},"resetPasswordToken":{"type":"string"},"confirmationToken":{"type":"string"},"confirmed":{"type":"boolean","default":false},"blocked":{"type":"boolean","default":false},"role":{"type":"string"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"Error":{"required":["code","message"],"properties":{"code":{"type":"integer","format":"int32"},"message":{"type":"string"}}}},"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"tags":[{"name":"Block"},{"name":"Classroom"},{"name":"Activity"},{"name":"Email"},{"name":"Grade"},{"name":"Mentor"},{"name":"Sandbox"},{"name":"Save"},{"name":"School"},{"name":"Selection"},{"name":"Session"},{"name":"Student"},{"name":"Submission"},{"name":"Unit"},{"name":"Email - Email"},{"name":"UsersPermissions - Role"},{"name":"UsersPermissions - User"}]},
+ spec: {"openapi":"3.0.0","info":{"version":"1.0.0","title":"DOCUMENTATION","description":"","termsOfService":"YOUR_TERMS_OF_SERVICE_URL","contact":{"name":"TEAM","email":"contact-email@something.io","url":"mywebsite.io"},"license":{"name":"Apache 2.0","url":"https://www.apache.org/licenses/LICENSE-2.0.html"},"x-generation-date":"11/19/2023 12:55:03 AM"},"x-strapi-config":{"path":"/documentation","showGeneratedFiles":true,"generateDefaultResponse":true},"servers":[{"url":"http://localhost:1337","description":"Development server"},{"url":"YOUR_STAGING_SERVER","description":"Staging server"},{"url":"YOUR_PRODUCTION_SERVER","description":"Production server"}],"externalDocs":{"description":"Find out more","url":"https://strapi.io/documentation/developer-docs/latest/getting-started/introduction.html"},"security":[{"bearerAuth":[]}],"paths":{"/activities":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Activity"}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Activity"],"parameters":[{"name":"_limit","in":"query","required":false,"description":"Maximum number of results possible","schema":{"type":"integer"},"deprecated":false},{"name":"_sort","in":"query","required":false,"description":"Sort according to a specific field.","schema":{"type":"string"},"deprecated":false},{"name":"_start","in":"query","required":false,"description":"Skip a specific number of entries (especially useful for pagination)","schema":{"type":"integer"},"deprecated":false},{"name":"=","in":"query","required":false,"description":"Get entries that matches exactly your input","schema":{"type":"string"},"deprecated":false},{"name":"_ne","in":"query","required":false,"description":"Get records that are not equals to something","schema":{"type":"string"},"deprecated":false},{"name":"_lt","in":"query","required":false,"description":"Get record that are lower than a value","schema":{"type":"string"},"deprecated":false},{"name":"_lte","in":"query","required":false,"description":"Get records that are lower than or equal to a value","schema":{"type":"string"},"deprecated":false},{"name":"_gt","in":"query","required":false,"description":"Get records that are greater than a value","schema":{"type":"string"},"deprecated":false},{"name":"_gte","in":"query","required":false,"description":"Get records that are greater than or equal a value","schema":{"type":"string"},"deprecated":false},{"name":"_contains","in":"query","required":false,"description":"Get records that contains a value","schema":{"type":"string"},"deprecated":false},{"name":"_containss","in":"query","required":false,"description":"Get records that contains (case sensitive) a value","schema":{"type":"string"},"deprecated":false},{"name":"_in","in":"query","required":false,"description":"Get records that matches any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false},{"name":"_nin","in":"query","required":false,"description":"Get records that doesn't match any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false}]},"post":{"deprecated":false,"description":"Create a new record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Activity"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Activity"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewActivity"}}}}}},"/activities/count":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Activity"],"parameters":[]}},"/activities/{id}":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Activity"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Activity"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"put":{"deprecated":false,"description":"Update a record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Activity"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Activity"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewActivity"}}}},"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"delete":{"deprecated":false,"description":"Delete a record","responses":{"200":{"description":"deletes a single record based on the ID supplied","content":{"application/json":{"schema":{"type":"integer","format":"int64"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Activity"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]}},"/activities/toolbox/{id}":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Activity"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]}},"/activities/template/{id}":{"put":{"deprecated":false,"description":"Update a record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Activity"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]}},"/activities/activity_template/{id}":{"put":{"deprecated":false,"description":"Update a record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Activity"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]}},"/authorized-workspaces":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Authorized-workspace"],"parameters":[{"name":"_limit","in":"query","required":false,"description":"Maximum number of results possible","schema":{"type":"integer"},"deprecated":false},{"name":"_sort","in":"query","required":false,"description":"Sort according to a specific field.","schema":{"type":"string"},"deprecated":false},{"name":"_start","in":"query","required":false,"description":"Skip a specific number of entries (especially useful for pagination)","schema":{"type":"integer"},"deprecated":false},{"name":"=","in":"query","required":false,"description":"Get entries that matches exactly your input","schema":{"type":"string"},"deprecated":false},{"name":"_ne","in":"query","required":false,"description":"Get records that are not equals to something","schema":{"type":"string"},"deprecated":false},{"name":"_lt","in":"query","required":false,"description":"Get record that are lower than a value","schema":{"type":"string"},"deprecated":false},{"name":"_lte","in":"query","required":false,"description":"Get records that are lower than or equal to a value","schema":{"type":"string"},"deprecated":false},{"name":"_gt","in":"query","required":false,"description":"Get records that are greater than a value","schema":{"type":"string"},"deprecated":false},{"name":"_gte","in":"query","required":false,"description":"Get records that are greater than or equal a value","schema":{"type":"string"},"deprecated":false},{"name":"_contains","in":"query","required":false,"description":"Get records that contains a value","schema":{"type":"string"},"deprecated":false},{"name":"_containss","in":"query","required":false,"description":"Get records that contains (case sensitive) a value","schema":{"type":"string"},"deprecated":false},{"name":"_in","in":"query","required":false,"description":"Get records that matches any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false},{"name":"_nin","in":"query","required":false,"description":"Get records that doesn't match any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false}]},"post":{"deprecated":false,"description":"Create a new record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Authorized-workspace"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewAuthorized-workspace"}}}}}},"/authorized-workspaces/count":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Authorized-workspace"],"parameters":[]}},"/authorized-workspaces/{id}":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Authorized-workspace"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"put":{"deprecated":false,"description":"Update a record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Authorized-workspace"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewAuthorized-workspace"}}}},"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"delete":{"deprecated":false,"description":"Delete a record","responses":{"200":{"description":"deletes a single record based on the ID supplied","content":{"application/json":{"schema":{"type":"integer","format":"int64"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Authorized-workspace"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]}},"/authorized-workspaces/toolbox/{id}":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Authorized-workspace"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]}},"/blocks":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Block"}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Block"],"parameters":[{"name":"_limit","in":"query","required":false,"description":"Maximum number of results possible","schema":{"type":"integer"},"deprecated":false},{"name":"_sort","in":"query","required":false,"description":"Sort according to a specific field.","schema":{"type":"string"},"deprecated":false},{"name":"_start","in":"query","required":false,"description":"Skip a specific number of entries (especially useful for pagination)","schema":{"type":"integer"},"deprecated":false},{"name":"=","in":"query","required":false,"description":"Get entries that matches exactly your input","schema":{"type":"string"},"deprecated":false},{"name":"_ne","in":"query","required":false,"description":"Get records that are not equals to something","schema":{"type":"string"},"deprecated":false},{"name":"_lt","in":"query","required":false,"description":"Get record that are lower than a value","schema":{"type":"string"},"deprecated":false},{"name":"_lte","in":"query","required":false,"description":"Get records that are lower than or equal to a value","schema":{"type":"string"},"deprecated":false},{"name":"_gt","in":"query","required":false,"description":"Get records that are greater than a value","schema":{"type":"string"},"deprecated":false},{"name":"_gte","in":"query","required":false,"description":"Get records that are greater than or equal a value","schema":{"type":"string"},"deprecated":false},{"name":"_contains","in":"query","required":false,"description":"Get records that contains a value","schema":{"type":"string"},"deprecated":false},{"name":"_containss","in":"query","required":false,"description":"Get records that contains (case sensitive) a value","schema":{"type":"string"},"deprecated":false},{"name":"_in","in":"query","required":false,"description":"Get records that matches any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false},{"name":"_nin","in":"query","required":false,"description":"Get records that doesn't match any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false}]},"post":{"deprecated":false,"description":"Create a new record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Block"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Block"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewBlock"}}}}}},"/blocks/count":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Block"],"parameters":[]}},"/blocks/{id}":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Block"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Block"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"put":{"deprecated":false,"description":"Update a record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Block"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Block"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewBlock"}}}},"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"delete":{"deprecated":false,"description":"Delete a record","responses":{"200":{"description":"deletes a single record based on the ID supplied","content":{"application/json":{"schema":{"type":"integer","format":"int64"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Block"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]}},"/blocks-categories":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Blocks-category"],"parameters":[{"name":"_limit","in":"query","required":false,"description":"Maximum number of results possible","schema":{"type":"integer"},"deprecated":false},{"name":"_sort","in":"query","required":false,"description":"Sort according to a specific field.","schema":{"type":"string"},"deprecated":false},{"name":"_start","in":"query","required":false,"description":"Skip a specific number of entries (especially useful for pagination)","schema":{"type":"integer"},"deprecated":false},{"name":"=","in":"query","required":false,"description":"Get entries that matches exactly your input","schema":{"type":"string"},"deprecated":false},{"name":"_ne","in":"query","required":false,"description":"Get records that are not equals to something","schema":{"type":"string"},"deprecated":false},{"name":"_lt","in":"query","required":false,"description":"Get record that are lower than a value","schema":{"type":"string"},"deprecated":false},{"name":"_lte","in":"query","required":false,"description":"Get records that are lower than or equal to a value","schema":{"type":"string"},"deprecated":false},{"name":"_gt","in":"query","required":false,"description":"Get records that are greater than a value","schema":{"type":"string"},"deprecated":false},{"name":"_gte","in":"query","required":false,"description":"Get records that are greater than or equal a value","schema":{"type":"string"},"deprecated":false},{"name":"_contains","in":"query","required":false,"description":"Get records that contains a value","schema":{"type":"string"},"deprecated":false},{"name":"_containss","in":"query","required":false,"description":"Get records that contains (case sensitive) a value","schema":{"type":"string"},"deprecated":false},{"name":"_in","in":"query","required":false,"description":"Get records that matches any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false},{"name":"_nin","in":"query","required":false,"description":"Get records that doesn't match any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false}]},"post":{"deprecated":false,"description":"Create a new record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Blocks-category"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewBlocks-category"}}}}}},"/blocks-categories/count":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Blocks-category"],"parameters":[]}},"/blocks-categories/{id}":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Blocks-category"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"put":{"deprecated":false,"description":"Update a record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Blocks-category"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewBlocks-category"}}}},"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"delete":{"deprecated":false,"description":"Delete a record","responses":{"200":{"description":"deletes a single record based on the ID supplied","content":{"application/json":{"schema":{"type":"integer","format":"int64"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Blocks-category"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]}},"/classroom-managers/me":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Classroom-manager"],"parameters":[]}},"/classrooms":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Classroom"}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Classroom"],"parameters":[{"name":"_limit","in":"query","required":false,"description":"Maximum number of results possible","schema":{"type":"integer"},"deprecated":false},{"name":"_sort","in":"query","required":false,"description":"Sort according to a specific field.","schema":{"type":"string"},"deprecated":false},{"name":"_start","in":"query","required":false,"description":"Skip a specific number of entries (especially useful for pagination)","schema":{"type":"integer"},"deprecated":false},{"name":"=","in":"query","required":false,"description":"Get entries that matches exactly your input","schema":{"type":"string"},"deprecated":false},{"name":"_ne","in":"query","required":false,"description":"Get records that are not equals to something","schema":{"type":"string"},"deprecated":false},{"name":"_lt","in":"query","required":false,"description":"Get record that are lower than a value","schema":{"type":"string"},"deprecated":false},{"name":"_lte","in":"query","required":false,"description":"Get records that are lower than or equal to a value","schema":{"type":"string"},"deprecated":false},{"name":"_gt","in":"query","required":false,"description":"Get records that are greater than a value","schema":{"type":"string"},"deprecated":false},{"name":"_gte","in":"query","required":false,"description":"Get records that are greater than or equal a value","schema":{"type":"string"},"deprecated":false},{"name":"_contains","in":"query","required":false,"description":"Get records that contains a value","schema":{"type":"string"},"deprecated":false},{"name":"_containss","in":"query","required":false,"description":"Get records that contains (case sensitive) a value","schema":{"type":"string"},"deprecated":false},{"name":"_in","in":"query","required":false,"description":"Get records that matches any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false},{"name":"_nin","in":"query","required":false,"description":"Get records that doesn't match any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false}]},"post":{"deprecated":false,"description":"Create a new record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Classroom"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Classroom"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewClassroom"}}}}}},"/classrooms/count":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Classroom"],"parameters":[]}},"/classrooms/student":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Classroom"],"parameters":[]}},"/classrooms/{id}":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Classroom"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Classroom"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"put":{"deprecated":false,"description":"Update a record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Classroom"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Classroom"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewClassroom"}}}},"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"delete":{"deprecated":false,"description":"Delete a record","responses":{"200":{"description":"deletes a single record based on the ID supplied","content":{"application/json":{"schema":{"type":"integer","format":"int64"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Classroom"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]}},"/classroom/workspaces/{id}":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"Retrieve classroom document(s)","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Classroom"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]}},"/classrooms/join/{code}":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Classroom"],"parameters":[{"name":"code","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"post":{"deprecated":false,"description":"Create a new record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Classroom"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}}}},"/bug-report":{"post":{"deprecated":false,"description":"Create a new record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Email"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}}}},"/galleries":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Gallery"}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Gallery"],"parameters":[{"name":"_limit","in":"query","required":false,"description":"Maximum number of results possible","schema":{"type":"integer"},"deprecated":false},{"name":"_sort","in":"query","required":false,"description":"Sort according to a specific field.","schema":{"type":"string"},"deprecated":false},{"name":"_start","in":"query","required":false,"description":"Skip a specific number of entries (especially useful for pagination)","schema":{"type":"integer"},"deprecated":false},{"name":"=","in":"query","required":false,"description":"Get entries that matches exactly your input","schema":{"type":"string"},"deprecated":false},{"name":"_ne","in":"query","required":false,"description":"Get records that are not equals to something","schema":{"type":"string"},"deprecated":false},{"name":"_lt","in":"query","required":false,"description":"Get record that are lower than a value","schema":{"type":"string"},"deprecated":false},{"name":"_lte","in":"query","required":false,"description":"Get records that are lower than or equal to a value","schema":{"type":"string"},"deprecated":false},{"name":"_gt","in":"query","required":false,"description":"Get records that are greater than a value","schema":{"type":"string"},"deprecated":false},{"name":"_gte","in":"query","required":false,"description":"Get records that are greater than or equal a value","schema":{"type":"string"},"deprecated":false},{"name":"_contains","in":"query","required":false,"description":"Get records that contains a value","schema":{"type":"string"},"deprecated":false},{"name":"_containss","in":"query","required":false,"description":"Get records that contains (case sensitive) a value","schema":{"type":"string"},"deprecated":false},{"name":"_in","in":"query","required":false,"description":"Get records that matches any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false},{"name":"_nin","in":"query","required":false,"description":"Get records that doesn't match any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false}]},"post":{"deprecated":false,"description":"Create a new record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Gallery"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Gallery"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewGallery"}}}}}},"/galleries/count":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Gallery"],"parameters":[]}},"/galleries/{id}":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Gallery"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Gallery"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"put":{"deprecated":false,"description":"Update a record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Gallery"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Gallery"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewGallery"}}}},"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"delete":{"deprecated":false,"description":"Delete a record","responses":{"200":{"description":"deletes a single record based on the ID supplied","content":{"application/json":{"schema":{"type":"integer","format":"int64"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Gallery"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]}},"/grades":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Grade"}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Grade"],"parameters":[{"name":"_limit","in":"query","required":false,"description":"Maximum number of results possible","schema":{"type":"integer"},"deprecated":false},{"name":"_sort","in":"query","required":false,"description":"Sort according to a specific field.","schema":{"type":"string"},"deprecated":false},{"name":"_start","in":"query","required":false,"description":"Skip a specific number of entries (especially useful for pagination)","schema":{"type":"integer"},"deprecated":false},{"name":"=","in":"query","required":false,"description":"Get entries that matches exactly your input","schema":{"type":"string"},"deprecated":false},{"name":"_ne","in":"query","required":false,"description":"Get records that are not equals to something","schema":{"type":"string"},"deprecated":false},{"name":"_lt","in":"query","required":false,"description":"Get record that are lower than a value","schema":{"type":"string"},"deprecated":false},{"name":"_lte","in":"query","required":false,"description":"Get records that are lower than or equal to a value","schema":{"type":"string"},"deprecated":false},{"name":"_gt","in":"query","required":false,"description":"Get records that are greater than a value","schema":{"type":"string"},"deprecated":false},{"name":"_gte","in":"query","required":false,"description":"Get records that are greater than or equal a value","schema":{"type":"string"},"deprecated":false},{"name":"_contains","in":"query","required":false,"description":"Get records that contains a value","schema":{"type":"string"},"deprecated":false},{"name":"_containss","in":"query","required":false,"description":"Get records that contains (case sensitive) a value","schema":{"type":"string"},"deprecated":false},{"name":"_in","in":"query","required":false,"description":"Get records that matches any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false},{"name":"_nin","in":"query","required":false,"description":"Get records that doesn't match any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false}]},"post":{"deprecated":false,"description":"Create a new record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Grade"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Grade"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewGrade"}}}}}},"/grades/count":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Grade"],"parameters":[]}},"/grades/{id}":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Grade"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Grade"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"put":{"deprecated":false,"description":"Update a record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Grade"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Grade"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewGrade"}}}},"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"delete":{"deprecated":false,"description":"Delete a record","responses":{"200":{"description":"deletes a single record based on the ID supplied","content":{"application/json":{"schema":{"type":"integer","format":"int64"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Grade"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]}},"/learning-component-types":{"get":{"deprecated":false,"description":"Find all the learning-component-types's records","responses":{"200":{"description":"Retrieve learning-component-types document(s)","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Learning-component-types"],"parameters":[{"name":"_limit","in":"query","required":false,"description":"Maximum number of results possible","schema":{"type":"integer"},"deprecated":false},{"name":"_sort","in":"query","required":false,"description":"Sort according to a specific field.","schema":{"type":"string"},"deprecated":false},{"name":"_start","in":"query","required":false,"description":"Skip a specific number of entries (especially useful for pagination)","schema":{"type":"integer"},"deprecated":false},{"name":"=","in":"query","required":false,"description":"Get entries that matches exactly your input","schema":{"type":"string"},"deprecated":false},{"name":"_ne","in":"query","required":false,"description":"Get records that are not equals to something","schema":{"type":"string"},"deprecated":false},{"name":"_lt","in":"query","required":false,"description":"Get record that are lower than a value","schema":{"type":"string"},"deprecated":false},{"name":"_lte","in":"query","required":false,"description":"Get records that are lower than or equal to a value","schema":{"type":"string"},"deprecated":false},{"name":"_gt","in":"query","required":false,"description":"Get records that are greater than a value","schema":{"type":"string"},"deprecated":false},{"name":"_gte","in":"query","required":false,"description":"Get records that are greater than or equal a value","schema":{"type":"string"},"deprecated":false},{"name":"_contains","in":"query","required":false,"description":"Get records that contains a value","schema":{"type":"string"},"deprecated":false},{"name":"_containss","in":"query","required":false,"description":"Get records that contains (case sensitive) a value","schema":{"type":"string"},"deprecated":false},{"name":"_in","in":"query","required":false,"description":"Get records that matches any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false},{"name":"_nin","in":"query","required":false,"description":"Get records that doesn't match any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false}]},"post":{"deprecated":false,"description":"Create a new learning-component-types record","responses":{"200":{"description":"Retrieve learning-component-types document(s)","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Learning-component-types"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewLearning-component-types"}}}}}},"/learning-component-types/count":{"get":{"deprecated":false,"description":"Retrieve the number of learning-component-types documents","responses":{"200":{"description":"Retrieve learning-component-types document(s)","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Learning-component-types"],"parameters":[]}},"/learning-component-types/{id}":{"get":{"deprecated":false,"description":"Find one learning-component-types record","responses":{"200":{"description":"Retrieve learning-component-types document(s)","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Learning-component-types"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"put":{"deprecated":false,"description":"Update a single learning-component-types record","responses":{"200":{"description":"Retrieve learning-component-types document(s)","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Learning-component-types"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewLearning-component-types"}}}},"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"delete":{"deprecated":false,"description":"Delete a single learning-component-types record","responses":{"200":{"description":"deletes a single learning-component-types based on the ID supplied","content":{"application/json":{"schema":{"type":"integer","format":"int64"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Learning-component-types"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]}},"/learning-components":{"get":{"deprecated":false,"description":"Find all the learning-components's records","responses":{"200":{"description":"Retrieve learning-components document(s)","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Learning-components"],"parameters":[{"name":"_limit","in":"query","required":false,"description":"Maximum number of results possible","schema":{"type":"integer"},"deprecated":false},{"name":"_sort","in":"query","required":false,"description":"Sort according to a specific field.","schema":{"type":"string"},"deprecated":false},{"name":"_start","in":"query","required":false,"description":"Skip a specific number of entries (especially useful for pagination)","schema":{"type":"integer"},"deprecated":false},{"name":"=","in":"query","required":false,"description":"Get entries that matches exactly your input","schema":{"type":"string"},"deprecated":false},{"name":"_ne","in":"query","required":false,"description":"Get records that are not equals to something","schema":{"type":"string"},"deprecated":false},{"name":"_lt","in":"query","required":false,"description":"Get record that are lower than a value","schema":{"type":"string"},"deprecated":false},{"name":"_lte","in":"query","required":false,"description":"Get records that are lower than or equal to a value","schema":{"type":"string"},"deprecated":false},{"name":"_gt","in":"query","required":false,"description":"Get records that are greater than a value","schema":{"type":"string"},"deprecated":false},{"name":"_gte","in":"query","required":false,"description":"Get records that are greater than or equal a value","schema":{"type":"string"},"deprecated":false},{"name":"_contains","in":"query","required":false,"description":"Get records that contains a value","schema":{"type":"string"},"deprecated":false},{"name":"_containss","in":"query","required":false,"description":"Get records that contains (case sensitive) a value","schema":{"type":"string"},"deprecated":false},{"name":"_in","in":"query","required":false,"description":"Get records that matches any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false},{"name":"_nin","in":"query","required":false,"description":"Get records that doesn't match any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false}]},"post":{"deprecated":false,"description":"Create a new learning-components record","responses":{"200":{"description":"Retrieve learning-components document(s)","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Learning-components"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewLearning-components"}}}}}},"/learning-components/count":{"get":{"deprecated":false,"description":"Retrieve the number of learning-components documents","responses":{"200":{"description":"Retrieve learning-components document(s)","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Learning-components"],"parameters":[]}},"/learning-components/{id}":{"get":{"deprecated":false,"description":"Find one learning-components record","responses":{"200":{"description":"Retrieve learning-components document(s)","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Learning-components"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"put":{"deprecated":false,"description":"Update a single learning-components record","responses":{"200":{"description":"Retrieve learning-components document(s)","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Learning-components"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewLearning-components"}}}},"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"delete":{"deprecated":false,"description":"Delete a single learning-components record","responses":{"200":{"description":"deletes a single learning-components based on the ID supplied","content":{"application/json":{"schema":{"type":"integer","format":"int64"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Learning-components"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]}},"/lesson-modules":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Lesson-module"],"parameters":[{"name":"_limit","in":"query","required":false,"description":"Maximum number of results possible","schema":{"type":"integer"},"deprecated":false},{"name":"_sort","in":"query","required":false,"description":"Sort according to a specific field.","schema":{"type":"string"},"deprecated":false},{"name":"_start","in":"query","required":false,"description":"Skip a specific number of entries (especially useful for pagination)","schema":{"type":"integer"},"deprecated":false},{"name":"=","in":"query","required":false,"description":"Get entries that matches exactly your input","schema":{"type":"string"},"deprecated":false},{"name":"_ne","in":"query","required":false,"description":"Get records that are not equals to something","schema":{"type":"string"},"deprecated":false},{"name":"_lt","in":"query","required":false,"description":"Get record that are lower than a value","schema":{"type":"string"},"deprecated":false},{"name":"_lte","in":"query","required":false,"description":"Get records that are lower than or equal to a value","schema":{"type":"string"},"deprecated":false},{"name":"_gt","in":"query","required":false,"description":"Get records that are greater than a value","schema":{"type":"string"},"deprecated":false},{"name":"_gte","in":"query","required":false,"description":"Get records that are greater than or equal a value","schema":{"type":"string"},"deprecated":false},{"name":"_contains","in":"query","required":false,"description":"Get records that contains a value","schema":{"type":"string"},"deprecated":false},{"name":"_containss","in":"query","required":false,"description":"Get records that contains (case sensitive) a value","schema":{"type":"string"},"deprecated":false},{"name":"_in","in":"query","required":false,"description":"Get records that matches any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false},{"name":"_nin","in":"query","required":false,"description":"Get records that doesn't match any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false}]},"post":{"deprecated":false,"description":"Create a new record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Lesson-module"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewLesson-module"}}}}}},"/lesson-modules/count":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Lesson-module"],"parameters":[]}},"/lesson-modules/{id}":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Lesson-module"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"put":{"deprecated":false,"description":"Update a record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Lesson-module"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewLesson-module"}}}},"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"delete":{"deprecated":false,"description":"Delete a record","responses":{"200":{"description":"deletes a single record based on the ID supplied","content":{"application/json":{"schema":{"type":"integer","format":"int64"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Lesson-module"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]}},"/mentors":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Mentor"}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Mentor"],"parameters":[{"name":"_limit","in":"query","required":false,"description":"Maximum number of results possible","schema":{"type":"integer"},"deprecated":false},{"name":"_sort","in":"query","required":false,"description":"Sort according to a specific field.","schema":{"type":"string"},"deprecated":false},{"name":"_start","in":"query","required":false,"description":"Skip a specific number of entries (especially useful for pagination)","schema":{"type":"integer"},"deprecated":false},{"name":"=","in":"query","required":false,"description":"Get entries that matches exactly your input","schema":{"type":"string"},"deprecated":false},{"name":"_ne","in":"query","required":false,"description":"Get records that are not equals to something","schema":{"type":"string"},"deprecated":false},{"name":"_lt","in":"query","required":false,"description":"Get record that are lower than a value","schema":{"type":"string"},"deprecated":false},{"name":"_lte","in":"query","required":false,"description":"Get records that are lower than or equal to a value","schema":{"type":"string"},"deprecated":false},{"name":"_gt","in":"query","required":false,"description":"Get records that are greater than a value","schema":{"type":"string"},"deprecated":false},{"name":"_gte","in":"query","required":false,"description":"Get records that are greater than or equal a value","schema":{"type":"string"},"deprecated":false},{"name":"_contains","in":"query","required":false,"description":"Get records that contains a value","schema":{"type":"string"},"deprecated":false},{"name":"_containss","in":"query","required":false,"description":"Get records that contains (case sensitive) a value","schema":{"type":"string"},"deprecated":false},{"name":"_in","in":"query","required":false,"description":"Get records that matches any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false},{"name":"_nin","in":"query","required":false,"description":"Get records that doesn't match any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false}]},"post":{"deprecated":false,"description":"Create a new record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Mentor"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Mentor"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewMentor"}}}}}},"/mentors/count":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Mentor"],"parameters":[]}},"/mentors/{id}":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Mentor"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Mentor"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"put":{"deprecated":false,"description":"Update a record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Mentor"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Mentor"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewMentor"}}}},"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"delete":{"deprecated":false,"description":"Delete a record","responses":{"200":{"description":"deletes a single record based on the ID supplied","content":{"application/json":{"schema":{"type":"integer","format":"int64"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Mentor"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]}},"/sandbox/toolbox":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Sandbox"],"parameters":[]}},"/sandbox/submission/{id}":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Sandbox"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]}},"/sandbox/submission":{"post":{"deprecated":false,"description":"Create a new record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Sandbox"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}}}},"/saves":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Save"}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Save"],"parameters":[{"name":"_limit","in":"query","required":false,"description":"Maximum number of results possible","schema":{"type":"integer"},"deprecated":false},{"name":"_sort","in":"query","required":false,"description":"Sort according to a specific field.","schema":{"type":"string"},"deprecated":false},{"name":"_start","in":"query","required":false,"description":"Skip a specific number of entries (especially useful for pagination)","schema":{"type":"integer"},"deprecated":false},{"name":"=","in":"query","required":false,"description":"Get entries that matches exactly your input","schema":{"type":"string"},"deprecated":false},{"name":"_ne","in":"query","required":false,"description":"Get records that are not equals to something","schema":{"type":"string"},"deprecated":false},{"name":"_lt","in":"query","required":false,"description":"Get record that are lower than a value","schema":{"type":"string"},"deprecated":false},{"name":"_lte","in":"query","required":false,"description":"Get records that are lower than or equal to a value","schema":{"type":"string"},"deprecated":false},{"name":"_gt","in":"query","required":false,"description":"Get records that are greater than a value","schema":{"type":"string"},"deprecated":false},{"name":"_gte","in":"query","required":false,"description":"Get records that are greater than or equal a value","schema":{"type":"string"},"deprecated":false},{"name":"_contains","in":"query","required":false,"description":"Get records that contains a value","schema":{"type":"string"},"deprecated":false},{"name":"_containss","in":"query","required":false,"description":"Get records that contains (case sensitive) a value","schema":{"type":"string"},"deprecated":false},{"name":"_in","in":"query","required":false,"description":"Get records that matches any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false},{"name":"_nin","in":"query","required":false,"description":"Get records that doesn't match any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false}]},"post":{"deprecated":false,"description":"Create a new record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Save"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Save"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewSave"}}}}}},"/saves/count":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Save"],"parameters":[]}},"/saves/activity/{activity}":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Save"],"parameters":[{"name":"activity","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]}},"/saves/{id}":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Save"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Save"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"put":{"deprecated":false,"description":"Update a record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Save"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Save"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewSave"}}}},"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"delete":{"deprecated":false,"description":"Delete a record","responses":{"200":{"description":"deletes a single record based on the ID supplied","content":{"application/json":{"schema":{"type":"integer","format":"int64"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Save"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]}},"/schools":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/School"}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["School"],"parameters":[{"name":"_limit","in":"query","required":false,"description":"Maximum number of results possible","schema":{"type":"integer"},"deprecated":false},{"name":"_sort","in":"query","required":false,"description":"Sort according to a specific field.","schema":{"type":"string"},"deprecated":false},{"name":"_start","in":"query","required":false,"description":"Skip a specific number of entries (especially useful for pagination)","schema":{"type":"integer"},"deprecated":false},{"name":"=","in":"query","required":false,"description":"Get entries that matches exactly your input","schema":{"type":"string"},"deprecated":false},{"name":"_ne","in":"query","required":false,"description":"Get records that are not equals to something","schema":{"type":"string"},"deprecated":false},{"name":"_lt","in":"query","required":false,"description":"Get record that are lower than a value","schema":{"type":"string"},"deprecated":false},{"name":"_lte","in":"query","required":false,"description":"Get records that are lower than or equal to a value","schema":{"type":"string"},"deprecated":false},{"name":"_gt","in":"query","required":false,"description":"Get records that are greater than a value","schema":{"type":"string"},"deprecated":false},{"name":"_gte","in":"query","required":false,"description":"Get records that are greater than or equal a value","schema":{"type":"string"},"deprecated":false},{"name":"_contains","in":"query","required":false,"description":"Get records that contains a value","schema":{"type":"string"},"deprecated":false},{"name":"_containss","in":"query","required":false,"description":"Get records that contains (case sensitive) a value","schema":{"type":"string"},"deprecated":false},{"name":"_in","in":"query","required":false,"description":"Get records that matches any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false},{"name":"_nin","in":"query","required":false,"description":"Get records that doesn't match any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false}]},"post":{"deprecated":false,"description":"Create a new record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/School"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["School"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewSchool"}}}}}},"/schools/count":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["School"],"parameters":[]}},"/schools/{id}":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/School"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["School"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"put":{"deprecated":false,"description":"Update a record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/School"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["School"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewSchool"}}}},"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"delete":{"deprecated":false,"description":"Delete a record","responses":{"200":{"description":"deletes a single record based on the ID supplied","content":{"application/json":{"schema":{"type":"integer","format":"int64"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["School"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]}},"/selections":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Selection"}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Selection"],"parameters":[{"name":"_limit","in":"query","required":false,"description":"Maximum number of results possible","schema":{"type":"integer"},"deprecated":false},{"name":"_sort","in":"query","required":false,"description":"Sort according to a specific field.","schema":{"type":"string"},"deprecated":false},{"name":"_start","in":"query","required":false,"description":"Skip a specific number of entries (especially useful for pagination)","schema":{"type":"integer"},"deprecated":false},{"name":"=","in":"query","required":false,"description":"Get entries that matches exactly your input","schema":{"type":"string"},"deprecated":false},{"name":"_ne","in":"query","required":false,"description":"Get records that are not equals to something","schema":{"type":"string"},"deprecated":false},{"name":"_lt","in":"query","required":false,"description":"Get record that are lower than a value","schema":{"type":"string"},"deprecated":false},{"name":"_lte","in":"query","required":false,"description":"Get records that are lower than or equal to a value","schema":{"type":"string"},"deprecated":false},{"name":"_gt","in":"query","required":false,"description":"Get records that are greater than a value","schema":{"type":"string"},"deprecated":false},{"name":"_gte","in":"query","required":false,"description":"Get records that are greater than or equal a value","schema":{"type":"string"},"deprecated":false},{"name":"_contains","in":"query","required":false,"description":"Get records that contains a value","schema":{"type":"string"},"deprecated":false},{"name":"_containss","in":"query","required":false,"description":"Get records that contains (case sensitive) a value","schema":{"type":"string"},"deprecated":false},{"name":"_in","in":"query","required":false,"description":"Get records that matches any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false},{"name":"_nin","in":"query","required":false,"description":"Get records that doesn't match any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false}]},"post":{"deprecated":false,"description":"Create a new record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Selection"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Selection"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewSelection"}}}}}},"/selections/count":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Selection"],"parameters":[]}},"/selections/{id}":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Selection"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Selection"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"put":{"deprecated":false,"description":"Update a record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Selection"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Selection"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewSelection"}}}},"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"delete":{"deprecated":false,"description":"Delete a record","responses":{"200":{"description":"deletes a single record based on the ID supplied","content":{"application/json":{"schema":{"type":"integer","format":"int64"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Selection"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]}},"/sessions":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Session"}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Session"],"parameters":[{"name":"_limit","in":"query","required":false,"description":"Maximum number of results possible","schema":{"type":"integer"},"deprecated":false},{"name":"_sort","in":"query","required":false,"description":"Sort according to a specific field.","schema":{"type":"string"},"deprecated":false},{"name":"_start","in":"query","required":false,"description":"Skip a specific number of entries (especially useful for pagination)","schema":{"type":"integer"},"deprecated":false},{"name":"=","in":"query","required":false,"description":"Get entries that matches exactly your input","schema":{"type":"string"},"deprecated":false},{"name":"_ne","in":"query","required":false,"description":"Get records that are not equals to something","schema":{"type":"string"},"deprecated":false},{"name":"_lt","in":"query","required":false,"description":"Get record that are lower than a value","schema":{"type":"string"},"deprecated":false},{"name":"_lte","in":"query","required":false,"description":"Get records that are lower than or equal to a value","schema":{"type":"string"},"deprecated":false},{"name":"_gt","in":"query","required":false,"description":"Get records that are greater than a value","schema":{"type":"string"},"deprecated":false},{"name":"_gte","in":"query","required":false,"description":"Get records that are greater than or equal a value","schema":{"type":"string"},"deprecated":false},{"name":"_contains","in":"query","required":false,"description":"Get records that contains a value","schema":{"type":"string"},"deprecated":false},{"name":"_containss","in":"query","required":false,"description":"Get records that contains (case sensitive) a value","schema":{"type":"string"},"deprecated":false},{"name":"_in","in":"query","required":false,"description":"Get records that matches any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false},{"name":"_nin","in":"query","required":false,"description":"Get records that doesn't match any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false}]},"post":{"deprecated":false,"description":"Create a new record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Session"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Session"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewSession"}}}}}},"/sessions/count":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Session"],"parameters":[]}},"/sessions/{id}":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Session"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Session"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"put":{"deprecated":false,"description":"Update a record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Session"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Session"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewSession"}}}},"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"delete":{"deprecated":false,"description":"Delete a record","responses":{"200":{"description":"deletes a single record based on the ID supplied","content":{"application/json":{"schema":{"type":"integer","format":"int64"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Session"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]}},"/students":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Student"}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Student"],"parameters":[{"name":"_limit","in":"query","required":false,"description":"Maximum number of results possible","schema":{"type":"integer"},"deprecated":false},{"name":"_sort","in":"query","required":false,"description":"Sort according to a specific field.","schema":{"type":"string"},"deprecated":false},{"name":"_start","in":"query","required":false,"description":"Skip a specific number of entries (especially useful for pagination)","schema":{"type":"integer"},"deprecated":false},{"name":"=","in":"query","required":false,"description":"Get entries that matches exactly your input","schema":{"type":"string"},"deprecated":false},{"name":"_ne","in":"query","required":false,"description":"Get records that are not equals to something","schema":{"type":"string"},"deprecated":false},{"name":"_lt","in":"query","required":false,"description":"Get record that are lower than a value","schema":{"type":"string"},"deprecated":false},{"name":"_lte","in":"query","required":false,"description":"Get records that are lower than or equal to a value","schema":{"type":"string"},"deprecated":false},{"name":"_gt","in":"query","required":false,"description":"Get records that are greater than a value","schema":{"type":"string"},"deprecated":false},{"name":"_gte","in":"query","required":false,"description":"Get records that are greater than or equal a value","schema":{"type":"string"},"deprecated":false},{"name":"_contains","in":"query","required":false,"description":"Get records that contains a value","schema":{"type":"string"},"deprecated":false},{"name":"_containss","in":"query","required":false,"description":"Get records that contains (case sensitive) a value","schema":{"type":"string"},"deprecated":false},{"name":"_in","in":"query","required":false,"description":"Get records that matches any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false},{"name":"_nin","in":"query","required":false,"description":"Get records that doesn't match any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false}]},"post":{"deprecated":false,"description":"Create a new record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Student"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Student"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewStudent"}}}}}},"/students/me":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Student"],"parameters":[]}},"/students/count":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Student"],"parameters":[]}},"/students/{id}":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Student"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Student"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"put":{"deprecated":false,"description":"Update a record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Student"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Student"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewStudent"}}}},"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"delete":{"deprecated":false,"description":"Delete a record","responses":{"200":{"description":"deletes a single record based on the ID supplied","content":{"application/json":{"schema":{"type":"integer","format":"int64"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Student"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]}},"/students/enrolled/{id}":{"put":{"deprecated":false,"description":"Update a record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Student"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]}},"/submissions":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Submission"}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Submission"],"parameters":[{"name":"_limit","in":"query","required":false,"description":"Maximum number of results possible","schema":{"type":"integer"},"deprecated":false},{"name":"_sort","in":"query","required":false,"description":"Sort according to a specific field.","schema":{"type":"string"},"deprecated":false},{"name":"_start","in":"query","required":false,"description":"Skip a specific number of entries (especially useful for pagination)","schema":{"type":"integer"},"deprecated":false},{"name":"=","in":"query","required":false,"description":"Get entries that matches exactly your input","schema":{"type":"string"},"deprecated":false},{"name":"_ne","in":"query","required":false,"description":"Get records that are not equals to something","schema":{"type":"string"},"deprecated":false},{"name":"_lt","in":"query","required":false,"description":"Get record that are lower than a value","schema":{"type":"string"},"deprecated":false},{"name":"_lte","in":"query","required":false,"description":"Get records that are lower than or equal to a value","schema":{"type":"string"},"deprecated":false},{"name":"_gt","in":"query","required":false,"description":"Get records that are greater than a value","schema":{"type":"string"},"deprecated":false},{"name":"_gte","in":"query","required":false,"description":"Get records that are greater than or equal a value","schema":{"type":"string"},"deprecated":false},{"name":"_contains","in":"query","required":false,"description":"Get records that contains a value","schema":{"type":"string"},"deprecated":false},{"name":"_containss","in":"query","required":false,"description":"Get records that contains (case sensitive) a value","schema":{"type":"string"},"deprecated":false},{"name":"_in","in":"query","required":false,"description":"Get records that matches any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false},{"name":"_nin","in":"query","required":false,"description":"Get records that doesn't match any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false}]},"post":{"deprecated":false,"description":"Create a new record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Submission"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Submission"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewSubmission"}}}}}},"/submissions/count":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Submission"],"parameters":[]}},"/submissions/{id}":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Submission"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Submission"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"put":{"deprecated":false,"description":"Update a record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Submission"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Submission"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewSubmission"}}}},"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"delete":{"deprecated":false,"description":"Delete a record","responses":{"200":{"description":"deletes a single record based on the ID supplied","content":{"application/json":{"schema":{"type":"integer","format":"int64"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Submission"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]}},"/units":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Unit"}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Unit"],"parameters":[{"name":"_limit","in":"query","required":false,"description":"Maximum number of results possible","schema":{"type":"integer"},"deprecated":false},{"name":"_sort","in":"query","required":false,"description":"Sort according to a specific field.","schema":{"type":"string"},"deprecated":false},{"name":"_start","in":"query","required":false,"description":"Skip a specific number of entries (especially useful for pagination)","schema":{"type":"integer"},"deprecated":false},{"name":"=","in":"query","required":false,"description":"Get entries that matches exactly your input","schema":{"type":"string"},"deprecated":false},{"name":"_ne","in":"query","required":false,"description":"Get records that are not equals to something","schema":{"type":"string"},"deprecated":false},{"name":"_lt","in":"query","required":false,"description":"Get record that are lower than a value","schema":{"type":"string"},"deprecated":false},{"name":"_lte","in":"query","required":false,"description":"Get records that are lower than or equal to a value","schema":{"type":"string"},"deprecated":false},{"name":"_gt","in":"query","required":false,"description":"Get records that are greater than a value","schema":{"type":"string"},"deprecated":false},{"name":"_gte","in":"query","required":false,"description":"Get records that are greater than or equal a value","schema":{"type":"string"},"deprecated":false},{"name":"_contains","in":"query","required":false,"description":"Get records that contains a value","schema":{"type":"string"},"deprecated":false},{"name":"_containss","in":"query","required":false,"description":"Get records that contains (case sensitive) a value","schema":{"type":"string"},"deprecated":false},{"name":"_in","in":"query","required":false,"description":"Get records that matches any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false},{"name":"_nin","in":"query","required":false,"description":"Get records that doesn't match any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false}]},"post":{"deprecated":false,"description":"Create a new record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unit"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Unit"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewUnit"}}}}}},"/units/count":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"count":{"type":"integer"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Unit"],"parameters":[]}},"/units/{id}":{"get":{"deprecated":false,"description":"","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unit"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Unit"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"put":{"deprecated":false,"description":"Update a record","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unit"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Unit"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewUnit"}}}},"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"delete":{"deprecated":false,"description":"Delete a record","responses":{"200":{"description":"deletes a single record based on the ID supplied","content":{"application/json":{"schema":{"type":"integer","format":"int64"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Unit"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]}},"/email/":{"post":{"deprecated":false,"description":"Send an email","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Email - Email"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}}}},"/email/test":{"post":{"deprecated":false,"description":"Send an test email","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Email - Email"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}}}},"/email/settings":{"get":{"deprecated":false,"description":"Get the email settings","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["Email - Email"],"parameters":[]}},"/users-permissions/roles/{id}":{"get":{"deprecated":false,"description":"Retrieve a role depending on its id","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsersPermissionsRole"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["UsersPermissions - Role"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]}},"/users-permissions/roles":{"get":{"deprecated":false,"description":"Retrieve all role documents","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UsersPermissionsRole"}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["UsersPermissions - Role"],"parameters":[{"name":"_limit","in":"query","required":false,"description":"Maximum number of results possible","schema":{"type":"integer"},"deprecated":false},{"name":"_sort","in":"query","required":false,"description":"Sort according to a specific field.","schema":{"type":"string"},"deprecated":false},{"name":"_start","in":"query","required":false,"description":"Skip a specific number of entries (especially useful for pagination)","schema":{"type":"integer"},"deprecated":false},{"name":"=","in":"query","required":false,"description":"Get entries that matches exactly your input","schema":{"type":"string"},"deprecated":false},{"name":"_ne","in":"query","required":false,"description":"Get records that are not equals to something","schema":{"type":"string"},"deprecated":false},{"name":"_lt","in":"query","required":false,"description":"Get record that are lower than a value","schema":{"type":"string"},"deprecated":false},{"name":"_lte","in":"query","required":false,"description":"Get records that are lower than or equal to a value","schema":{"type":"string"},"deprecated":false},{"name":"_gt","in":"query","required":false,"description":"Get records that are greater than a value","schema":{"type":"string"},"deprecated":false},{"name":"_gte","in":"query","required":false,"description":"Get records that are greater than or equal a value","schema":{"type":"string"},"deprecated":false},{"name":"_contains","in":"query","required":false,"description":"Get records that contains a value","schema":{"type":"string"},"deprecated":false},{"name":"_containss","in":"query","required":false,"description":"Get records that contains (case sensitive) a value","schema":{"type":"string"},"deprecated":false},{"name":"_in","in":"query","required":false,"description":"Get records that matches any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false},{"name":"_nin","in":"query","required":false,"description":"Get records that doesn't match any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false}]},"post":{"deprecated":false,"description":"Create a new role","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsersPermissionsRole"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["UsersPermissions - Role"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewUsersPermissionsRole"}}}}}},"/users-permissions/roles/{role}":{"put":{"deprecated":false,"description":"Update a role","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsersPermissionsRole"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["UsersPermissions - Role"],"parameters":[{"name":"role","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewUsersPermissionsRole"}}}}},"delete":{"deprecated":false,"description":"Delete a role","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["UsersPermissions - Role"],"parameters":[{"name":"role","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]}},"/users-permissions/search/{id}":{"get":{"deprecated":false,"description":"Search for users","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UsersPermissionsUser"}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["UsersPermissions - User"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}},{"name":"_limit","in":"query","required":false,"description":"Maximum number of results possible","schema":{"type":"integer"},"deprecated":false},{"name":"_sort","in":"query","required":false,"description":"Sort according to a specific field.","schema":{"type":"string"},"deprecated":false},{"name":"_start","in":"query","required":false,"description":"Skip a specific number of entries (especially useful for pagination)","schema":{"type":"integer"},"deprecated":false},{"name":"=","in":"query","required":false,"description":"Get entries that matches exactly your input","schema":{"type":"string"},"deprecated":false},{"name":"_ne","in":"query","required":false,"description":"Get records that are not equals to something","schema":{"type":"string"},"deprecated":false},{"name":"_lt","in":"query","required":false,"description":"Get record that are lower than a value","schema":{"type":"string"},"deprecated":false},{"name":"_lte","in":"query","required":false,"description":"Get records that are lower than or equal to a value","schema":{"type":"string"},"deprecated":false},{"name":"_gt","in":"query","required":false,"description":"Get records that are greater than a value","schema":{"type":"string"},"deprecated":false},{"name":"_gte","in":"query","required":false,"description":"Get records that are greater than or equal a value","schema":{"type":"string"},"deprecated":false},{"name":"_contains","in":"query","required":false,"description":"Get records that contains a value","schema":{"type":"string"},"deprecated":false},{"name":"_containss","in":"query","required":false,"description":"Get records that contains (case sensitive) a value","schema":{"type":"string"},"deprecated":false},{"name":"_in","in":"query","required":false,"description":"Get records that matches any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false},{"name":"_nin","in":"query","required":false,"description":"Get records that doesn't match any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false}]}},"/connect/*":{"get":{"deprecated":false,"description":"Connect a provider","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["UsersPermissions - User"],"parameters":[]}},"/auth/local":{"post":{"deprecated":false,"description":"Login a user using the identifiers email and password","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["UsersPermissions - User"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}}}},"/auth/local/register":{"post":{"deprecated":false,"description":"Register a new user with the default role","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsersPermissionsUser"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["UsersPermissions - User"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewUsersPermissionsUser"}}}}}},"/auth/{provider}/callback":{"get":{"deprecated":false,"description":"Successfull redirection after approving a provider","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["UsersPermissions - User"],"parameters":[{"name":"provider","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]}},"/auth/forgot-password":{"post":{"deprecated":false,"description":"Send the reset password email link","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["UsersPermissions - User"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}}}},"/auth/reset-password":{"post":{"deprecated":false,"description":"Reset user password with a code (resetToken)","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["UsersPermissions - User"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}}}},"/auth/email-confirmation":{"get":{"deprecated":false,"description":"Validate a user account","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["UsersPermissions - User"],"parameters":[]}},"/auth/send-email-confirmation":{"post":{"deprecated":false,"description":"Send a confirmation email to user","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["UsersPermissions - User"],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}}}},"/users":{"get":{"deprecated":false,"description":"Retrieve all user documents","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UsersPermissionsUser"}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["UsersPermissions - User"],"parameters":[{"name":"_limit","in":"query","required":false,"description":"Maximum number of results possible","schema":{"type":"integer"},"deprecated":false},{"name":"_sort","in":"query","required":false,"description":"Sort according to a specific field.","schema":{"type":"string"},"deprecated":false},{"name":"_start","in":"query","required":false,"description":"Skip a specific number of entries (especially useful for pagination)","schema":{"type":"integer"},"deprecated":false},{"name":"=","in":"query","required":false,"description":"Get entries that matches exactly your input","schema":{"type":"string"},"deprecated":false},{"name":"_ne","in":"query","required":false,"description":"Get records that are not equals to something","schema":{"type":"string"},"deprecated":false},{"name":"_lt","in":"query","required":false,"description":"Get record that are lower than a value","schema":{"type":"string"},"deprecated":false},{"name":"_lte","in":"query","required":false,"description":"Get records that are lower than or equal to a value","schema":{"type":"string"},"deprecated":false},{"name":"_gt","in":"query","required":false,"description":"Get records that are greater than a value","schema":{"type":"string"},"deprecated":false},{"name":"_gte","in":"query","required":false,"description":"Get records that are greater than or equal a value","schema":{"type":"string"},"deprecated":false},{"name":"_contains","in":"query","required":false,"description":"Get records that contains a value","schema":{"type":"string"},"deprecated":false},{"name":"_containss","in":"query","required":false,"description":"Get records that contains (case sensitive) a value","schema":{"type":"string"},"deprecated":false},{"name":"_in","in":"query","required":false,"description":"Get records that matches any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false},{"name":"_nin","in":"query","required":false,"description":"Get records that doesn't match any value in the array of values","schema":{"type":"array","items":{"type":"string"}},"deprecated":false}]}},"/users/me":{"get":{"deprecated":false,"description":"Retrieve the logged in user information","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsersPermissionsUser"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["UsersPermissions - User"],"parameters":[]}},"/users/{id}":{"get":{"deprecated":false,"description":"Retrieve a single user depending on his id","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsersPermissionsUser"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["UsersPermissions - User"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]},"put":{"deprecated":false,"description":"Update an existing user","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsersPermissionsUser"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["UsersPermissions - User"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewUsersPermissionsUser"}}}}},"delete":{"deprecated":false,"description":"Delete an existing user","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"properties":{"foo":{"type":"string"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"default":{"description":"unexpected error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"summary":"","tags":["UsersPermissions - User"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}]}}},"components":{"schemas":{"Activity":{"required":["id","number","template"],"properties":{"id":{"type":"string"},"lesson_module":{"required":["id","number","name"],"properties":{"id":{"type":"string"},"number":{"type":"number"},"name":{"type":"string"},"expectations":{"type":"string"},"activities":{"type":"array","items":{"type":"string"}},"unit":{"type":"string"},"standards":{"type":"string"},"link":{"type":"string"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"number":{"type":"integer"},"template":{"type":"string"},"blocks":{"type":"array","items":{"required":["id","name"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"blocks_category":{"type":"string"},"image_url":{"type":"string"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}}},"description":{"type":"string"},"StandardS":{"type":"string"},"images":{"type":"string"},"link":{"type":"string"},"learning_components":{"type":"array","items":{"required":["id"],"properties":{"id":{"type":"string"},"type":{"type":"string"},"activities":{"type":"array","items":{"type":"string"}},"learning_component_type":{"type":"string"},"published_at":{"type":"string"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}}},"activity_template":{"type":"string"},"galleries":{"type":"array","items":{"required":["id"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"activity":{"type":"string"},"published_at":{"type":"string"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}}}}},"NewActivity":{"required":["number","template"],"properties":{"lesson_module":{"type":"string"},"number":{"type":"integer"},"template":{"type":"string"},"blocks":{"type":"array","items":{"type":"string"}},"description":{"type":"string"},"StandardS":{"type":"string"},"images":{"type":"string"},"link":{"type":"string"},"learning_components":{"type":"array","items":{"type":"string"}},"activity_template":{"type":"string"},"galleries":{"type":"array","items":{"type":"string"}},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"Authorized-workspace":{"required":["id","name","template"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"template":{"type":"string"},"published_at":{"type":"string","format":"date-time"}}},"NewAuthorized-workspace":{"required":["name","template"],"properties":{"name":{"type":"string"},"description":{"type":"string"},"template":{"type":"string"},"blocks":{"type":"array","items":{"type":"string"}},"classroom":{"type":"string"},"published_at":{"type":"string","format":"date-time"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"Block":{"required":["id","name"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"blocks_category":{"required":["id"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"blocks":{"type":"array","items":{"type":"string"}},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"image_url":{"type":"string"}}},"NewBlock":{"required":["name"],"properties":{"name":{"type":"string"},"description":{"type":"string"},"blocks_category":{"type":"string"},"image_url":{"type":"string"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"Blocks-category":{"required":["id"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"blocks":{"type":"array","items":{"required":["id","name"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"blocks_category":{"type":"string"},"image_url":{"type":"string"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}}}}},"NewBlocks-category":{"properties":{"name":{"type":"string"},"blocks":{"type":"array","items":{"type":"string"}},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"Classroom":{"required":["id","code"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"school":{"required":["id"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"county":{"type":"string"},"state":{"type":"string"},"classrooms":{"type":"array","items":{"type":"string"}},"mentors":{"type":"array","items":{"type":"string"}},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"sessions":{"type":"array","items":{"required":["id"],"properties":{"id":{"type":"string"},"classroom":{"type":"string"},"students":{"type":"array","items":{"type":"string"}},"submissions":{"type":"array","items":{"type":"string"}},"saves":{"type":"array","items":{"type":"string"}},"unit":{"type":"string"},"grade":{"type":"string"},"lesson_module":{"type":"string"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}}},"mentors":{"type":"array","items":{"required":["id"],"properties":{"id":{"type":"string"},"first_name":{"type":"string"},"last_name":{"type":"string"},"school":{"type":"string"},"classrooms":{"type":"array","items":{"type":"string"}},"user":{"type":"string"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}}},"students":{"type":"array","items":{"required":["id","enrolled"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"character":{"type":"string"},"classroom":{"type":"string"},"sessions":{"type":"array","items":{"type":"string"}},"enrolled":{"type":"boolean"},"last_logged_in":{"type":"string"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}}},"code":{"type":"string"},"grade":{"required":["id","name"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"classrooms":{"type":"array","items":{"type":"string"}},"units":{"type":"array","items":{"type":"string"}},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"selections":{"type":"array","items":{"required":["id","current"],"properties":{"id":{"type":"string"},"classroom":{"type":"string"},"lesson_module":{"type":"string"},"current":{"type":"boolean"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}}}}},"NewClassroom":{"required":["code"],"properties":{"name":{"type":"string"},"school":{"type":"string"},"sessions":{"type":"array","items":{"type":"string"}},"mentors":{"type":"array","items":{"type":"string"}},"students":{"type":"array","items":{"type":"string"}},"code":{"type":"string"},"grade":{"type":"string"},"selections":{"type":"array","items":{"type":"string"}},"authorized_workspaces":{"type":"array","items":{"type":"string"}},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"Gallery":{"required":["id"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"activity":{"required":["id","number","template"],"properties":{"id":{"type":"string"},"lesson_module":{"type":"string"},"number":{"type":"integer"},"template":{"type":"string"},"blocks":{"type":"array","items":{"type":"string"}},"description":{"type":"string"},"StandardS":{"type":"string"},"images":{"type":"string"},"link":{"type":"string"},"learning_components":{"type":"array","items":{"type":"string"}},"activity_template":{"type":"string"},"galleries":{"type":"array","items":{"type":"string"}},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"published_at":{"type":"string","format":"date-time"}}},"NewGallery":{"properties":{"name":{"type":"string"},"activity":{"type":"string"},"published_at":{"type":"string","format":"date-time"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"Grade":{"required":["id","name"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"classrooms":{"type":"array","items":{"required":["id","code"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"school":{"type":"string"},"sessions":{"type":"array","items":{"type":"string"}},"mentors":{"type":"array","items":{"type":"string"}},"students":{"type":"array","items":{"type":"string"}},"code":{"type":"string"},"grade":{"type":"string"},"selections":{"type":"array","items":{"type":"string"}},"authorized_workspaces":{"type":"array","items":{"type":"string"}},"created_by":{"type":"string"},"updated_by":{"type":"string"}}}},"units":{"type":"array","items":{"required":["id","name","number"],"properties":{"id":{"type":"string"},"grade":{"type":"string"},"name":{"type":"string"},"standards_id":{"type":"string"},"standards_description":{"type":"string"},"number":{"type":"integer"},"lesson_modules":{"type":"array","items":{"type":"string"}},"created_by":{"type":"string"},"updated_by":{"type":"string"}}}}}},"NewGrade":{"required":["name"],"properties":{"name":{"type":"string"},"classrooms":{"type":"array","items":{"type":"string"}},"units":{"type":"array","items":{"type":"string"}},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"Learning-component-types":{"required":["id"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"learning_components":{"type":"array","items":{"required":["id"],"properties":{"id":{"type":"string"},"type":{"type":"string"},"activities":{"type":"array","items":{"type":"string"}},"learning_component_type":{"type":"string"},"published_at":{"type":"string"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}}},"published_at":{"type":"string","format":"date-time"}}},"NewLearning-component-types":{"properties":{"name":{"type":"string"},"learning_components":{"type":"array","items":{"type":"string"}},"published_at":{"type":"string","format":"date-time"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"Learning-components":{"required":["id"],"properties":{"id":{"type":"string"},"type":{"type":"string"},"activities":{"type":"array","items":{"required":["id","number","template"],"properties":{"id":{"type":"string"},"lesson_module":{"type":"string"},"number":{"type":"integer"},"template":{"type":"string"},"blocks":{"type":"array","items":{"type":"string"}},"description":{"type":"string"},"StandardS":{"type":"string"},"images":{"type":"string"},"link":{"type":"string"},"learning_components":{"type":"array","items":{"type":"string"}},"activity_template":{"type":"string"},"galleries":{"type":"array","items":{"type":"string"}},"created_by":{"type":"string"},"updated_by":{"type":"string"}}}},"learning_component_type":{"required":["id"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"learning_components":{"type":"array","items":{"type":"string"}},"published_at":{"type":"string"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"published_at":{"type":"string","format":"date-time"}}},"NewLearning-components":{"properties":{"type":{"type":"string"},"activities":{"type":"array","items":{"type":"string"}},"learning_component_type":{"type":"string"},"published_at":{"type":"string","format":"date-time"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"Lesson-module":{"required":["id","number","name"],"properties":{"id":{"type":"string"},"number":{"type":"number"},"name":{"type":"string"},"expectations":{"type":"string"},"activities":{"type":"array","items":{"required":["id","number","template"],"properties":{"id":{"type":"string"},"lesson_module":{"type":"string"},"number":{"type":"integer"},"template":{"type":"string"},"blocks":{"type":"array","items":{"type":"string"}},"description":{"type":"string"},"StandardS":{"type":"string"},"images":{"type":"string"},"link":{"type":"string"},"learning_components":{"type":"array","items":{"type":"string"}},"activity_template":{"type":"string"},"galleries":{"type":"array","items":{"type":"string"}},"created_by":{"type":"string"},"updated_by":{"type":"string"}}}},"unit":{"required":["id","name","number"],"properties":{"id":{"type":"string"},"grade":{"type":"string"},"name":{"type":"string"},"standards_id":{"type":"string"},"standards_description":{"type":"string"},"number":{"type":"integer"},"lesson_modules":{"type":"array","items":{"type":"string"}},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"standards":{"type":"string"},"link":{"type":"string"}}},"NewLesson-module":{"required":["number","name"],"properties":{"number":{"type":"number"},"name":{"type":"string"},"expectations":{"type":"string"},"activities":{"type":"array","items":{"type":"string"}},"unit":{"type":"string"},"standards":{"type":"string"},"link":{"type":"string"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"Mentor":{"required":["id"],"properties":{"id":{"type":"string"},"first_name":{"type":"string"},"last_name":{"type":"string"},"school":{"required":["id"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"county":{"type":"string"},"state":{"type":"string"},"classrooms":{"type":"array","items":{"type":"string"}},"mentors":{"type":"array","items":{"type":"string"}},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"classrooms":{"type":"array","items":{"required":["id","code"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"school":{"type":"string"},"sessions":{"type":"array","items":{"type":"string"}},"mentors":{"type":"array","items":{"type":"string"}},"students":{"type":"array","items":{"type":"string"}},"code":{"type":"string"},"grade":{"type":"string"},"selections":{"type":"array","items":{"type":"string"}},"authorized_workspaces":{"type":"array","items":{"type":"string"}},"created_by":{"type":"string"},"updated_by":{"type":"string"}}}},"user":{"required":["id","username","email"],"properties":{"id":{"type":"string"},"username":{"type":"string"},"email":{"type":"string"},"provider":{"type":"string"},"password":{"type":"string"},"resetPasswordToken":{"type":"string"},"confirmationToken":{"type":"string"},"confirmed":{"type":"boolean"},"blocked":{"type":"boolean"},"role":{"type":"string"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}}}},"NewMentor":{"properties":{"first_name":{"type":"string"},"last_name":{"type":"string"},"school":{"type":"string"},"classrooms":{"type":"array","items":{"type":"string"}},"user":{"type":"string"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"Save":{"required":["id","workspace"],"properties":{"id":{"type":"string"},"activity":{"required":["id","number","template"],"properties":{"id":{"type":"string"},"lesson_module":{"type":"string"},"number":{"type":"integer"},"template":{"type":"string"},"blocks":{"type":"array","items":{"type":"string"}},"description":{"type":"string"},"StandardS":{"type":"string"},"images":{"type":"string"},"link":{"type":"string"},"learning_components":{"type":"array","items":{"type":"string"}},"activity_template":{"type":"string"},"galleries":{"type":"array","items":{"type":"string"}},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"student":{"required":["id","enrolled"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"character":{"type":"string"},"classroom":{"type":"string"},"sessions":{"type":"array","items":{"type":"string"}},"enrolled":{"type":"boolean"},"last_logged_in":{"type":"string"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"workspace":{"type":"string"},"replay":{"type":"object"},"session":{"required":["id"],"properties":{"id":{"type":"string"},"classroom":{"type":"string"},"students":{"type":"array","items":{"type":"string"}},"submissions":{"type":"array","items":{"type":"string"}},"saves":{"type":"array","items":{"type":"string"}},"unit":{"type":"string"},"grade":{"type":"string"},"lesson_module":{"type":"string"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}}}},"NewSave":{"required":["workspace"],"properties":{"activity":{"type":"string"},"student":{"type":"string"},"workspace":{"type":"string"},"replay":{"type":"object"},"session":{"type":"string"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"School":{"required":["id"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"county":{"type":"string"},"state":{"type":"string"},"classrooms":{"type":"array","items":{"required":["id","code"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"school":{"type":"string"},"sessions":{"type":"array","items":{"type":"string"}},"mentors":{"type":"array","items":{"type":"string"}},"students":{"type":"array","items":{"type":"string"}},"code":{"type":"string"},"grade":{"type":"string"},"selections":{"type":"array","items":{"type":"string"}},"authorized_workspaces":{"type":"array","items":{"type":"string"}},"created_by":{"type":"string"},"updated_by":{"type":"string"}}}},"mentors":{"type":"array","items":{"required":["id"],"properties":{"id":{"type":"string"},"first_name":{"type":"string"},"last_name":{"type":"string"},"school":{"type":"string"},"classrooms":{"type":"array","items":{"type":"string"}},"user":{"type":"string"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}}}}},"NewSchool":{"properties":{"name":{"type":"string"},"county":{"type":"string"},"state":{"type":"string"},"classrooms":{"type":"array","items":{"type":"string"}},"mentors":{"type":"array","items":{"type":"string"}},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"Selection":{"required":["id","current"],"properties":{"id":{"type":"string"},"classroom":{"required":["id","code"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"school":{"type":"string"},"sessions":{"type":"array","items":{"type":"string"}},"mentors":{"type":"array","items":{"type":"string"}},"students":{"type":"array","items":{"type":"string"}},"code":{"type":"string"},"grade":{"type":"string"},"selections":{"type":"array","items":{"type":"string"}},"authorized_workspaces":{"type":"array","items":{"type":"string"}},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"lesson_module":{"required":["id","number","name"],"properties":{"id":{"type":"string"},"number":{"type":"number"},"name":{"type":"string"},"expectations":{"type":"string"},"activities":{"type":"array","items":{"type":"string"}},"unit":{"type":"string"},"standards":{"type":"string"},"link":{"type":"string"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"current":{"type":"boolean","default":true}}},"NewSelection":{"required":["current"],"properties":{"classroom":{"type":"string"},"lesson_module":{"type":"string"},"current":{"type":"boolean","default":true},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"Session":{"required":["id"],"properties":{"id":{"type":"string"},"classroom":{"required":["id","code"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"school":{"type":"string"},"sessions":{"type":"array","items":{"type":"string"}},"mentors":{"type":"array","items":{"type":"string"}},"students":{"type":"array","items":{"type":"string"}},"code":{"type":"string"},"grade":{"type":"string"},"selections":{"type":"array","items":{"type":"string"}},"authorized_workspaces":{"type":"array","items":{"type":"string"}},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"students":{"type":"array","items":{"required":["id","enrolled"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"character":{"type":"string"},"classroom":{"type":"string"},"sessions":{"type":"array","items":{"type":"string"}},"enrolled":{"type":"boolean"},"last_logged_in":{"type":"string"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}}},"submissions":{"type":"array","items":{"required":["id","status","workspace","board","sketch","sandbox"],"properties":{"id":{"type":"string"},"status":{"type":"string"},"workspace":{"type":"string"},"success":{"type":"boolean"},"hex":{"type":"string"},"stdout":{"type":"string"},"stderr":{"type":"string"},"board":{"type":"string"},"sketch":{"type":"string"},"sandbox":{"type":"boolean"},"session":{"type":"string"},"activity":{"type":"string"},"job_id":{"type":"integer"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}}},"saves":{"type":"array","items":{"required":["id","workspace"],"properties":{"id":{"type":"string"},"activity":{"type":"string"},"student":{"type":"string"},"workspace":{"type":"string"},"replay":{"type":"object"},"session":{"type":"string"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}}},"unit":{"required":["id","name","number"],"properties":{"id":{"type":"string"},"grade":{"type":"string"},"name":{"type":"string"},"standards_id":{"type":"string"},"standards_description":{"type":"string"},"number":{"type":"integer"},"lesson_modules":{"type":"array","items":{"type":"string"}},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"grade":{"required":["id","name"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"classrooms":{"type":"array","items":{"type":"string"}},"units":{"type":"array","items":{"type":"string"}},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"lesson_module":{"required":["id","number","name"],"properties":{"id":{"type":"string"},"number":{"type":"number"},"name":{"type":"string"},"expectations":{"type":"string"},"activities":{"type":"array","items":{"type":"string"}},"unit":{"type":"string"},"standards":{"type":"string"},"link":{"type":"string"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}}}},"NewSession":{"properties":{"classroom":{"type":"string"},"students":{"type":"array","items":{"type":"string"}},"submissions":{"type":"array","items":{"type":"string"}},"saves":{"type":"array","items":{"type":"string"}},"unit":{"type":"string"},"grade":{"type":"string"},"lesson_module":{"type":"string"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"Student":{"required":["id","enrolled"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"character":{"type":"string"},"classroom":{"required":["id","code"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"school":{"type":"string"},"sessions":{"type":"array","items":{"type":"string"}},"mentors":{"type":"array","items":{"type":"string"}},"students":{"type":"array","items":{"type":"string"}},"code":{"type":"string"},"grade":{"type":"string"},"selections":{"type":"array","items":{"type":"string"}},"authorized_workspaces":{"type":"array","items":{"type":"string"}},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"sessions":{"type":"array","items":{"required":["id"],"properties":{"id":{"type":"string"},"classroom":{"type":"string"},"students":{"type":"array","items":{"type":"string"}},"submissions":{"type":"array","items":{"type":"string"}},"saves":{"type":"array","items":{"type":"string"}},"unit":{"type":"string"},"grade":{"type":"string"},"lesson_module":{"type":"string"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}}},"enrolled":{"type":"boolean","default":true},"last_logged_in":{"type":"string","format":"date-time"}}},"NewStudent":{"required":["enrolled"],"properties":{"name":{"type":"string"},"character":{"type":"string"},"classroom":{"type":"string"},"sessions":{"type":"array","items":{"type":"string"}},"enrolled":{"type":"boolean","default":true},"last_logged_in":{"type":"string","format":"date-time"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"Submission":{"required":["id","status","workspace","board","sketch","sandbox"],"properties":{"id":{"type":"string"},"status":{"type":"string","default":"WAITING"},"workspace":{"type":"string"},"success":{"type":"boolean"},"hex":{"type":"string"},"stdout":{"type":"string"},"stderr":{"type":"string"},"board":{"type":"string"},"sketch":{"type":"string"},"sandbox":{"type":"boolean","default":false},"session":{"required":["id"],"properties":{"id":{"type":"string"},"classroom":{"type":"string"},"students":{"type":"array","items":{"type":"string"}},"submissions":{"type":"array","items":{"type":"string"}},"saves":{"type":"array","items":{"type":"string"}},"unit":{"type":"string"},"grade":{"type":"string"},"lesson_module":{"type":"string"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"activity":{"required":["id","number","template"],"properties":{"id":{"type":"string"},"lesson_module":{"type":"string"},"number":{"type":"integer"},"template":{"type":"string"},"blocks":{"type":"array","items":{"type":"string"}},"description":{"type":"string"},"StandardS":{"type":"string"},"images":{"type":"string"},"link":{"type":"string"},"learning_components":{"type":"array","items":{"type":"string"}},"activity_template":{"type":"string"},"galleries":{"type":"array","items":{"type":"string"}},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"job_id":{"type":"integer"}}},"NewSubmission":{"required":["status","workspace","board","sketch","sandbox"],"properties":{"status":{"type":"string","default":"WAITING"},"workspace":{"type":"string"},"success":{"type":"boolean"},"hex":{"type":"string"},"stdout":{"type":"string"},"stderr":{"type":"string"},"board":{"type":"string"},"sketch":{"type":"string"},"sandbox":{"type":"boolean","default":false},"session":{"type":"string"},"activity":{"type":"string"},"job_id":{"type":"integer"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"Unit":{"required":["id","name","number"],"properties":{"id":{"type":"string"},"grade":{"required":["id","name"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"classrooms":{"type":"array","items":{"type":"string"}},"units":{"type":"array","items":{"type":"string"}},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"name":{"type":"string"},"standards_id":{"type":"string"},"standards_description":{"type":"string"},"number":{"type":"integer"},"lesson_modules":{"type":"array","items":{"required":["id","number","name"],"properties":{"id":{"type":"string"},"number":{"type":"number"},"name":{"type":"string"},"expectations":{"type":"string"},"activities":{"type":"array","items":{"type":"string"}},"unit":{"type":"string"},"standards":{"type":"string"},"link":{"type":"string"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}}}}},"NewUnit":{"required":["name","number"],"properties":{"grade":{"type":"string"},"name":{"type":"string"},"standards_id":{"type":"string"},"standards_description":{"type":"string"},"number":{"type":"integer"},"lesson_modules":{"type":"array","items":{"type":"string"}},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"UsersPermissionsRole":{"required":["id","name"],"properties":{"id":{"type":"string"},"name":{"type":"string","minLength":3},"description":{"type":"string"},"type":{"type":"string"},"permissions":{"type":"array","items":{"required":["id","type","controller","action","enabled"],"properties":{"id":{"type":"string"},"type":{"type":"string"},"controller":{"type":"string"},"action":{"type":"string"},"enabled":{"type":"boolean"},"policy":{"type":"string"},"role":{"type":"string"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}}},"users":{"type":"array","items":{"required":["id","username","email"],"properties":{"id":{"type":"string"},"username":{"type":"string"},"email":{"type":"string"},"provider":{"type":"string"},"password":{"type":"string"},"resetPasswordToken":{"type":"string"},"confirmationToken":{"type":"string"},"confirmed":{"type":"boolean"},"blocked":{"type":"boolean"},"role":{"type":"string"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}}}}},"NewUsersPermissionsRole":{"required":["name"],"properties":{"name":{"type":"string","minLength":3},"description":{"type":"string"},"type":{"type":"string"},"permissions":{"type":"array","items":{"type":"string"}},"users":{"type":"array","items":{"type":"string"}},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"UsersPermissionsUser":{"required":["id","username","email"],"properties":{"id":{"type":"string"},"username":{"type":"string","minLength":3},"email":{"type":"string","minLength":6},"provider":{"type":"string"},"confirmed":{"type":"boolean","default":false},"blocked":{"type":"boolean","default":false},"role":{"required":["id","name"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"type":{"type":"string"},"permissions":{"type":"array","items":{"type":"string"}},"users":{"type":"array","items":{"type":"string"}},"created_by":{"type":"string"},"updated_by":{"type":"string"}}}}},"NewUsersPermissionsUser":{"required":["username","email"],"properties":{"username":{"type":"string","minLength":3},"email":{"type":"string","minLength":6},"provider":{"type":"string"},"password":{"type":"string","format":"password","minLength":6},"resetPasswordToken":{"type":"string"},"confirmationToken":{"type":"string"},"confirmed":{"type":"boolean","default":false},"blocked":{"type":"boolean","default":false},"role":{"type":"string"},"created_by":{"type":"string"},"updated_by":{"type":"string"}}},"Error":{"required":["code","message"],"properties":{"code":{"type":"integer","format":"int32"},"message":{"type":"string"}}}},"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"tags":[{"name":"Activity"},{"name":"Block"},{"name":"Classroom"},{"name":"Email"},{"name":"Gallery"},{"name":"Grade"},{"name":"Mentor"},{"name":"Sandbox"},{"name":"Save"},{"name":"School"},{"name":"Selection"},{"name":"Session"},{"name":"Student"},{"name":"Submission"},{"name":"Unit"},{"name":"Email - Email"},{"name":"UsersPermissions - Role"},{"name":"UsersPermissions - User"}]},
dom_id: '#swagger-ui',
docExpansion: "none",
deepLinking: true,
diff --git a/server/extensions/users-permissions/models/User.settings.json b/server/extensions/users-permissions/models/User.settings.json
new file mode 100644
index 000000000..bc036460a
--- /dev/null
+++ b/server/extensions/users-permissions/models/User.settings.json
@@ -0,0 +1,63 @@
+{
+ "kind": "collectionType",
+ "collectionName": "users-permissions_user",
+ "info": {
+ "name": "user",
+ "description": ""
+ },
+ "options": {
+ "draftAndPublish": false,
+ "timestamps": true
+ },
+ "attributes": {
+ "username": {
+ "type": "string",
+ "minLength": 3,
+ "unique": true,
+ "configurable": false,
+ "required": true
+ },
+ "email": {
+ "type": "email",
+ "minLength": 6,
+ "configurable": false,
+ "required": true
+ },
+ "provider": {
+ "type": "string",
+ "configurable": false
+ },
+ "password": {
+ "type": "password",
+ "minLength": 6,
+ "configurable": false,
+ "private": true
+ },
+ "resetPasswordToken": {
+ "type": "string",
+ "configurable": false,
+ "private": true
+ },
+ "confirmationToken": {
+ "type": "string",
+ "configurable": false,
+ "private": true
+ },
+ "confirmed": {
+ "type": "boolean",
+ "default": false,
+ "configurable": false
+ },
+ "blocked": {
+ "type": "boolean",
+ "default": false,
+ "configurable": false
+ },
+ "role": {
+ "model": "role",
+ "via": "users",
+ "plugin": "users-permissions",
+ "configurable": false
+ }
+ }
+}