diff --git a/fern/openapi.json b/fern/openapi.json index 361b2ac3..d9ccada6 100644 --- a/fern/openapi.json +++ b/fern/openapi.json @@ -19689,6 +19689,89 @@ } } }, + "/v1/legacy-templates/{templateId}/migrates": { + "post": { + "description": "Migrates a template from a legacy project to the default project. Only works if the template is currently in a legacy project.", + "summary": "Migrate template from legacy project (Cloud-only)", + "tags": ["templates"], + "parameters": [ + { + "name": "templateId", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "The template ID" + } + ], + "operationId": "templates.legacyMigration", + "requestBody": { + "description": "Body", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": {} + } + } + } + }, + "responses": { + "200": { + "description": "200", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + }, + "message": { + "type": "string" + } + }, + "required": ["success"] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "message": { + "type": "string" + } + }, + "required": ["message"] + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "message": { + "type": "string" + } + }, + "required": ["message"] + } + } + } + } + } + } + }, "/v1/client-side-access-tokens": { "post": { "description": "Create a new client side access token with the specified configuration.",