Certifications Master
Certifications Master · GPT Actions
User Register API
API for sending username and password for register.
POST /macros/s/AKfycbwkoA6F1DeLIdJlPOwgMUe98Zgs9R_GoRqGMI46l2IbDbnZ49YkyZd9s5iZYy5jXoEXWA/execRegister UserPOST /macros/s/AKfycbzT5PygVY4TR57gEBjg07iBxNCxoA128sK62SBTuc5zBsaLbqpzbbvVta5JKyDHzgwaUA/execLogin UserPOST /macros/s/AKfycbztBPYwz51CR3MJutKRVIfXpFxr50plp67faetI_ka71DIVUpt9Cw0CUwoOqlsLp1D0QA/execLogout UserPOST /macros/s/AKfycbwGFcYcmZ3a-0VLb43HrMcW3COQoZKqMwp7D6MsfMeE9A_TYSRGBVpA6khLLNduOgAdxA/execSend MessagePOST /macros/s/AKfycbyZxhr9HM1nanb38F093eGUQCzVclvX1KT3Fgcl2uiDi51uknjISgFJlglVFWH3O2Z7Sw/execReceive MessagePOST /macros/s/AKfycbxi4yB62ZqBNgJEN-u3b-KUbzq4X6bweclP7x5V8YhwQTg5sCQKP2peh2T5SVUyuP_Q/execSend PromptPOST /macros/s/AKfycbykqUAqXb5dm0TJuuC7adraf_QoAd4jaYswa11GjjB4F0Wc3NGnkkZ6hgYoSgGMRoDuew/execCheck Message StatusesPOST /macros/s/AKfycbwAFEAIQMxgMK79VYb1XxS7NSu8Ueq1R_uXKsK_zQmfwyOCoXZJu3rnSOA8jo9aHgk/execAdd Exam ContentsPOST /macros/s/AKfycby9QU7mclVurpBaHkfQQuc61fDa_8y-t02c_JPlRiAo7yLND73iX1VHITw8hYvss-47/execUpdate Exam ContentsPOST /macros/s/AKfycbzj7iXZI1WPLsoE8CnePCooSG_wrR8SNv6jzcHZoYq2KBkZ5654IUCauUclmwG4qSYL/execDelete Exam ContentsPOST /macros/s/AKfycbyAG3FkeXfNXwRCKxVutIzQWompiBuJcnM0m6k0qu2n9roz_xB6KLkwSiJGSH4XjJ6P4g/execAdd CertificationPOST /macros/s/AKfycbxWeK5JzZGSm5eSuIiGTaNowXD2Hgii-5LRrP4lHUk2E65Nk9GaVYEBC6n7zIGCcldWnQ/execUpdate CertificationPOST /macros/s/AKfycbxHAwiPgpdRs5oYf5NugscnqewkcDdJF98n1_okAlajvmT0GwO5apNc2CHUWKcqT_Qz/execDelete CertificationPOST /macros/s/AKfycbzt2_lr8PCzwO80ym97IOyT1I4SVl6ghXm5O-abKy1bw8ZDwyiqARpjUwMzs5ugDFR7pg/execCheck My Exam ContentsPOST /macros/s/AKfycbzsWSJVqIwaYbq1nWa8xTo1lMfPvLdf_dotJOBaqsiJKbVWPbvZi_92940bmWjGn47-1A/execCheck My Certifications
原始 API 定义
{
"openapi": "3.0.0",
"info": {
"version": "1.0.0",
"title": "User Register API",
"description": "API for sending username and password for register."
},
"servers": [
{
"url": "https://script.google.com"
}
],
"paths": {
"/macros/s/AKfycbwkoA6F1DeLIdJlPOwgMUe98Zgs9R_GoRqGMI46l2IbDbnZ49YkyZd9s5iZYy5jXoEXWA/exec": {
"post": {
"summary": "Register User",
"operationId": "RegisterUserCM",
"tags": [
"user"
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"username",
"password"
],
"properties": {
"username": {
"type": "string"
},
"password": {
"type": "string"
}
}
}
}
}
},
"responses": {
"200": {
"description": "Register successful",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"message": {
"type": "string"
}
}
}
}
}
}
}
}
},
"/macros/s/AKfycbzT5PygVY4TR57gEBjg07iBxNCxoA128sK62SBTuc5zBsaLbqpzbbvVta5JKyDHzgwaUA/exec": {
"post": {
"summary": "Login User",
"operationId": "LoginUserCM",
"tags": [
"user"
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"username",
"password"
],
"properties": {
"username": {
"type": "string"
},
"password": {
"type": "string"
}
}
}
}
}
},
"responses": {
"200": {
"description": "Login successful",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"token": {
"type": "string"
}
}
}
}
}
}
}
}
},
"/macros/s/AKfycbztBPYwz51CR3MJutKRVIfXpFxr50plp67faetI_ka71DIVUpt9Cw0CUwoOqlsLp1D0QA/exec": {
"post": {
"summary": "Logout User",
"operationId": "LogoutUserCM",
"tags": [
"user"
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"username",
"token"
],
"properties": {
"username": {
"type": "string"
},
"token": {
"type": "string"
}
}
}
}
}
},
"responses": {
"200": {
"description": "Logout successful",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"token": {
"type": "string"
}
}
}
}
}
}
}
}
},
"/macros/s/AKfycbwGFcYcmZ3a-0VLb43HrMcW3COQoZKqMwp7D6MsfMeE9A_TYSRGBVpA6khLLNduOgAdxA/exec": {
"post": {
"summary": "Send Message",
"operationId": "SendMessageCM",
"tags": [
"message"
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"username",
"receiverName",
"message",
"token"
],
"properties": {
"username": {
"type": "string"
},
"receiverName": {
"type": "string"
},
"message": {
"type": "string"
},
"token": {
"type": "string"
}
}
}
}
}
},
"responses": {
"200": {
"description": "Message sent successfully",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"message": {
"type": "string"
}
}
}
}
}
}
}
}
},
"/macros/s/AKfycbyZxhr9HM1nanb38F093eGUQCzVclvX1KT3Fgcl2uiDi51uknjISgFJlglVFWH3O2Z7Sw/exec": {
"post": {
"summary": "Receive Message",
"operationId": "ReceiveMessageCM",
"tags": [
"message"
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"receiverName",
"token"
],
"properties": {
"receiverName": {
"type": "string"
},
"token": {
"type": "string"
}
}
}
}
}
},
"responses": {
"200": {
"description": "Messages received successfully",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"type": "object",
"properties": {
"senderName": {
"type": "string"
},
"message": {
"type": "string"
},
"time": {
"type": "string"
}
}
}
}
}
}
}
}
}
},
"/macros/s/AKfycbxi4yB62ZqBNgJEN-u3b-KUbzq4X6bweclP7x5V8YhwQTg5sCQKP2peh2T5SVUyuP_Q/exec": {
"post": {
"summary": "Send Prompt",
"operationId": "SendPromptCM",
"tags": [
"prompt"
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"username",
"prompt",
"token"
],
"properties": {
"username": {
"type": "string"
},
"prompt": {
"type": "string"
},
"token": {
"type": "string"
}
}
}
}
}
},
"responses": {
"200": {
"description": "Prompt sent successfully",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"message": {
"type": "string"
}
}
}
}
}
}
}
}
},
"/macros/s/AKfycbykqUAqXb5dm0TJuuC7adraf_QoAd4jaYswa11GjjB4F0Wc3NGnkkZ6hgYoSgGMRoDuew/exec": {
"post": {
"summary": "Check Message Statuses",
"operationId": "CheckMessageStatusesCM",
"tags": [
"message"
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"receiverName",
"token"
],
"properties": {
"receiverName": {
"type": "string"
},
"token": {
"type": "string"
}
}
}
}
}
},
"responses": {
"200": {
"description": "Message statuses checked successfully",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"senderName": {
"type": "string"
},
"message": {
"type": "string"
},
"time": {
"type": "string"
}
}
}
}
}
}
}
}
},
"/macros/s/AKfycbwAFEAIQMxgMK79VYb1XxS7NSu8Ueq1R_uXKsK_zQmfwyOCoXZJu3rnSOA8jo9aHgk/exec": {
"post": {
"summary": "Add Exam Contents",
"operationId": "AddExamContentsCM",
"tags": [
"exam"
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"username",
"examName",
"yearOfScheduled",
"term",
"kind",
"dateOfExamStarts",
"dateOfExamEnds",
"canBeTaken",
"requirements",
"token"
],
"properties": {
"username": {
"type": "string"
},
"examName": {
"type": "string"
},
"yearOfScheduled": {
"type": "string"
},
"term": {
"type": "string"
},
"kind": {
"type": "string"
},
"dateOfExamStarts": {
"type": "string"
},
"dateOfExamEnds": {
"type": "string"
},
"canBeTaken": {
"type": "boolean"
},
"requirements": {
"type": "string"
},
"token": {
"type": "string"
}
}
}
}
}
},
"responses": {
"200": {
"description": "Exam content added successfully",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"message": {
"type": "string"
}
}
}
}
}
}
}
}
},
"/macros/s/AKfycby9QU7mclVurpBaHkfQQuc61fDa_8y-t02c_JPlRiAo7yLND73iX1VHITw8hYvss-47/exec": {
"post": {
"summary": "Update Exam Contents",
"operationId": "UpdateExamContentsCM",
"tags": [
"exam"
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"username",
"examName",
"yearOfScheduled",
"term",
"kind",
"dateOfExamStarts",
"dateOfExamEnds",
"canBeTaken",
"isPassed",
"passedDate",
"requirements",
"meetsRequirements",
"isCertified",
"certifiedDate",
"token"
],
"properties": {
"username": {
"type": "string"
},
"examName": {
"type": "string"
},
"yearOfScheduled": {
"type": "string"
},
"term": {
"type": "string"
},
"kind": {
"type": "string"
},
"dateOfExamStarts": {
"type": "string"
},
"dateOfExamEnds": {
"type": "string"
},
"canBeTaken": {
"type": "boolean"
},
"isPassed": {
"type": "boolean"
},
"passedDate": {
"type": "string"
},
"requirements": {
"type": "string"
},
"meetsRequirements": {
"type": "boolean"
},
"isCertified": {
"type": "boolean"
},
"certifiedDate": {
"type": "string"
},
"token": {
"type": "string"
}
}
}
}
}
},
"responses": {
"200": {
"description": "Exam content updated successfully",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"message": {
"type": "string"
}
}
}
}
}
}
}
}
},
"/macros/s/AKfycbzj7iXZI1WPLsoE8CnePCooSG_wrR8SNv6jzcHZoYq2KBkZ5654IUCauUclmwG4qSYL/exec": {
"post": {
"summary": "Delete Exam Contents",
"operationId": "DeleteExamContentsCM",
"tags": [
"exam"
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"username",
"examName",
"yearOfScheduled",
"term",
"kind",
"token"
],
"properties": {
"username": {
"type": "string"
},
"examName": {
"type": "string"
},
"yearOfScheduled": {
"type": "string"
},
"term": {
"type": "string"
},
"kind": {
"type": "string"
},
"token": {
"type": "string"
}
}
}
}
}
},
"responses": {
"200": {
"description": "Exam content deleted successfully",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"message": {
"type": "string"
}
}
}
}
}
}
}
}
},
"/macros/s/AKfycbyAG3FkeXfNXwRCKxVutIzQWompiBuJcnM0m6k0qu2n9roz_xB6KLkwSiJGSH4XjJ6P4g/exec": {
"post": {
"summary": "Add Certification",
"operationId": "AddCertificationCM",
"tags": [
"certification"
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"username",
"certificationName",
"certifiedDate",
"jobsToFit",
"token"
],
"properties": {
"username": {
"type": "string"
},
"certificationName": {
"type": "string"
},
"certifiedDate": {
"type": "string"
},
"jobsToFit": {
"type": "array",
"items": {
"type": "string"
}
},
"token": {
"type": "string"
}
}
}
}
}
},
"responses": {
"200": {
"description": "Certification added successfully",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"message": {
"type": "string"
}
}
}
}
}
}
}
}
},
"/macros/s/AKfycbxWeK5JzZGSm5eSuIiGTaNowXD2Hgii-5LRrP4lHUk2E65Nk9GaVYEBC6n7zIGCcldWnQ/exec": {
"post": {
"summary": "Update Certification",
"operationId": "UpdateCertificationCM",
"tags": [
"certification"
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"username",
"certificationName",
"certifiedDate",
"jobsToFit",
"token"
],
"properties": {
"username": {
"type": "string"
},
"certificationName": {
"type": "string"
},
"certifiedDate": {
"type": "string"
},
"jobsToFit": {
"type": "array",
"items": {
"type": "string"
}
},
"token": {
"type": "string"
}
}
}
}
}
},
"responses": {
"200": {
"description": "Certification updated successfully",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"message": {
"type": "string"
}
}
}
}
}
}
}
}
},
"/macros/s/AKfycbxHAwiPgpdRs5oYf5NugscnqewkcDdJF98n1_okAlajvmT0GwO5apNc2CHUWKcqT_Qz/exec": {
"post": {
"summary": "Delete Certification",
"operationId": "DeleteCertificationCM",
"tags": [
"certification"
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"username",
"certificationName",
"token"
],
"properties": {
"username": {
"type": "string"
},
"certificationName": {
"type": "string"
},
"token": {
"type": "string"
}
}
}
}
}
},
"responses": {
"200": {
"description": "Certification deleted successfully",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"message": {
"type": "string"
}
}
}
}
}
}
}
}
},
"/macros/s/AKfycbzt2_lr8PCzwO80ym97IOyT1I4SVl6ghXm5O-abKy1bw8ZDwyiqARpjUwMzs5ugDFR7pg/exec": {
"post": {
"summary": "Check My Exam Contents",
"operationId": "CheckMyExamContentsCM",
"tags": [
"exam"
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"username",
"token"
],
"properties": {
"username": {
"type": "string"
},
"token": {
"type": "string"
}
}
}
}
}
},
"responses": {
"200": {
"description": "Exam contents retrieved successfully",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"type": "object",
"properties": {
"username": {
"type": "string"
},
"examName": {
"type": "string"
},
"yearOfScheduled": {
"type": "string"
},
"term": {
"type": "string"
},
"kind": {
"type": "string"
},
"dateOfExamStarts": {
"type": "string"
},
"dateOfExamEnds": {
"type": "string"
},
"canBeTaken": {
"type": "boolean"
},
"isPassed": {
"type": "boolean"
},
"passedDate": {
"type": "string"
},
"requirements": {
"type": "string"
},
"meetsRequirements": {
"type": "boolean"
},
"isCertified": {
"type": "boolean"
},
"certifiedDate": {
"type": "string"
}
}
}
}
}
}
}
}
}
},
"/macros/s/AKfycbzsWSJVqIwaYbq1nWa8xTo1lMfPvLdf_dotJOBaqsiJKbVWPbvZi_92940bmWjGn47-1A/exec": {
"post": {
"summary": "Check My Certifications",
"operationId": "CheckMyCertificationsCM",
"tags": [
"certification"
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"username",
"token"
],
"properties": {
"username": {
"type": "string"
},
"token": {
"type": "string"
}
}
}
}
}
},
"responses": {
"200": {
"description": "Certification information retrieved successfully",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"type": "object",
"properties": {
"username": {
"type": "string"
},
"certificationName": {
"type": "string"
},
"certifiedDate": {
"type": "string"
},
"jobsToFit": {
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}
}
}
}
}
}
}
}