POST /プロジェクト/import
curl \
--request POST 'http://127.0.0.1:8278/api/v1/project/import' \
--header "Content-Type: application/json"
リクエスト例
{}
応答の例(200)
{
"name": "string",
"type": "ORACLE",
"lastModified": "2025-05-04T09:42:00Z",
"codeId": "string",
"schemasId": "string",
"jdbcId": "string",
"mongodbId": "string",
"content": {
"settings": {
"viewMode": "HORIZONTAL",
"shouldRecommendSchema": true,
"casing": "CAMEL_CASE",
"codegen": {
"language": "JAVA",
"framework": "POJO",
"withSupportingFiles": true,
"excludedCollections": [
"string"
]
},
"keyHandling": "WRAPPED"
},
"collections": {
"additionalProperty1": {
"name": "string",
"type": "REGULAR",
"timeSeriesOptions": {
"timeField": "string",
"metaField": "string",
"expireAfterSeconds": 42.0,
"granularity": "SECONDS"
}
},
"additionalProperty2": {
"name": "string",
"type": "REGULAR",
"timeSeriesOptions": {
"timeField": "string",
"metaField": "string",
"expireAfterSeconds": 42.0,
"granularity": "SECONDS"
}
}
},
"mappings": {
"additionalProperty1": {
"settings": {
"type": "NEW_DOCUMENT",
"notes": "string",
"embeddedPath": "string",
"primitive": true,
"arrayConditions": {
"sortBy": "string",
"order": "ASC",
"limit": 42
},
"foreignKeyName": "string",
"ruleFilter": "string"
},
"fields": {
"additionalProperty1": {
"target": {
"name": "string",
"included": true,
"isNullExcluded": false,
"type": "AUTO"
},
"source": {
"name": "string",
"databaseSpecificType": "string",
"isPrimaryKey": false
}
},
"additionalProperty2": {
"target": {
"name": "string",
"included": true,
"isNullExcluded": false,
"type": "AUTO"
},
"source": {
"name": "string",
"databaseSpecificType": "string",
"isPrimaryKey": false
}
}
},
"calculatedFields": {
"additionalProperty1": {
"name": "string",
"isNullExcluded": false,
"type": "AUTO",
"expression": "string"
},
"additionalProperty2": {
"name": "string",
"isNullExcluded": false,
"type": "AUTO",
"expression": "string"
}
},
"collectionId": "string",
"table": "string"
},
"additionalProperty2": {
"settings": {
"type": "NEW_DOCUMENT",
"notes": "string",
"embeddedPath": "string",
"primitive": true,
"arrayConditions": {
"sortBy": "string",
"order": "ASC",
"limit": 42
},
"foreignKeyName": "string",
"ruleFilter": "string"
},
"fields": {
"additionalProperty1": {
"target": {
"name": "string",
"included": true,
"isNullExcluded": false,
"type": "AUTO"
},
"source": {
"name": "string",
"databaseSpecificType": "string",
"isPrimaryKey": false
}
},
"additionalProperty2": {
"target": {
"name": "string",
"included": true,
"isNullExcluded": false,
"type": "AUTO"
},
"source": {
"name": "string",
"databaseSpecificType": "string",
"isPrimaryKey": false
}
}
},
"calculatedFields": {
"additionalProperty1": {
"name": "string",
"isNullExcluded": false,
"type": "AUTO",
"expression": "string"
},
"additionalProperty2": {
"name": "string",
"isNullExcluded": false,
"type": "AUTO",
"expression": "string"
}
},
"collectionId": "string",
"table": "string"
}
},
"relationships": {
"tables": {
"additionalProperty1": {
"mappings": [
"string"
]
},
"additionalProperty2": {
"mappings": [
"string"
]
}
},
"collections": {
"additionalProperty1": {
"mappings": [
"string"
]
},
"additionalProperty2": {
"mappings": [
"string"
]
}
},
"mappings": {
"additionalProperty1": {
"children": [
"string"
]
},
"additionalProperty2": {
"children": [
"string"
]
}
}
},
"diagrams": {
"activeTab": "string",
"tabs": [
{
"id": "string",
"name": "string",
"notes": "string",
"relational": {
"nodes": [
{
"id": "string",
"type": "string",
"position": {
"x": 42.0,
"y": 42.0
},
"width": 42.0,
"height": 42.0,
"hidden": true
}
],
"edges": [
{
"id": "string",
"source": "string",
"target": "string",
"markerStart": "START_ONE",
"markerEnd": "END_ONE"
}
]
},
"collection": {
"nodes": [
{
"id": "string",
"type": "string",
"position": {
"x": 42.0,
"y": 42.0
},
"width": 42.0,
"height": 42.0,
"hidden": true
}
],
"edges": [
{
"id": "string",
"source": "string",
"target": "string",
"markerStart": "START_ONE",
"markerEnd": "END_ONE"
}
]
}
}
]
},
"tables": {
"additionalProperty1": {
"path": {
"database": "string",
"schema": "string",
"table": "string"
}
},
"additionalProperty2": {
"path": {
"database": "string",
"schema": "string",
"table": "string"
}
}
}
},
"connectionDetails": {
"ddl": {
"type": "ORACLE"
}
},
"isSampleProject": true,
"id": "string"
}
応答の例(485)
{
"jobId": "string",
"message": "string",
"description": "string",
"timestamp": "2025-05-04T09:42:00Z"
}
応答の例(486)
{
"jobId": "string",
"message": "string",
"description": "string",
"timestamp": "2025-05-04T09:42:00Z"
}
応答の例(487)
{
"jobId": "string",
"message": "string",
"description": "string",
"timestamp": "2025-05-04T09:42:00Z"
}