Shub/let 6820 add the migrator between legacy project to default project [LET-6820] (#8300)
* chore * chore; udpate secrets * chore: remove sleeptime templates * chore: remove sleeptime templates * Update apps/web/src/lib/client/components/ADEPage/ADEHeader/ADEHeader.tsx Co-authored-by: datadog-official[bot] <214633350+datadog-official[bot]@users.noreply.github.com> * Update apps/web/src/lib/client/components/ADEPage/ADEHeader/LegacyMigrationModal/LegacyMigrationModal.tsx Co-authored-by: datadog-official[bot] <214633350+datadog-official[bot]@users.noreply.github.com> --------- Co-authored-by: datadog-official[bot] <214633350+datadog-official[bot]@users.noreply.github.com>
This commit is contained in:
committed by
Caren Thomas
parent
a54513c343
commit
350436c0cc
@@ -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.",
|
||||
|
||||
Reference in New Issue
Block a user