diff --git a/.DS_Store b/.DS_Store index d7a52e5c..9e6a10fe 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/Custom_Templates/customer_templates/WSGC - New Hire/homepage.html.liquid b/Custom_Templates/customer_templates/WSGC - New Hire/homepage.html.liquid index 921fec3a..807b7bad 100644 --- a/Custom_Templates/customer_templates/WSGC - New Hire/homepage.html.liquid +++ b/Custom_Templates/customer_templates/WSGC - New Hire/homepage.html.liquid @@ -58,7 +58,9 @@ - {% comment %} {% if completed_date == 0 %} + {% comment %} + This will be enabled when the WSGC team is ready. Leave it commented out until then. + {% if completed_date == 0 %} diff --git a/Custom_Templates/customer_templates/WSGC - Post_New_Hire/.DS_Store b/Custom_Templates/customer_templates/WSGC - Post_New_Hire/.DS_Store new file mode 100644 index 00000000..5008ddfc Binary files /dev/null and b/Custom_Templates/customer_templates/WSGC - Post_New_Hire/.DS_Store differ diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/.DS_Store b/Custom_Templates/customer_templates/Walmart Luminate Mexico/.DS_Store new file mode 100644 index 00000000..5008ddfc Binary files /dev/null and b/Custom_Templates/customer_templates/Walmart Luminate Mexico/.DS_Store differ diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/homepage.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/homepage.html.liquid index 0dfcf888..a25ec9da 100644 --- a/Custom_Templates/customer_templates/Walmart Luminate Mexico/homepage.html.liquid +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/homepage.html.liquid @@ -1,52 +1,52 @@ {% assign catalog_courses = courses.in_catalog %} @@ -180,7 +180,8 @@ {% include "homepage_ongoing_training", items: catalog_courses %} {% comment %} {% include "homepage_topics" %} {% endcomment %} - + {% endcomment %} {% include "footer" %} diff --git a/Scripts/API_Tests/Apikeys.py b/Scripts/API_Tests/Apikeys.py index 7545f450..c178e9d2 100644 --- a/Scripts/API_Tests/Apikeys.py +++ b/Scripts/API_Tests/Apikeys.py @@ -26,3 +26,4 @@ RENAISSANCE = "YFykqX1u0d3HveONc5I9CKnJ1" SANDATA = "HdZFoXGCFpt8NnTOzIQY0kVDj" LUMINATE_US = "p5fidpuedHaOlPnd8EcpxzQMG" SKAN = "89qJQDaFl3DvIpSSOUC5PM9V6" +KARBON = "peQbnkfUnYLGPfIzyCxfLs634" diff --git a/Scripts/Karbon/Apikeys.py b/Scripts/Karbon/Apikeys.py new file mode 100644 index 00000000..c178e9d2 --- /dev/null +++ b/Scripts/Karbon/Apikeys.py @@ -0,0 +1,29 @@ +SKUID = "shdX7ht5PZHoOBKOZqZsTMaCJ" +UNKNOWN = "SlpQlju219WnWogn94dQUT6Yt" +FORCEMANAGER = "3ia7mWFkdeALYQFYoB51yh6Ov" +TALKSPACE_CORE = "2vfHw6ksqGfT1gUhPM8pXx2wW" +WILDHEALTH_EDPORTAL = "HWxj6VTNPwbc3WghFTPzr7SjE" +NORMSANDBOX = "SlpQlju219WnWogn94dQUT6Yt" +WALMARTPROD = "6hUfJdAartHTHhHc0WIRZYPWe" +RECAST = "9LISLpq7Ebqot3Xrggn5twKWZ" +MIZUNO = "stXNF84HWL8aCGeRjHEo2rJ1U" +MIZUNO_RUNNING = "XeRrtgm0BFYPjOjPekVwCdGkW" +SPS = "VNDXh8K4tLYJ-Nvp78bo6w" +ANTHOLOGY = "8ALsk8jDOlynEwn8ScMBSnG87" +TALKSPACE_1099 = "ga5FEVoqrJRZWePHtNnyV2Ep7" +DOXIMITY_INTERNAL = "vAnSR4CvxpII6buj3uT23MPBY" +TERMINUS_EMPLOYEE = "M2er8m0DMQyCyP7zOg3Gbae9k" +BIGIDEAS = "mgGWRtmhebC9xulTXeSohVtop" +ZENJOB = "LIXqtHXEqcXHyN0EtezngnpzA" +DATASNIPPER = "098Odf9CIkk4aQA1lW7tsa9k8" +CHUBB = "m6ZEBesXzpWx2vmp11rEHxrMY" +BIRCHSTREET = "WpMV3jF4q9Om5FjUsrzZifduE" +G2 = "JRDpCGQ7vSRiva6t5OkWDr5eJ" +DOUGLASELLIMAN = "Bknf8kidbluRfcKu3m3lKoxS8" +CIN7 = "51BNlRsLYKQxSu1q1UQq7F63j" +FULLSTORY = "ePChrDWLegENa2qnfb259O2Ki" +RENAISSANCE = "YFykqX1u0d3HveONc5I9CKnJ1" +SANDATA = "HdZFoXGCFpt8NnTOzIQY0kVDj" +LUMINATE_US = "p5fidpuedHaOlPnd8EcpxzQMG" +SKAN = "89qJQDaFl3DvIpSSOUC5PM9V6" +KARBON = "peQbnkfUnYLGPfIzyCxfLs634" diff --git a/Scripts/Karbon/__pycache__/Apikeys.cpython-310.pyc b/Scripts/Karbon/__pycache__/Apikeys.cpython-310.pyc new file mode 100644 index 00000000..86dcb5e5 Binary files /dev/null and b/Scripts/Karbon/__pycache__/Apikeys.cpython-310.pyc differ diff --git a/Scripts/Karbon/update_groups_remove_ppl_from_groups.py b/Scripts/Karbon/update_groups_remove_ppl_from_groups.py new file mode 100644 index 00000000..0a1c6904 --- /dev/null +++ b/Scripts/Karbon/update_groups_remove_ppl_from_groups.py @@ -0,0 +1,40 @@ +import Apikeys +import requests +import pandas as pd + +IMPORTFILE = '~/Downloads/karbon-existing-groups.csv' +APIKEY = Apikeys.KARBON +HEADERS = {"accept": "application/json", "X-Api-Key": APIKEY } +BASEURL = "https://api.northpass.com/v2/" + + +def grab_groups(): + groups_list = [] + df = pd.read_csv(IMPORTFILE) + df2 = df[[ "customer_id", "customer_name" ]].copy() + df2.drop_duplicates(subset="customer_id", keep=False, inplace=True) + for row in df2.itertuples(): + group = f"{row[2]}--{row[1]}" + cust_id = row[1] + groups_list.append(( group, cust_id )) + + for item in groups_list: + print(item) + get_group_url = f"{BASEURL}groups?filter[name][cont]={item[1]}" + try: + response = requests.get(get_group_url, headers=HEADERS) + resp = response.json() + print("-----------------") + print(response.status_code) + print(resp['data'][0]['attributes']['name']) + print(item) + print("-----------------") + except IndexError as e: + print(e) + print(resp['data']) + finally: + pass + + +if __name__ == "__main__": + grab_groups() diff --git a/Scripts/Migration_tool/api_docs.json b/Scripts/Migration_tool/api_docs.json new file mode 100644 index 00000000..7626c969 --- /dev/null +++ b/Scripts/Migration_tool/api_docs.json @@ -0,0 +1,3869 @@ +{ + "swagger": "2.0", + "info": { + "title": "Data Migration", + "version": "1.0.0" + }, + "host": "api.northpass.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/v2/migration/projects/{project_id}/items/{item_id}/activity_resources": { + "post": { + "tags": [ + "Activity Resources" + ], + "summary": "Create activity resources for the item", + "description": "Create resources for the item.\n", + "consumes": [ + "application/json" + ], + "produces": [ + "text/html" + ], + "parameters": [ + { + "name": "body", + "in": "body", + "description": "", + "required": false, + "schema": { + "required": [ + "data" + ], + "type": "object", + "properties": { + "data": { + "type": "array", + "description": "Data", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "required": true + }, + "attributes": { + "type": "object", + "properties": { + "uuid": { + "type": "string", + "required": true + }, + "display_name": { + "type": "string", + "required": true + }, + "data": { + "type": "object", + "properties": { + "name": { + "type": "string", + "required": true + }, + "description": { + "type": "string", + "required": false + }, + "body": { + "type": "string", + "required": true + }, + "position": { + "type": "integer", + "required": true + }, + "course_id": { + "type": "string", + "required": true + }, + "section_id": { + "type": "string", + "required": true + }, + "type": { + "type": "string", + "required": true + } + } + } + } + } + } + } + } + } + } + }, + { + "name": "project_id", + "in": "path", + "description": "Project ID", + "required": true, + "type": "string" + }, + { + "name": "item_id", + "in": "path", + "description": "Item ID", + "required": true, + "type": "string" + } + ], + "responses": { + "201": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + } + }, + "headers": { + "content-type": { + "type": "string", + "x-example-value": "text/html" + }, + "cache-control": { + "type": "string", + "x-example-value": "no-cache" + } + }, + "examples": { + "application/json": { + } + } + }, + "400": { + "description": "invalid params", + "schema": { + "type": "object", + "properties": { + } + }, + "headers": { + "content-type": { + "type": "string", + "x-example-value": "application/json; charset=utf-8" + }, + "cache-control": { + "type": "string", + "x-example-value": "no-cache" + } + }, + "examples": { + "application/json": { + "errors": [ + { + "data": { + "0": { + "display_name": [ + "is missing" + ] + } + } + }, + { + "data": { + "0": { + "data": { + "course_id": [ + "is missing" + ] + } + } + } + }, + { + "data": { + "1": { + "data": { + "section_id": [ + "is missing" + ] + } + } + } + } + ] + } + } + } + }, + "deprecated": false, + "security": [ + { + "X-Api-Key": [ + + ] + } + ] + } + }, + "/v2/migration/projects/{project_id}/items/{item_id}/course_attempt_resources": { + "post": { + "tags": [ + "Course Attempt Resources" + ], + "summary": "Create course attempt resources for the item", + "description": "Create resources for the item.\n", + "consumes": [ + "application/json" + ], + "produces": [ + "text/html" + ], + "parameters": [ + { + "name": "body", + "in": "body", + "description": "", + "required": false, + "schema": { + "required": [ + "data" + ], + "type": "object", + "properties": { + "data": { + "type": "array", + "description": "Data", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "required": true + }, + "attributes": { + "type": "object", + "properties": { + "uuid": { + "type": "string", + "required": true + }, + "display_name": { + "type": "string", + "required": true + }, + "data": { + "type": "object", + "properties": { + "learner_id": { + "type": "string", + "required": true + }, + "course_id": { + "type": "string", + "required": true + }, + "progress": { + "type": "integer", + "required": true + }, + "enrolled_at": { + "type": "string", + "required": true + }, + "started_at": { + "type": "string", + "required": true + }, + "completed_at": { + "type": "string" + }, + "completed_activities": { + "type": "array", + "items": { + "type": "object", + "properties": { + "uuid": { + "type": "string", + "required": true + }, + "completed_at": { + "type": "string", + "required": true + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + { + "name": "project_id", + "in": "path", + "description": "Project ID", + "required": true, + "type": "string" + }, + { + "name": "item_id", + "in": "path", + "description": "Item ID", + "required": true, + "type": "string" + } + ], + "responses": { + "201": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + } + }, + "headers": { + "content-type": { + "type": "string", + "x-example-value": "text/html" + }, + "cache-control": { + "type": "string", + "x-example-value": "no-cache" + } + }, + "examples": { + "application/json": { + } + } + }, + "400": { + "description": "invalid params", + "schema": { + "type": "object", + "properties": { + } + }, + "headers": { + "content-type": { + "type": "string", + "x-example-value": "application/json; charset=utf-8" + }, + "cache-control": { + "type": "string", + "x-example-value": "no-cache" + } + }, + "examples": { + "application/json": { + "errors": [ + { + "data": { + "0": { + "display_name": [ + "is missing" + ] + } + } + }, + { + "data": { + "0": { + "data": { + "completed_activities": [ + "is missing" + ] + } + } + } + }, + { + "data": { + "1": { + "data": { + "learner_id": [ + "is missing" + ] + } + } + } + }, + { + "data": { + "1": { + "data": { + "course_id": [ + "is missing" + ] + } + } + } + }, + { + "data": { + "1": { + "data": { + "enrolled_at": [ + "is missing" + ] + } + } + } + }, + { + "data": { + "1": { + "data": { + "started_at": [ + "is missing" + ] + } + } + } + }, + { + "data": { + "1": { + "data": { + "completed_activities": { + "0": { + "id": [ + "is missing" + ] + } + } + } + } + } + }, + { + "data": { + "1": { + "data": { + "completed_activities": { + "0": { + "completed_at": [ + "is missing" + ] + } + } + } + } + } + } + ] + } + } + } + }, + "deprecated": false, + "security": [ + { + "X-Api-Key": [ + + ] + } + ] + } + }, + "/v2/migration/projects/{project_id}/items/{item_id}/course_resources": { + "post": { + "tags": [ + "Course Resources" + ], + "summary": "Create course resources for the item", + "description": "Create resources for the item.\n", + "consumes": [ + "application/json" + ], + "produces": [ + "text/html" + ], + "parameters": [ + { + "name": "body", + "in": "body", + "description": "", + "required": false, + "schema": { + "required": [ + "data" + ], + "type": "object", + "properties": { + "data": { + "type": "array", + "description": "Data", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "required": true + }, + "attributes": { + "type": "object", + "properties": { + "uuid": { + "type": "string", + "required": true + }, + "display_name": { + "type": "string", + "required": true + }, + "data": { + "type": "object", + "properties": { + "name": { + "type": "string", + "required": true + }, + "short_description": { + "type": "string", + "required": true + }, + "full_description": { + "type": "string", + "required": true + }, + "navigation_mode": { + "type": "string", + "required": true + } + } + } + } + } + } + } + } + } + } + }, + { + "name": "project_id", + "in": "path", + "description": "Project ID", + "required": true, + "type": "string" + }, + { + "name": "item_id", + "in": "path", + "description": "Item ID", + "required": true, + "type": "string" + } + ], + "responses": { + "201": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + } + }, + "headers": { + "content-type": { + "type": "string", + "x-example-value": "text/html" + }, + "cache-control": { + "type": "string", + "x-example-value": "no-cache" + } + }, + "examples": { + "application/json": { + } + } + }, + "400": { + "description": "invalid params", + "schema": { + "type": "object", + "properties": { + } + }, + "headers": { + "content-type": { + "type": "string", + "x-example-value": "application/json; charset=utf-8" + }, + "cache-control": { + "type": "string", + "x-example-value": "no-cache" + } + }, + "examples": { + "application/json": { + "errors": [ + { + "data": { + "0": { + "display_name": [ + "is missing" + ] + } + } + }, + { + "data": { + "0": { + "data": { + "short_description": [ + "is missing" + ] + } + } + } + }, + { + "data": { + "1": { + "data": { + "navigation_mode": [ + "is missing" + ] + } + } + } + } + ] + } + } + } + }, + "deprecated": false, + "security": [ + { + "X-Api-Key": [ + + ] + } + ] + } + }, + "/v2/migration/projects/{project_id}/items/{item_id}/enrollment_resources": { + "post": { + "tags": [ + "Enrollment Resources" + ], + "summary": "Create enrollment resources for the item", + "description": "Create resources for the item.\n", + "consumes": [ + "application/json" + ], + "produces": [ + "text/html" + ], + "parameters": [ + { + "name": "body", + "in": "body", + "description": "", + "required": false, + "schema": { + "required": [ + "data" + ], + "type": "object", + "properties": { + "data": { + "type": "array", + "description": "Data", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "required": true + }, + "attributes": { + "type": "object", + "properties": { + "uuid": { + "type": "string", + "required": true + }, + "display_name": { + "type": "string", + "required": true + }, + "data": { + "type": "object", + "properties": { + "enrolled_at": { + "type": "string", + "required": true + }, + "course_id": { + "type": "string", + "required": true + }, + "person_id": { + "type": "string", + "required": true + } + } + } + } + } + } + } + } + } + } + }, + { + "name": "project_id", + "in": "path", + "description": "Project ID", + "required": true, + "type": "string" + }, + { + "name": "item_id", + "in": "path", + "description": "Item ID", + "required": true, + "type": "string" + } + ], + "responses": { + "201": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + } + }, + "headers": { + "content-type": { + "type": "string", + "x-example-value": "text/html" + }, + "cache-control": { + "type": "string", + "x-example-value": "no-cache" + } + }, + "examples": { + "application/json": { + } + } + }, + "400": { + "description": "invalid params", + "schema": { + "type": "object", + "properties": { + } + }, + "headers": { + "content-type": { + "type": "string", + "x-example-value": "application/json; charset=utf-8" + }, + "cache-control": { + "type": "string", + "x-example-value": "no-cache" + } + }, + "examples": { + "application/json": { + "errors": [ + { + "data": { + "0": { + "display_name": [ + "is missing" + ] + } + } + }, + { + "data": { + "0": { + "data": { + "person_id": [ + "is missing" + ] + } + } + } + }, + { + "data": { + "1": { + "data": { + "course_id": [ + "is missing" + ] + } + } + } + } + ] + } + } + } + }, + "deprecated": false, + "security": [ + { + "X-Api-Key": [ + + ] + } + ] + } + }, + "/v2/migration/projects/{project_id}/extraction_processes": { + "get": { + "tags": [ + "Extraction processes" + ], + "summary": "Get list of extraction processes", + "description": "Returns a list of extraction processes for a migration project.\n", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "name": "project_id", + "in": "path", + "description": "Migration project ID", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + } + }, + "headers": { + "content-type": { + "type": "string", + "x-example-value": "application/json; charset=utf-8" + }, + "cache-control": { + "type": "string", + "x-example-value": "max-age=0, private, must-revalidate" + } + }, + "examples": { + "application/json": { + "data": [ + { + "id": "cc09c826-2bfb-4499-bb91-635d6925a63a", + "type": "extraction_processes", + "attributes": { + "extraction_type": "courses", + "skilljar_configuration_id": 280, + "created_at": "2024-08-21T19:02:22Z" + }, + "links": { + "processing_logs": { + "href": "http://example.org/v2/migration/projects/cd4c5460-d2b3-4e75-869f-3cf43a844d09/extraction_processes/cc09c826-2bfb-4499-bb91-635d6925a63a/processing_logs", + "methods": [ + "get" + ] + } + } + }, + { + "id": "c08dfe88-ed6e-4f6f-aac2-224b44197632", + "type": "extraction_processes", + "attributes": { + "extraction_type": "people", + "skilljar_configuration_id": 280, + "created_at": "2024-08-21T19:02:22Z" + }, + "links": { + "processing_logs": { + "href": "http://example.org/v2/migration/projects/cd4c5460-d2b3-4e75-869f-3cf43a844d09/extraction_processes/c08dfe88-ed6e-4f6f-aac2-224b44197632/processing_logs", + "methods": [ + "get" + ] + } + } + } + ], + "links": { + "self": "http://example.org/v2/migration/projects/cd4c5460-d2b3-4e75-869f-3cf43a844d09/extraction_processes" + } + } + } + } + }, + "deprecated": false, + "security": [ + { + "X-Api-Key": [ + + ] + } + ] + } + }, + "/v2/migration/projects/{project_id}/items": { + "get": { + "tags": [ + "Migration Items" + ], + "summary": "Get migration project items", + "description": "Returns a list of project items for a migration project.\n", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "name": "project_id", + "in": "path", + "description": "Migration project ID", + "required": true, + "type": "string" + }, + { + "name": "page", + "in": "query", + "description": "Page number", + "required": false, + "type": "string" + }, + { + "name": "limit", + "in": "query", + "description": "Number of items per page", + "required": false, + "type": "string" + }, + { + "name": "filter", + "in": "query", + "description": "Filter items by type", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + } + }, + "headers": { + "content-type": { + "type": "string", + "x-example-value": "application/json; charset=utf-8" + }, + "cache-control": { + "type": "string", + "x-example-value": "max-age=0, private, must-revalidate" + } + }, + "examples": { + "application/json": { + "data": [ + { + "id": "bfe74a2d-4280-4d2d-aa28-b4d4e5f02deb", + "type": "migration_items", + "attributes": { + "type": "courses", + "status": "pending", + "source": "manual", + "created_at": "2024-08-21T19:02:22Z" + }, + "links": { + "self": "http://example.org/v2/migration/projects/2cba036e-0e3e-4c47-be46-b013af9fde1c/items/bfe74a2d-4280-4d2d-aa28-b4d4e5f02deb", + "resources": "http://example.org/v2/migration/projects/2cba036e-0e3e-4c47-be46-b013af9fde1c/items/bfe74a2d-4280-4d2d-aa28-b4d4e5f02deb/resources" + } + }, + { + "id": "025b5852-d5d5-46a0-b3f1-a30f07145e42", + "type": "migration_items", + "attributes": { + "type": "sections", + "status": "pending", + "source": "manual", + "created_at": "2024-08-21T19:02:22Z" + }, + "links": { + "self": "http://example.org/v2/migration/projects/2cba036e-0e3e-4c47-be46-b013af9fde1c/items/025b5852-d5d5-46a0-b3f1-a30f07145e42", + "resources": "http://example.org/v2/migration/projects/2cba036e-0e3e-4c47-be46-b013af9fde1c/items/025b5852-d5d5-46a0-b3f1-a30f07145e42/resources" + } + } + ], + "links": { + "self": "http://example.org/v2/migration/projects/2cba036e-0e3e-4c47-be46-b013af9fde1c/items" + } + } + } + } + }, + "deprecated": false, + "security": [ + { + "X-Api-Key": [ + + ] + } + ] + }, + "post": { + "tags": [ + "Migration Items" + ], + "summary": "Create migration project item", + "description": "Create a project item for a migration project.\n", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "name": "project_id", + "in": "path", + "description": "Migration project ID", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "description": "", + "required": false, + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "attributes": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Item type", + "enum": [ + "courses", + "sections", + "activities" + ] + } + }, + "required": [ + "type" + ] + } + } + } + } + } + } + ], + "responses": { + "201": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + } + }, + "headers": { + "content-type": { + "type": "string", + "x-example-value": "application/json; charset=utf-8" + }, + "cache-control": { + "type": "string", + "x-example-value": "max-age=0, private, must-revalidate" + } + }, + "examples": { + "application/json": { + "data": { + "id": "ea454d76-bd8d-4a1f-a58c-a056135cc8c5", + "type": "migration_items", + "attributes": { + "type": "courses", + "status": "pending", + "source": "manual", + "created_at": "2024-08-21T19:02:22Z" + }, + "links": { + "self": "http://example.org/v2/migration/projects/73515801-d968-485e-9884-82158234bcfe/items/ea454d76-bd8d-4a1f-a58c-a056135cc8c5", + "resources": "http://example.org/v2/migration/projects/73515801-d968-485e-9884-82158234bcfe/items/ea454d76-bd8d-4a1f-a58c-a056135cc8c5/resources" + } + }, + "links": { + "self": "http://example.org/v2/migration/projects/73515801-d968-485e-9884-82158234bcfe/items" + } + } + } + }, + "404": { + "description": "not found", + "schema": { + "type": "object", + "properties": { + } + }, + "headers": { + "content-type": { + "type": "string", + "x-example-value": "application/json; charset=utf-8" + }, + "cache-control": { + "type": "string", + "x-example-value": "no-cache" + } + }, + "examples": { + "application/json": { + "errors": { + "status": "404", + "title": "Not Found", + "detail": "The resource you requested does not exist" + } + } + } + }, + "422": { + "description": "unprocessable entity", + "schema": { + "type": "object", + "properties": { + } + }, + "headers": { + "content-type": { + "type": "string", + "x-example-value": "application/json; charset=utf-8" + }, + "cache-control": { + "type": "string", + "x-example-value": "no-cache" + } + }, + "examples": { + "application/json": { + "errors": { + "status": "422", + "title": "Not Null Violation", + "detail": "A required field was not provided" + } + } + } + } + }, + "deprecated": false, + "security": [ + { + "X-Api-Key": [ + + ] + } + ] + } + }, + "/v2/migration/projects/{project_id}/items/{item_id}": { + "get": { + "tags": [ + "Migration Items" + ], + "summary": "Get migration project item", + "description": "Returns a project item for a migration project.\n", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "name": "project_id", + "in": "path", + "description": "Migration project ID", + "required": true, + "type": "string" + }, + { + "name": "item_id", + "in": "path", + "description": "Migration item ID", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + } + }, + "headers": { + "content-type": { + "type": "string", + "x-example-value": "application/json; charset=utf-8" + }, + "cache-control": { + "type": "string", + "x-example-value": "max-age=0, private, must-revalidate" + } + }, + "examples": { + "application/json": { + "data": { + "id": "b31552be-912a-45d1-9ed0-9e0c91b59579", + "type": "migration_items", + "attributes": { + "type": "courses", + "status": "pending", + "source": "manual", + "created_at": "2024-08-21T19:02:22Z" + }, + "links": { + "self": "http://example.org/v2/migration/projects/d38744b9-dd06-4079-8063-e08922699291/items/b31552be-912a-45d1-9ed0-9e0c91b59579", + "resources": "http://example.org/v2/migration/projects/d38744b9-dd06-4079-8063-e08922699291/items/b31552be-912a-45d1-9ed0-9e0c91b59579/resources" + } + }, + "links": { + "self": "http://example.org/v2/migration/projects/d38744b9-dd06-4079-8063-e08922699291/items/b31552be-912a-45d1-9ed0-9e0c91b59579" + } + } + } + }, + "404": { + "description": "not found", + "schema": { + "type": "object", + "properties": { + } + }, + "headers": { + "content-type": { + "type": "string", + "x-example-value": "application/json; charset=utf-8" + }, + "cache-control": { + "type": "string", + "x-example-value": "no-cache" + } + }, + "examples": { + "application/json": { + "errors": { + "status": "404", + "title": "Not Found", + "detail": "The resource you requested does not exist" + } + } + } + } + }, + "deprecated": false, + "security": [ + { + "X-Api-Key": [ + + ] + } + ] + }, + "delete": { + "tags": [ + "Migration Items" + ], + "summary": "Delete migration project item", + "description": "Delete a project item for a migration project.\n", + "consumes": [ + "application/json" + ], + "produces": [ + + ], + "parameters": [ + { + "name": "project_id", + "in": "path", + "description": "Migration project ID", + "required": true, + "type": "string" + }, + { + "name": "item_id", + "in": "path", + "description": "Migration item ID", + "required": true, + "type": "string" + } + ], + "responses": { + "204": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + } + }, + "headers": { + "cache-control": { + "type": "string", + "x-example-value": "no-cache" + } + }, + "examples": { + "application/json": { + } + } + }, + "404": { + "description": "not found", + "schema": { + "type": "object", + "properties": { + } + }, + "headers": { + "content-type": { + "type": "string", + "x-example-value": "application/json; charset=utf-8" + }, + "cache-control": { + "type": "string", + "x-example-value": "no-cache" + } + }, + "examples": { + "application/json": { + "errors": { + "status": "404", + "title": "Not Found", + "detail": "The resource you requested does not exist" + } + } + } + } + }, + "deprecated": false, + "security": [ + { + "X-Api-Key": [ + + ] + } + ] + } + }, + "/v2/migration/projects/{project_id}/items/{item_id}/learning_path_attempt_resources": { + "post": { + "tags": [ + "Learning Path Attempt Resources" + ], + "summary": "Create learning_path attempt resources for the item", + "description": "Create resources for the item.\n", + "consumes": [ + "application/json" + ], + "produces": [ + "text/html" + ], + "parameters": [ + { + "name": "body", + "in": "body", + "description": "", + "required": false, + "schema": { + "required": [ + "data" + ], + "type": "object", + "properties": { + "data": { + "type": "array", + "description": "Data", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "required": true + }, + "attributes": { + "type": "object", + "properties": { + "uuid": { + "type": "string", + "required": true + }, + "display_name": { + "type": "string", + "required": true + }, + "data": { + "type": "object", + "properties": { + "learner_id": { + "type": "string", + "required": true + }, + "learning_path_id": { + "type": "string", + "required": true + }, + "progress": { + "type": "integer", + "required": true + }, + "enrolled_at": { + "type": "string", + "required": true + }, + "started_at": { + "type": "string", + "required": true + }, + "completed_at": { + "type": "string" + }, + "completed_items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "resource_uuid": { + "type": "string", + "required": true + }, + "resource_type": { + "type": "string", + "required": true + }, + "completed_at": { + "type": "string", + "required": true + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + { + "name": "project_id", + "in": "path", + "description": "Project ID", + "required": true, + "type": "string" + }, + { + "name": "item_id", + "in": "path", + "description": "Item ID", + "required": true, + "type": "string" + } + ], + "responses": { + "201": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + } + }, + "headers": { + "content-type": { + "type": "string", + "x-example-value": "text/html" + }, + "cache-control": { + "type": "string", + "x-example-value": "no-cache" + } + }, + "examples": { + "application/json": { + } + } + }, + "400": { + "description": "invalid params", + "schema": { + "type": "object", + "properties": { + } + }, + "headers": { + "content-type": { + "type": "string", + "x-example-value": "application/json; charset=utf-8" + }, + "cache-control": { + "type": "string", + "x-example-value": "no-cache" + } + }, + "examples": { + "application/json": { + "errors": [ + { + "data": { + "0": { + "display_name": [ + "is missing" + ] + } + } + }, + { + "data": { + "0": { + "data": { + "completed_items": [ + "is missing" + ] + } + } + } + }, + { + "data": { + "1": { + "data": { + "learner_id": [ + "is missing" + ] + } + } + } + }, + { + "data": { + "1": { + "data": { + "learning_path_id": [ + "is missing" + ] + } + } + } + }, + { + "data": { + "1": { + "data": { + "enrolled_at": [ + "is missing" + ] + } + } + } + }, + { + "data": { + "1": { + "data": { + "started_at": [ + "is missing" + ] + } + } + } + }, + { + "data": { + "1": { + "data": { + "completed_items": { + "0": { + "resource_id": [ + "is missing" + ] + } + } + } + } + } + }, + { + "data": { + "1": { + "data": { + "completed_items": { + "0": { + "resource_type": [ + "is missing" + ] + } + } + } + } + } + }, + { + "data": { + "1": { + "data": { + "completed_items": { + "0": { + "completed_at": [ + "is missing" + ] + } + } + } + } + } + } + ] + } + } + } + }, + "deprecated": false, + "security": [ + { + "X-Api-Key": [ + + ] + } + ] + } + }, + "/v2/migration/projects/{project_id}/items/{item_id}/person_resources": { + "post": { + "tags": [ + "Person Resources" + ], + "summary": "Create person resources for the item", + "description": "Create resources for the item.\n", + "consumes": [ + "application/json" + ], + "produces": [ + "text/html" + ], + "parameters": [ + { + "name": "body", + "in": "body", + "description": "", + "required": false, + "schema": { + "required": [ + "data" + ], + "type": "object", + "properties": { + "data": { + "type": "array", + "description": "Data", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "required": true + }, + "attributes": { + "type": "object", + "properties": { + "uuid": { + "type": "string", + "required": true + }, + "display_name": { + "type": "string", + "required": true + }, + "data": { + "type": "object", + "properties": { + "first_name": { + "type": "string", + "required": true + }, + "last_name": { + "type": "string", + "required": true + }, + "email": { + "type": "string", + "required": true + } + } + } + } + } + } + } + } + } + } + }, + { + "name": "project_id", + "in": "path", + "description": "Project ID", + "required": true, + "type": "string" + }, + { + "name": "item_id", + "in": "path", + "description": "Item ID", + "required": true, + "type": "string" + } + ], + "responses": { + "201": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + } + }, + "headers": { + "content-type": { + "type": "string", + "x-example-value": "text/html" + }, + "cache-control": { + "type": "string", + "x-example-value": "no-cache" + } + }, + "examples": { + "application/json": { + } + } + }, + "400": { + "description": "invalid params", + "schema": { + "type": "object", + "properties": { + } + }, + "headers": { + "content-type": { + "type": "string", + "x-example-value": "application/json; charset=utf-8" + }, + "cache-control": { + "type": "string", + "x-example-value": "no-cache" + } + }, + "examples": { + "application/json": { + "errors": [ + { + "data": { + "0": { + "display_name": [ + "is missing" + ] + } + } + }, + { + "data": { + "0": { + "data": { + "email": [ + "is missing" + ] + } + } + } + } + ] + } + } + } + }, + "deprecated": false, + "security": [ + { + "X-Api-Key": [ + + ] + } + ] + } + }, + "/v2/migration/projects/{project_id}/items/{item_id}/process_resources": { + "post": { + "tags": [ + "Process resources" + ], + "summary": "Process resources", + "description": "Processes resources for the given item.\n", + "consumes": [ + "application/json" + ], + "produces": [ + + ], + "parameters": [ + { + "name": "project_id", + "in": "path", + "description": "Project ID", + "required": true, + "type": "string" + }, + { + "name": "item_id", + "in": "path", + "description": "Item ID", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "description": "", + "required": false, + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "attributes": { + "type": "object", + "properties": { + "resource_ids": { + "type": "array", + "description": "Resource IDs", + "items": { + "type": "string" + } + } + }, + "required": [ + "resource_ids" + ] + } + } + } + } + } + } + ], + "responses": { + "204": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + } + }, + "headers": { + "cache-control": { + "type": "string", + "x-example-value": "no-cache" + } + }, + "examples": { + "application/json": { + } + } + } + }, + "deprecated": false, + "security": [ + { + "X-Api-Key": [ + + ] + } + ] + } + }, + "/v2/migration/projects/{project_id}/extraction_processes/{extraction_process_id}/processing_logs": { + "get": { + "tags": [ + "Processing log" + ], + "summary": "Get processing log", + "description": "Returns processing log for an extraction process.\n", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "name": "project_id", + "in": "path", + "description": "Migration project ID", + "required": true, + "type": "string" + }, + { + "name": "extraction_process_id", + "in": "path", + "description": "Extraction process ID", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + } + }, + "headers": { + "content-type": { + "type": "string", + "x-example-value": "application/json; charset=utf-8" + }, + "cache-control": { + "type": "string", + "x-example-value": "max-age=0, private, must-revalidate" + } + }, + "examples": { + "application/json": { + "data": [ + { + "id": null, + "type": "processing_logs", + "attributes": { + "message": "Process id: 935d497d-2339-4986-b505-ab12b0d876f6", + "timestamp": null + } + }, + { + "id": "4baa1d27-6436-44d3-ae40-6fa36b28d8c9", + "type": "processing_logs", + "attributes": { + "message": "Extraction started", + "timestamp": "2021-01-01T00:00:00.000Z" + } + }, + { + "id": "1474056a-83b1-4ec8-adfa-0eac9b4b156f", + "type": "processing_logs", + "attributes": { + "message": "Extracted courses from page: 1", + "timestamp": "2021-01-02T00:00:00.000Z" + } + } + ] + } + } + } + }, + "deprecated": false, + "security": [ + { + "X-Api-Key": [ + + ] + } + ] + } + }, + "/v2/migration/projects": { + "get": { + "tags": [ + "Migration projects" + ], + "summary": "Get migration projects", + "description": "Returns migration projects.\n\nSearch by name\n", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + } + }, + "headers": { + "content-type": { + "type": "string", + "x-example-value": "application/json; charset=utf-8" + }, + "cache-control": { + "type": "string", + "x-example-value": "max-age=0, private, must-revalidate" + } + }, + "examples": { + "application/json": { + "data": [ + { + "id": "d9a6f94c-9523-4d64-beb5-17b822dae37c", + "type": "migration_projects", + "attributes": { + "name": "Project 1" + }, + "links": { + "self": { + "href": "http://example.org/v2/migration/projects/d9a6f94c-9523-4d64-beb5-17b822dae37c", + "methods": [ + "get", + "patch", + "delete" + ] + }, + "items": "http://example.org/v2/migration/projects/d9a6f94c-9523-4d64-beb5-17b822dae37c/items", + "start_migration": "http://example.org/v2/migration/projects/d9a6f94c-9523-4d64-beb5-17b822dae37c/start_migration" + } + }, + { + "id": "04c06549-c606-4156-8e5c-5e4d57c9c508", + "type": "migration_projects", + "attributes": { + "name": "Project 2" + }, + "links": { + "self": { + "href": "http://example.org/v2/migration/projects/04c06549-c606-4156-8e5c-5e4d57c9c508", + "methods": [ + "get", + "patch", + "delete" + ] + }, + "items": "http://example.org/v2/migration/projects/04c06549-c606-4156-8e5c-5e4d57c9c508/items", + "start_migration": "http://example.org/v2/migration/projects/04c06549-c606-4156-8e5c-5e4d57c9c508/start_migration" + } + } + ], + "links": { + "self": "http://example.org/v2/migration/projects" + } + } + } + } + }, + "deprecated": false, + "security": [ + { + "X-Api-Key": [ + + ] + } + ] + }, + "post": { + "tags": [ + "Migration projects" + ], + "summary": "Create migration project", + "description": "Create migration project.\n", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "name": "body", + "in": "body", + "description": "", + "required": false, + "schema": { + "type": "object", + "properties": { + "attributes": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Migration project name" + } + }, + "required": [ + "name" + ] + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + } + }, + "headers": { + "content-type": { + "type": "string", + "x-example-value": "application/json; charset=utf-8" + }, + "cache-control": { + "type": "string", + "x-example-value": "max-age=0, private, must-revalidate" + } + }, + "examples": { + "application/json": { + "data": { + "id": "c3c10136-f38c-4370-a90a-25aec177f82c", + "type": "migration_projects", + "attributes": { + "name": "Migrating analytics" + }, + "links": { + "self": { + "href": "http://example.org/v2/migration/projects/c3c10136-f38c-4370-a90a-25aec177f82c", + "methods": [ + "get", + "patch", + "delete" + ] + }, + "items": "http://example.org/v2/migration/projects/c3c10136-f38c-4370-a90a-25aec177f82c/items", + "start_migration": "http://example.org/v2/migration/projects/c3c10136-f38c-4370-a90a-25aec177f82c/start_migration" + } + }, + "links": { + "self": "http://example.org/v2/migration/projects" + } + } + } + } + }, + "deprecated": false, + "security": [ + { + "X-Api-Key": [ + + ] + } + ] + } + }, + "/v2/migration/projects/{project_id}": { + "get": { + "tags": [ + "Migration projects" + ], + "summary": "Get migration project", + "description": "Returns migration project.\n", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "name": "project_id", + "in": "path", + "description": "Migration project ID", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + } + }, + "headers": { + "content-type": { + "type": "string", + "x-example-value": "application/json; charset=utf-8" + }, + "cache-control": { + "type": "string", + "x-example-value": "max-age=0, private, must-revalidate" + } + }, + "examples": { + "application/json": { + "data": { + "id": "2279b5af-5254-4eab-9f89-1f8d0597539c", + "type": "migration_projects", + "attributes": { + "name": "Project 1" + }, + "links": { + "self": { + "href": "http://example.org/v2/migration/projects/2279b5af-5254-4eab-9f89-1f8d0597539c", + "methods": [ + "get", + "patch", + "delete" + ] + }, + "items": "http://example.org/v2/migration/projects/2279b5af-5254-4eab-9f89-1f8d0597539c/items", + "start_migration": "http://example.org/v2/migration/projects/2279b5af-5254-4eab-9f89-1f8d0597539c/start_migration" + } + }, + "links": { + "self": "http://example.org/v2/migration/projects/2279b5af-5254-4eab-9f89-1f8d0597539c" + } + } + } + } + }, + "deprecated": false, + "security": [ + { + "X-Api-Key": [ + + ] + } + ] + }, + "delete": { + "tags": [ + "Migration projects" + ], + "summary": "Delete migration project", + "description": "Delete migration project.\n", + "consumes": [ + "application/json" + ], + "produces": [ + + ], + "parameters": [ + { + "name": "project_id", + "in": "path", + "description": "Migration project ID", + "required": true, + "type": "string" + } + ], + "responses": { + "204": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + } + }, + "headers": { + "cache-control": { + "type": "string", + "x-example-value": "no-cache" + } + }, + "examples": { + "application/json": { + } + } + } + }, + "deprecated": false, + "security": [ + { + "X-Api-Key": [ + + ] + } + ] + }, + "patch": { + "tags": [ + "Migration projects" + ], + "summary": "Update migration project", + "description": "Update migration project.\n", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "name": "project_id", + "in": "path", + "description": "Migration project ID", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "description": "", + "required": false, + "schema": { + "type": "object", + "properties": { + "attributes": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Migration project name" + } + }, + "required": [ + "name" + ] + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + } + }, + "headers": { + "content-type": { + "type": "string", + "x-example-value": "application/json; charset=utf-8" + }, + "cache-control": { + "type": "string", + "x-example-value": "max-age=0, private, must-revalidate" + } + }, + "examples": { + "application/json": { + "data": { + "id": "2469c9c2-48ff-4891-a705-4101d229c2b6", + "type": "migration_projects", + "attributes": { + "name": "Migrating analytics" + }, + "links": { + "self": { + "href": "http://example.org/v2/migration/projects/2469c9c2-48ff-4891-a705-4101d229c2b6", + "methods": [ + "get", + "patch", + "delete" + ] + }, + "items": "http://example.org/v2/migration/projects/2469c9c2-48ff-4891-a705-4101d229c2b6/items", + "start_migration": "http://example.org/v2/migration/projects/2469c9c2-48ff-4891-a705-4101d229c2b6/start_migration" + } + }, + "links": { + "self": "http://example.org/v2/migration/projects/2469c9c2-48ff-4891-a705-4101d229c2b6" + } + } + } + } + }, + "deprecated": false, + "security": [ + { + "X-Api-Key": [ + + ] + } + ] + } + }, + "/v2/migration/projects/{project_id}/items/{item_id}/quiz_attempt_resources": { + "post": { + "tags": [ + "Quiz Attempt Resources" + ], + "summary": "Create quiz attempt resources for the item", + "description": "Create resources for the item.\n", + "consumes": [ + "application/json" + ], + "produces": [ + "text/html" + ], + "parameters": [ + { + "name": "body", + "in": "body", + "description": "", + "required": false, + "schema": { + "required": [ + "data" + ], + "type": "object", + "properties": { + "data": { + "type": "array", + "description": "Data", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "required": true + }, + "attributes": { + "type": "object", + "properties": { + "uuid": { + "type": "string", + "required": true + }, + "display_name": { + "type": "string", + "required": true + }, + "data": { + "type": "object", + "properties": { + "learner_id": { + "type": "string", + "required": true + }, + "course_attempt_id": { + "type": "string", + "required": true + }, + "activity_id": { + "type": "string", + "required": true + }, + "progress": { + "type": "integer", + "required": true + }, + "completed_at": { + "type": "string" + } + } + } + } + } + } + } + } + } + } + }, + { + "name": "project_id", + "in": "path", + "description": "Project ID", + "required": true, + "type": "string" + }, + { + "name": "item_id", + "in": "path", + "description": "Item ID", + "required": true, + "type": "string" + } + ], + "responses": { + "201": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + } + }, + "headers": { + "content-type": { + "type": "string", + "x-example-value": "text/html" + }, + "cache-control": { + "type": "string", + "x-example-value": "no-cache" + } + }, + "examples": { + "application/json": { + } + } + }, + "400": { + "description": "invalid params", + "schema": { + "type": "object", + "properties": { + } + }, + "headers": { + "content-type": { + "type": "string", + "x-example-value": "application/json; charset=utf-8" + }, + "cache-control": { + "type": "string", + "x-example-value": "no-cache" + } + }, + "examples": { + "application/json": { + "errors": [ + { + "data": { + "0": { + "display_name": [ + "is missing" + ] + } + } + }, + { + "data": { + "0": { + "data": { + "course_attempt_id": [ + "is missing" + ] + } + } + } + }, + { + "data": { + "1": { + "data": { + "learner_id": [ + "is missing" + ] + } + } + } + }, + { + "data": { + "1": { + "data": { + "course_attempt_id": [ + "is missing" + ] + } + } + } + }, + { + "data": { + "1": { + "data": { + "activity_id": [ + "is missing" + ] + } + } + } + }, + { + "data": { + "1": { + "data": { + "progress": [ + "is missing" + ] + } + } + } + } + ] + } + } + } + }, + "deprecated": false, + "security": [ + { + "X-Api-Key": [ + + ] + } + ] + } + }, + "/v2/migration/projects/{project_id}/items/{item_id}/resources": { + "get": { + "tags": [ + "Resources" + ], + "summary": "Get resources for the item", + "description": "Returns a list of resources for the item.\n", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "name": "project_id", + "in": "path", + "description": "Project ID", + "required": true, + "type": "string" + }, + { + "name": "item_id", + "in": "path", + "description": "Item ID", + "required": true, + "type": "string" + }, + { + "name": "q", + "in": "query", + "description": "Search query", + "required": false, + "type": "string" + }, + { + "name": "page", + "in": "query", + "description": "Page number", + "required": false, + "type": "string" + }, + { + "name": "limit", + "in": "query", + "description": "Number of items per page", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + } + }, + "headers": { + "content-type": { + "type": "string", + "x-example-value": "application/json; charset=utf-8" + }, + "cache-control": { + "type": "string", + "x-example-value": "max-age=0, private, must-revalidate" + } + }, + "examples": { + "application/json": { + "data": [ + { + "id": "a4811296-dad8-42be-a288-7fe113bdd7fe", + "type": "migration_resources", + "attributes": { + "display_name": "Course 2", + "status": "pending" + } + }, + { + "id": "cad4651a-f63c-4bfd-a2d9-d7a59d26239b", + "type": "migration_resources", + "attributes": { + "display_name": "Course 1", + "status": "pending" + } + } + ], + "links": { + "self": "http://example.org/v2/migration/projects/7e6e16f3-8029-47ba-9743-fd10f1155af6/items/35dd263a-02ee-4c72-8a96-be299bdeabad/resources" + } + } + } + }, + "404": { + "description": "not found", + "schema": { + "type": "object", + "properties": { + } + }, + "headers": { + "content-type": { + "type": "string", + "x-example-value": "application/json; charset=utf-8" + }, + "cache-control": { + "type": "string", + "x-example-value": "no-cache" + } + }, + "examples": { + "application/json": { + "errors": { + "status": "404", + "title": "Not Found", + "detail": "The resource you requested does not exist" + } + } + } + } + }, + "deprecated": false, + "security": [ + { + "X-Api-Key": [ + + ] + } + ] + } + }, + "/v2/migration/projects/{project_id}/items/{item_id}/section_resources": { + "post": { + "tags": [ + "Section Resources" + ], + "summary": "Create section resources for the item", + "description": "Create resources for the item.\n", + "consumes": [ + "application/json" + ], + "produces": [ + "text/html" + ], + "parameters": [ + { + "name": "body", + "in": "body", + "description": "", + "required": false, + "schema": { + "required": [ + "data" + ], + "type": "object", + "properties": { + "data": { + "type": "array", + "description": "Data", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "required": true + }, + "attributes": { + "type": "object", + "properties": { + "uuid": { + "type": "string", + "required": true + }, + "display_name": { + "type": "string", + "required": true + }, + "data": { + "type": "object", + "properties": { + "name": { + "type": "string", + "required": true + }, + "position": { + "type": "integer", + "required": true + }, + "course_id": { + "type": "string", + "required": true + } + } + } + } + } + } + } + } + } + } + }, + { + "name": "project_id", + "in": "path", + "description": "Project ID", + "required": true, + "type": "string" + }, + { + "name": "item_id", + "in": "path", + "description": "Item ID", + "required": true, + "type": "string" + } + ], + "responses": { + "201": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + } + }, + "headers": { + "content-type": { + "type": "string", + "x-example-value": "text/html" + }, + "cache-control": { + "type": "string", + "x-example-value": "no-cache" + } + }, + "examples": { + "application/json": { + } + } + }, + "400": { + "description": "invalid params", + "schema": { + "type": "object", + "properties": { + } + }, + "headers": { + "content-type": { + "type": "string", + "x-example-value": "application/json; charset=utf-8" + }, + "cache-control": { + "type": "string", + "x-example-value": "no-cache" + } + }, + "examples": { + "application/json": { + "errors": [ + { + "data": { + "0": { + "display_name": [ + "is missing" + ] + } + } + }, + { + "data": { + "0": { + "data": { + "course_id": [ + "is missing" + ] + } + } + } + }, + { + "data": { + "1": { + "data": { + "position": [ + "is missing" + ] + } + } + } + } + ] + } + } + } + }, + "deprecated": false, + "security": [ + { + "X-Api-Key": [ + + ] + } + ] + } + }, + "/v2/migration/projects/{project_id}/skilljar_configuration": { + "get": { + "tags": [ + "Skilljar configurations" + ], + "summary": "Get Skilljar configuration", + "description": "Returns Skilljar configuration for a migration project.\n", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "name": "project_id", + "in": "path", + "description": "Migration project ID", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + } + }, + "headers": { + "content-type": { + "type": "string", + "x-example-value": "application/json; charset=utf-8" + }, + "cache-control": { + "type": "string", + "x-example-value": "max-age=0, private, must-revalidate" + } + }, + "examples": { + "application/json": { + "data": { + "id": "70a8beef-cd24-41d3-8af4-5027d5fc373f", + "type": "skilljar_configurations", + "attributes": { + "api_key": "some_key", + "migration_project_id": "4111a689-bf58-45e0-b5f8-0103d3628cf4", + "domain": "extractor.example.com", + "email": "admin@example.com", + "password": "3d95659c5f19acb0" + } + }, + "links": { + "self": "http://example.org/v2/migration/projects/4111a689-bf58-45e0-b5f8-0103d3628cf4/skilljar_configuration" + } + } + } + }, + "404": { + "description": "not found", + "schema": { + "type": "object", + "properties": { + } + }, + "headers": { + "content-type": { + "type": "string", + "x-example-value": "application/json; charset=utf-8" + }, + "cache-control": { + "type": "string", + "x-example-value": "no-cache" + } + }, + "examples": { + "application/json": { + "errors": { + "status": "404", + "title": "Not Found", + "detail": "The resource you requested does not exist" + } + } + } + } + }, + "deprecated": false, + "security": [ + { + "X-Api-Key": [ + + ] + } + ] + }, + "post": { + "tags": [ + "Skilljar configurations" + ], + "summary": "Create Skilljar configuration", + "description": "Creates Skilljar configuration for a migration project.\n", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "name": "project_id", + "in": "path", + "description": "Migration project ID", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "description": "", + "required": false, + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "attributes": { + "type": "object", + "properties": { + "migration_project_id": { + "type": "string", + "description": "Migration project ID" + }, + "api_key": { + "type": "string", + "description": "Skilljar API key" + }, + "domain": { + "type": "string", + "description": "Skilljar domain" + }, + "email": { + "type": "string", + "description": "Skilljar admin email" + }, + "password": { + "type": "string", + "description": "Skilljar admin password" + } + }, + "required": [ + "migration_project_id", + "api_key", + "domain", + "email", + "password" + ] + } + } + } + } + } + } + ], + "responses": { + "404": { + "description": "not found", + "schema": { + "type": "object", + "properties": { + } + }, + "headers": { + "content-type": { + "type": "string", + "x-example-value": "application/json; charset=utf-8" + }, + "cache-control": { + "type": "string", + "x-example-value": "no-cache" + } + }, + "examples": { + "application/json": { + "errors": { + "status": "404", + "title": "Not Found", + "detail": "The resource you requested does not exist" + } + } + } + } + }, + "deprecated": false, + "security": [ + { + "X-Api-Key": [ + + ] + } + ] + }, + "delete": { + "tags": [ + "Skilljar configurations" + ], + "summary": "Delete Skilljar configuration", + "description": "Deletes Skilljar configuration for a migration project.\n", + "consumes": [ + "application/json" + ], + "produces": [ + + ], + "parameters": [ + { + "name": "project_id", + "in": "path", + "description": "Migration project ID", + "required": true, + "type": "string" + } + ], + "responses": { + "204": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + } + }, + "headers": { + "cache-control": { + "type": "string", + "x-example-value": "no-cache" + } + }, + "examples": { + "application/json": { + } + } + }, + "404": { + "description": "not found", + "schema": { + "type": "object", + "properties": { + } + }, + "headers": { + "content-type": { + "type": "string", + "x-example-value": "application/json; charset=utf-8" + }, + "cache-control": { + "type": "string", + "x-example-value": "no-cache" + } + }, + "examples": { + "application/json": { + "errors": { + "status": "404", + "title": "Not Found", + "detail": "The resource you requested does not exist" + } + } + } + } + }, + "deprecated": false, + "security": [ + { + "X-Api-Key": [ + + ] + } + ] + }, + "patch": { + "tags": [ + "Skilljar configurations" + ], + "summary": "Update Skilljar configuration", + "description": "Updates Skilljar configuration for a migration project.\n", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "name": "project_id", + "in": "path", + "description": "Migration project ID", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "description": "", + "required": false, + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "attributes": { + "type": "object", + "properties": { + "migration_project_id": { + "type": "string", + "description": "Migration project ID" + }, + "api_key": { + "type": "string", + "description": "Skilljar API key" + }, + "domain": { + "type": "string", + "description": "Skilljar domain" + }, + "email": { + "type": "string", + "description": "Skilljar admin email" + }, + "password": { + "type": "string", + "description": "Skilljar admin password" + } + }, + "required": [ + "migration_project_id", + "api_key", + "domain", + "email", + "password" + ] + } + } + } + } + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + } + }, + "headers": { + "content-type": { + "type": "string", + "x-example-value": "application/json; charset=utf-8" + }, + "cache-control": { + "type": "string", + "x-example-value": "max-age=0, private, must-revalidate" + } + }, + "examples": { + "application/json": { + "data": { + "id": "31370903-5d7b-4a9e-80fe-833e7306141d", + "type": "skilljar_configurations", + "attributes": { + "api_key": "new_key", + "migration_project_id": "fd53ba19-f249-4a9d-b34c-ce78775a084e", + "domain": "new.example.com", + "email": "admin@example.com", + "password": "b33a8be01842e87f" + } + }, + "links": { + "self": "http://example.org/v2/migration/projects/fd53ba19-f249-4a9d-b34c-ce78775a084e/skilljar_configuration" + } + } + } + }, + "404": { + "description": "not found", + "schema": { + "type": "object", + "properties": { + } + }, + "headers": { + "content-type": { + "type": "string", + "x-example-value": "application/json; charset=utf-8" + }, + "cache-control": { + "type": "string", + "x-example-value": "no-cache" + } + }, + "examples": { + "application/json": { + "errors": { + "status": "404", + "title": "Not Found", + "detail": "The resource you requested does not exist" + } + } + } + } + }, + "deprecated": false, + "security": [ + { + "X-Api-Key": [ + + ] + } + ] + } + }, + "/v2/migration/projects/{project_id}/extract_course_attempts": { + "post": { + "tags": [ + "Skilljar course attempts extraction" + ], + "summary": "Extract course attempts", + "description": "Starts courses attempts extraction for the given project.\n", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "name": "project_id", + "in": "path", + "description": "Migration project ID", + "required": true, + "type": "string" + } + ], + "responses": { + "202": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + } + }, + "headers": { + "content-type": { + "type": "string", + "x-example-value": "application/json; charset=utf-8" + }, + "cache-control": { + "type": "string", + "x-example-value": "no-cache" + } + }, + "examples": { + "application/json": { + "data": { + "id": "3713ec40-32d5-442e-bef0-8af3166cd0c4", + "type": "extraction_processes", + "attributes": { + "extraction_type": "course_attempts", + "skilljar_configuration_id": 285, + "created_at": "2024-08-21T19:02:22Z" + }, + "links": { + "processing_logs": { + "href": "http://example.org/v2/migration/projects/92fa6f21-1dd8-45d9-8b78-063f5d178b57/extraction_processes/3713ec40-32d5-442e-bef0-8af3166cd0c4/processing_logs", + "methods": [ + "get" + ] + } + } + }, + "links": { + "self": "http://example.org/v2/migration/projects/92fa6f21-1dd8-45d9-8b78-063f5d178b57/extract_course_attempts" + } + } + } + } + }, + "deprecated": false, + "security": [ + { + "X-Api-Key": [ + + ] + } + ] + } + }, + "/v2/migration/projects/{project_id}/extract_courses": { + "post": { + "tags": [ + "Skilljar courses extraction" + ], + "summary": "Extract courses", + "description": "Starts courses extraction for the given project.\n", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "name": "project_id", + "in": "path", + "description": "Migration project ID", + "required": true, + "type": "string" + } + ], + "responses": { + "202": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + } + }, + "headers": { + "content-type": { + "type": "string", + "x-example-value": "application/json; charset=utf-8" + }, + "cache-control": { + "type": "string", + "x-example-value": "no-cache" + } + }, + "examples": { + "application/json": { + "data": { + "id": "7765c8d1-3a1b-4305-ae79-5835e9b0c9e2", + "type": "extraction_processes", + "attributes": { + "extraction_type": "courses", + "skilljar_configuration_id": 286, + "created_at": "2024-08-21T19:02:22Z" + }, + "links": { + "processing_logs": { + "href": "http://example.org/v2/migration/projects/e88c0b9f-6b5d-4826-8b63-3399c201bef8/extraction_processes/7765c8d1-3a1b-4305-ae79-5835e9b0c9e2/processing_logs", + "methods": [ + "get" + ] + } + } + }, + "links": { + "self": "http://example.org/v2/migration/projects/e88c0b9f-6b5d-4826-8b63-3399c201bef8/extract_courses" + } + } + } + } + }, + "deprecated": false, + "security": [ + { + "X-Api-Key": [ + + ] + } + ] + } + }, + "/v2/migration/projects/{project_id}/extract_enrollments": { + "post": { + "tags": [ + "Skilljar enrollments extraction" + ], + "summary": "Extract enrollments", + "description": "Starts enrollments extraction for the given project.\n", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "name": "project_id", + "in": "path", + "description": "Migration project ID", + "required": true, + "type": "string" + } + ], + "responses": { + "202": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + } + }, + "headers": { + "content-type": { + "type": "string", + "x-example-value": "application/json; charset=utf-8" + }, + "cache-control": { + "type": "string", + "x-example-value": "no-cache" + } + }, + "examples": { + "application/json": { + "data": { + "id": "de2bf734-cd35-4593-af2c-8e49a32284e2", + "type": "extraction_processes", + "attributes": { + "extraction_type": "enrollments", + "skilljar_configuration_id": 287, + "created_at": "2024-08-21T19:02:22Z" + }, + "links": { + "processing_logs": { + "href": "http://example.org/v2/migration/projects/d617b413-182e-4465-aefb-82ce8cbe7e6f/extraction_processes/de2bf734-cd35-4593-af2c-8e49a32284e2/processing_logs", + "methods": [ + "get" + ] + } + } + }, + "links": { + "self": "http://example.org/v2/migration/projects/d617b413-182e-4465-aefb-82ce8cbe7e6f/extract_enrollments" + } + } + } + } + }, + "deprecated": false, + "security": [ + { + "X-Api-Key": [ + + ] + } + ] + } + }, + "/v2/migration/projects/{project_id}/extract_people": { + "post": { + "tags": [ + "Skilljar people extraction" + ], + "summary": "Extract people", + "description": "Starts people extraction for the given project.\n", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "name": "project_id", + "in": "path", + "description": "Migration project ID", + "required": true, + "type": "string" + } + ], + "responses": { + "202": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + } + }, + "headers": { + "content-type": { + "type": "string", + "x-example-value": "application/json; charset=utf-8" + }, + "cache-control": { + "type": "string", + "x-example-value": "no-cache" + } + }, + "examples": { + "application/json": { + "data": { + "id": "66d1da6f-01ca-4b9c-9cab-df7c70c23860", + "type": "extraction_processes", + "attributes": { + "extraction_type": "people", + "skilljar_configuration_id": 288, + "created_at": "2024-08-21T19:02:22Z" + }, + "links": { + "processing_logs": { + "href": "http://example.org/v2/migration/projects/64119307-318c-4e77-b2c7-a3a4b1e94b75/extraction_processes/66d1da6f-01ca-4b9c-9cab-df7c70c23860/processing_logs", + "methods": [ + "get" + ] + } + } + }, + "links": { + "self": "http://example.org/v2/migration/projects/64119307-318c-4e77-b2c7-a3a4b1e94b75/extract_people" + } + } + } + } + }, + "deprecated": false, + "security": [ + { + "X-Api-Key": [ + + ] + } + ] + } + }, + "/v2/migration/projects/{project_id}/start_migration": { + "post": { + "tags": [ + "Start migration" + ], + "summary": "Start migration", + "description": "Starts migration for the given project.\n", + "consumes": [ + "application/json" + ], + "produces": [ + "text/html" + ], + "parameters": [ + { + "name": "project_id", + "in": "path", + "description": "Project ID", + "required": true, + "type": "string" + } + ], + "responses": { + "202": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + } + }, + "headers": { + "content-type": { + "type": "string", + "x-example-value": "text/html" + }, + "cache-control": { + "type": "string", + "x-example-value": "no-cache" + } + }, + "examples": { + "application/json": { + } + } + }, + "204": { + "description": "successful operation", + "schema": { + "type": "object", + "properties": { + } + }, + "headers": { + "cache-control": { + "type": "string", + "x-example-value": "no-cache" + } + }, + "examples": { + "application/json": { + } + } + }, + "422": { + "description": "failed operation", + "schema": { + "type": "object", + "properties": { + } + }, + "headers": { + "content-type": { + "type": "string", + "x-example-value": "application/json; charset=utf-8" + }, + "cache-control": { + "type": "string", + "x-example-value": "no-cache" + } + }, + "examples": { + "application/json": { + "errors": { + "status": "422", + "title": "Migration failed", + "detail": "There is no items to migrate in this project" + } + } + } + }, + "404": { + "description": "failed operation", + "schema": { + "type": "object", + "properties": { + } + }, + "headers": { + "content-type": { + "type": "string", + "x-example-value": "application/json; charset=utf-8" + }, + "cache-control": { + "type": "string", + "x-example-value": "no-cache" + } + }, + "examples": { + "application/json": { + "errors": { + "status": "404", + "title": "Not Found", + "detail": "The resource you requested does not exist" + } + } + } + } + }, + "deprecated": false, + "security": [ + { + "X-Api-Key": [ + + ] + } + ] + } + } + }, + "securityDefinitions": { + "X-Api-Key": { + "type": "apiKey", + "name": "X-Api-Key", + "in": "header" + } + }, + "tags": [ + { + "name": "Activity Resources" + }, + { + "name": "Course Attempt Resources" + }, + { + "name": "Course Resources" + }, + { + "name": "Enrollment Resources" + }, + { + "name": "Extraction processes" + }, + { + "name": "Migration Items" + }, + { + "name": "Learning Path Attempt Resources" + }, + { + "name": "Person Resources" + }, + { + "name": "Process resources" + }, + { + "name": "Processing log" + }, + { + "name": "Migration projects" + }, + { + "name": "Quiz Attempt Resources" + }, + { + "name": "Resources" + }, + { + "name": "Section Resources" + }, + { + "name": "Skilljar configurations" + }, + { + "name": "Skilljar course attempts extraction" + }, + { + "name": "Skilljar courses extraction" + }, + { + "name": "Skilljar enrollments extraction" + }, + { + "name": "Skilljar people extraction" + }, + { + "name": "Start migration" + } + ] +} diff --git a/Scripts/clone_courses.js b/Scripts/clone_courses.js index 1a447a7b..e91665f8 100644 --- a/Scripts/clone_courses.js +++ b/Scripts/clone_courses.js @@ -6,9 +6,9 @@ const rl = input: process.stdin, output: process.stdout, }) -var userEmail= 'nrasmussen@northpass.com'; -var userPassword= 'ecx5pmy!MAN2vgh2knc'; -var otp = '238307'; +var userEmail= 'ajoo@northpass.com'; +var userPassword= '!MAN2vgh2knc'; +var otp = ''; var schoolUUID = '52d19519-103f-45e3-9fa8-d21baa0f8aaa' var courseUUIDs = [ '81ea3e9b-c651-42c3-8c33-639a72ebe66f', @@ -22,104 +22,6 @@ var courseUUIDs = [ 'e78fffce-0e95-4f55-a419-05be0015a2cf', 'd3afe5e0-8725-49e1-93b7-4b03c68c9e84', 'd3afe5e0-8725-49e1-93b7-4b03c68c9e84', -'33f0809a-4535-4adc-af9d-9dcf9fa3e17d', -'33f0809a-4535-4adc-af9d-9dcf9fa3e17d', -'22c1831f-6e12-423b-9959-6afb62fa06a9', -'ccaaa9cf-a2a4-41e5-9e2d-2bff780e8b19', -'129f8d36-d04d-4024-9a16-193168dd6f5b', -'18c57beb-bd9f-4824-b93e-0275ab6357eb', -'7fc8fce2-0b15-47d9-ac48-00af68080d32', -'fdffe064-0437-4e05-9827-a70a04085851', -'771dc42d-0b85-413c-839b-a29114966159', -'1c4b54f6-ee34-43e3-baf6-a83d3baef2c9', -'1c4b54f6-ee34-43e3-baf6-a83d3baef2c9', -'1e89fea6-45f1-4b42-bbc5-2005c6cb7696', -'1e89fea6-45f1-4b42-bbc5-2005c6cb7696', -'076c0520-b0ca-4ac7-8d01-80661e5bb567', -'ecfeef35-f3e8-462c-8da0-5b2fae9f7d47', -'c3d746ab-5ca2-4609-8216-a9294f1d89bb', -'e78fffce-0e95-4f55-a419-05be0015a2cf', -'e78fffce-0e95-4f55-a419-05be0015a2cf', -'f6fd00bf-bb76-4b3b-bd8c-fb8c87a8da2e', -'0d439e90-3a0e-4048-81a5-307f5f1f0bab', -'68aa29fd-cd54-4c75-ac77-4cc545a151c2', -'627aae1d-d35f-4cb4-82ac-a23cb9a59b97', -'627aae1d-d35f-4cb4-82ac-a23cb9a59b97', -'f870c9af-7185-46b1-9648-2e412d622cb1', -'aaf85e41-8691-4ce7-ae83-dea900b4dd09', -'414fa32b-335a-4891-acb3-0082ab428e9c', -'64eb148a-65e2-4ec2-bd32-d723cab41499', -'e15e5a79-4167-4d7e-870e-b54082c5081f', -'7de842d9-5482-4b3a-bffc-d01d8d683dfd', -'7de842d9-5482-4b3a-bffc-d01d8d683dfd', -'a9a4e820-671a-458e-91b5-a1e760de06bb', -'72db9ed2-2c25-4252-803f-ce292a6f93eb', -'7bc1bbc1-3d28-4655-89ad-00098f5c5c9f', -'033e17be-73f8-475c-8f98-ab61fdc8a0b1', -'a5eb130c-171e-4b77-bd99-f738672ec1be', -'c6930c25-4bb6-427a-9b61-94e36ffd9f0b', -'44a163d1-6995-4f07-92dc-3f37b8946260', -'0b53f011-7e85-43b6-8c21-a9ec718789c2', -'0b53f011-7e85-43b6-8c21-a9ec718789c2', -'a094d994-e971-46b4-8b19-85d9e949b8ea', -'bbb33e0a-30df-46a4-bb37-22515df1daf5', -'5acdc29e-9eba-45f9-b397-97e5d1d76842', -'44a163d1-6995-4f07-92dc-3f37b8946260', -'627aae1d-d35f-4cb4-82ac-a23cb9a59b97', -'c3d746ab-5ca2-4609-8216-a9294f1d89bb', -'f870c9af-7185-46b1-9648-2e412d622cb1', -'f870c9af-7185-46b1-9648-2e412d622cb1', -'78d8a00b-7967-4aef-8c71-b7e443316b65', -'78d8a00b-7967-4aef-8c71-b7e443316b65', -'24544c73-28b7-4dfe-a5a0-638029bd15cf', -'d61cf500-7458-4d2f-aff5-ed85bb18b486', -'8dabb292-7554-44ae-aef4-d5feb838f8ac', -'5f671fa9-1eca-42e5-833d-30010481b669', -'5f671fa9-1eca-42e5-833d-30010481b669', -'ad4411e6-ca5b-4178-9500-7f3d43139b4c', -'3de77578-992f-4c2c-9d65-3019819ea78a', -'edd503f7-bb1a-462f-b89f-17657a488c46', -'3de77578-992f-4c2c-9d65-3019819ea78a', -'237363c2-df39-40e2-861f-8f0818a4d5e1', -'2acfd337-adc9-437b-a174-acf90c4309d3', -'48831e70-42af-4373-883c-d00c77c7aa05', -'f870c9af-7185-46b1-9648-2e412d622cb1', -'cc0cd185-3ff3-431e-b808-507b5d15a7d7', -'2d5775cc-0e70-430a-a77f-42f16457a481', -'aaf9a4dc-bd8b-49ed-a61d-bf30c9da1d0e', -'f870c9af-7185-46b1-9648-2e412d622cb1', -'f870c9af-7185-46b1-9648-2e412d622cb1', -'f870c9af-7185-46b1-9648-2e412d622cb1', -'f870c9af-7185-46b1-9648-2e412d622cb1', -'44a163d1-6995-4f07-92dc-3f37b8946260', -'44a163d1-6995-4f07-92dc-3f37b8946260', -'35d8f6c6-c1a0-4909-bc2d-6538bf4f4592', -'35d8f6c6-c1a0-4909-bc2d-6538bf4f4592', -'35d8f6c6-c1a0-4909-bc2d-6538bf4f4592', -'b8e175ea-c2c3-47a7-ae39-8cc5845e5f29', -'5f671fa9-1eca-42e5-833d-30010481b669', -'db66fd2d-1cb2-4880-bc99-1f7cb791f157', -'db66fd2d-1cb2-4880-bc99-1f7cb791f157', -'db66fd2d-1cb2-4880-bc99-1f7cb791f157', -'db66fd2d-1cb2-4880-bc99-1f7cb791f157', -'db66fd2d-1cb2-4880-bc99-1f7cb791f157', -'599c93ad-99ad-4f1d-98af-af4324f9b845', -'db66fd2d-1cb2-4880-bc99-1f7cb791f157', -'db66fd2d-1cb2-4880-bc99-1f7cb791f157', -'8c1b2226-9483-4929-84b0-f00f1937c788', -'28c37e7b-97a6-49ae-af7b-b083c6d9dbe2', -'9e03ddbf-9587-4200-8b3f-35f023718a7e', -'f61ee63a-7aca-40fb-a93c-07fcb6ff7c60', -'83a35da3-dc4c-4e20-b62d-739fe037039e', -'44a163d1-6995-4f07-92dc-3f37b8946260', -'28c37e7b-97a6-49ae-af7b-b083c6d9dbe2', -'f61ee63a-7aca-40fb-a93c-07fcb6ff7c60', -'989b4c39-8200-4370-9ec2-5a0b38b36e0e', -'a0329d9a-06c5-4f68-aa3e-ed06173ab7c3', -'bd4f8303-5a3a-4fa9-b3cd-0fca17c9e952', -'1da1bce7-4454-4c28-b1e1-6ee5536dba13', -'db675072-9262-4acc-af73-5b8d7a5595a2', -'6daa4beb-3ac0-41ff-a279-e377e3375ce8', '1da1bce7-4454-4c28-b1e1-6ee5536dba13', ] var schoolNameToCloneTo = "Anthology U";