Survey Done ✅
Survey Done ✅ · GPT 작업
Survey Creation API
POST /surveysInsertSurveyEndpoint to create a new survey.
원본 API 스키마
{
"openapi": "3.1.0",
"info": {
"title": "Survey Creation API",
"version": "1.0.0"
},
"servers": [
{
"url": "https://create.surveydone.com"
}
],
"paths": {
"/surveys": {
"post": {
"summary": "InsertSurvey",
"operationId": "insertSurvey",
"description": "Endpoint to create a new survey.",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"description": "SurveyJS object schema for the survey data.",
"properties": {
"title": {
"type": "string"
},
"description": {
"type": "string"
},
"pages": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"title": {
"type": "string"
},
"description": {
"type": "string"
},
"elements": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string"
},
"name": {
"type": "string"
},
"title": {
"type": "string"
}
},
"additionalProperties": true
}
}
},
"additionalProperties": true
}
}
},
"required": [
"title",
"description",
"pages"
],
"additionalProperties": true
}
}
}
},
"responses": {
"200": {
"description": "Survey successfully created.",
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "The unique identifier of the created survey."
}
},
"additionalProperties": true
}
}
}
}
}
}
}
}
}