Resource used for performing Tag Type Migrations and Template Migrations
Cancel the current tag type migration job, if one is being executed
media type | data type | description |
---|---|---|
application/json | GenericResponse (JSON) | response object containing details about the cancellation |
GET /migration/cancelMigration
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"messages" : [ { }, { } ],
"responseInfo" : {
"responseCode" : "OK",
"responseMessage" : "...",
"property" : "..."
}
}
Get a list of constructs, that can be migrated for the given type
media type | data type | description |
---|---|---|
application/json | MigrationTagsRequest (JSON) | request containing the migration type |
media type | data type | description |
---|---|---|
application/json | ConstructListResponse (JSON) | list of constructs |
POST /migration/getMigrationConstructs
Content-Type: application/json
Accept: application/json
{
"type" : "...",
"ids" : [ 12345, 12345 ]
}
HTTP/1.1 201 Created
Content-Type: application/json
{
"constructs" : [ {
"keyword" : "...",
"mayBeSubtag" : true,
"mayContainSubtags" : true,
"id" : 12345,
"globalId" : "...",
"name" : "...",
"description" : "...",
"icon" : "...",
"creator" : {
"id" : 12345,
"firstName" : "...",
"lastName" : "...",
"description" : "...",
"email" : "...",
"groups" : [ { }, { } ],
"login" : "...",
"password" : "..."
},
"cdate" : 12345,
"editor" : {
"id" : 12345,
"firstName" : "...",
"lastName" : "...",
"description" : "...",
"email" : "...",
"groups" : [ { }, { } ],
"login" : "...",
"password" : "..."
},
"edate" : 12345,
"editdo" : 12345,
"category" : {
"name" : "...",
"constructs" : {
"property1" : { },
"property2" : { }
},
"id" : 12345,
"globalId" : "...",
"nameI18n" : {
"property1" : "...",
"property2" : "..."
},
"sortOrder" : 12345
},
"newEditor" : true,
"externalEditorUrl" : "...",
"parts" : [ {
"name" : "...",
"keyword" : "...",
"hidden" : true,
"editable" : true,
"liveEditable" : true,
"mandatory" : true,
"type" : "FORM",
"typeId" : 12345,
"id" : 12345,
"globalId" : "...",
"defaultProperty" : { },
"regex" : { },
"hideInEditor" : true,
"externalEditorUrl" : "...",
"options" : [ { }, { } ],
"overviewSettings" : { },
"selectSettings" : { },
"markupLanguageId" : 12345,
"htmlClass" : "...",
"partOrder" : 12345,
"policy" : "...",
"nameI18n" : {
"property1" : "...",
"property2" : "..."
}
}, {
"name" : "...",
"keyword" : "...",
"hidden" : true,
"editable" : true,
"liveEditable" : true,
"mandatory" : true,
"type" : "CMSFORM",
"typeId" : 12345,
"id" : 12345,
"globalId" : "...",
"defaultProperty" : { },
"regex" : { },
"hideInEditor" : true,
"externalEditorUrl" : "...",
"options" : [ { }, { } ],
"overviewSettings" : { },
"selectSettings" : { },
"markupLanguageId" : 12345,
"htmlClass" : "...",
"partOrder" : 12345,
"policy" : "...",
"nameI18n" : {
"property1" : "...",
"property2" : "..."
}
} ],
"visibleInMenu" : true,
"nameI18n" : {
"property1" : "...",
"property2" : "..."
},
"descriptionI18n" : {
"property1" : "...",
"property2" : "..."
},
"autoEnable" : true,
"liveEditorTagName" : "...",
"hopeditHook" : "...",
"categoryId" : 12345
}, {
"keyword" : "...",
"mayBeSubtag" : true,
"mayContainSubtags" : true,
"id" : 12345,
"globalId" : "...",
"name" : "...",
"description" : "...",
"icon" : "...",
"creator" : {
"id" : 12345,
"firstName" : "...",
"lastName" : "...",
"description" : "...",
"email" : "...",
"groups" : [ { }, { } ],
"login" : "...",
"password" : "..."
},
"cdate" : 12345,
"editor" : {
"id" : 12345,
"firstName" : "...",
"lastName" : "...",
"description" : "...",
"email" : "...",
"groups" : [ { }, { } ],
"login" : "...",
"password" : "..."
},
"edate" : 12345,
"editdo" : 12345,
"category" : {
"name" : "...",
"constructs" : {
"property1" : { },
"property2" : { }
},
"id" : 12345,
"globalId" : "...",
"nameI18n" : {
"property1" : "...",
"property2" : "..."
},
"sortOrder" : 12345
},
"newEditor" : true,
"externalEditorUrl" : "...",
"parts" : [ {
"name" : "...",
"keyword" : "...",
"hidden" : true,
"editable" : true,
"liveEditable" : true,
"mandatory" : true,
"type" : "TEMPLATETAG",
"typeId" : 12345,
"id" : 12345,
"globalId" : "...",
"defaultProperty" : { },
"regex" : { },
"hideInEditor" : true,
"externalEditorUrl" : "...",
"options" : [ { }, { } ],
"overviewSettings" : { },
"selectSettings" : { },
"markupLanguageId" : 12345,
"htmlClass" : "...",
"partOrder" : 12345,
"policy" : "...",
"nameI18n" : {
"property1" : "...",
"property2" : "..."
}
}, {
"name" : "...",
"keyword" : "...",
"hidden" : true,
"editable" : true,
"liveEditable" : true,
"mandatory" : true,
"type" : "OVERVIEW",
"typeId" : 12345,
"id" : 12345,
"globalId" : "...",
"defaultProperty" : { },
"regex" : { },
"hideInEditor" : true,
"externalEditorUrl" : "...",
"options" : [ { }, { } ],
"overviewSettings" : { },
"selectSettings" : { },
"markupLanguageId" : 12345,
"htmlClass" : "...",
"partOrder" : 12345,
"policy" : "...",
"nameI18n" : {
"property1" : "...",
"property2" : "..."
}
} ],
"visibleInMenu" : true,
"nameI18n" : {
"property1" : "...",
"property2" : "..."
},
"descriptionI18n" : {
"property1" : "...",
"property2" : "..."
},
"autoEnable" : true,
"liveEditorTagName" : "...",
"hopeditHook" : "...",
"categoryId" : 12345
} ],
"hasMoreItems" : true,
"numItems" : 12345,
"messages" : [ { }, { } ],
"responseInfo" : {
"responseCode" : "OK",
"responseMessage" : "...",
"property" : "..."
}
}
Get a list of all tag type migration logs
media type | data type | description |
---|---|---|
application/json | MigrationGetLogsResponse (JSON) |
GET /migration/getMigrationLogs
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"logFilenames" : {
"property1" : "...",
"property2" : "..."
},
"jobEntries" : [ {
"handledObjects" : 12345,
"logName" : "...",
"jobId" : 12345,
"status" : 12345,
"timestamp" : "...",
"jobType" : 12345
}, {
"handledObjects" : 12345,
"logName" : "...",
"jobId" : 12345,
"status" : 12345,
"timestamp" : "...",
"jobType" : 12345
} ],
"messages" : [ { }, { } ],
"responseInfo" : {
"responseCode" : "OK",
"responseMessage" : "...",
"property" : "..."
}
}
Get the migration status for a given tag type migration job
media type | data type | description |
---|---|---|
application/json | MigrationStatusResponse (JSON) | response object containing details about the status of the current migration |
GET /migration/getMigrationStatus
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"percentComplete" : 12345,
"status" : 12345,
"jobId" : 12345,
"latestJob" : {
"handledObjects" : 12345,
"logName" : "...",
"jobId" : 12345,
"status" : 12345,
"timestamp" : "...",
"jobType" : 12345
},
"messages" : [ { }, { } ],
"responseInfo" : {
"responseCode" : "OK",
"responseMessage" : "...",
"property" : "..."
}
}
Get a list of Tag Types for possible migration by examining the given objects
media type | data type | description |
---|---|---|
application/json | MigrationTagsRequest (JSON) | migration tags request object |
media type | data type | description |
---|---|---|
application/json | MigrationTagsResponse (JSON) | response object containing the tags for the requested objects |
POST /migration/getMigrationTagTypes
Content-Type: application/json
Accept: application/json
{
"type" : "...",
"ids" : [ 12345, 12345 ]
}
HTTP/1.1 201 Created
Content-Type: application/json
{
"tagTypes" : {
"property1" : {
"keyword" : "...",
"mayBeSubtag" : true,
"mayContainSubtags" : true,
"id" : 12345,
"globalId" : "...",
"name" : "...",
"description" : "...",
"icon" : "...",
"creator" : {
"id" : 12345,
"firstName" : "...",
"lastName" : "...",
"description" : "...",
"email" : "...",
"groups" : [ { }, { } ],
"login" : "...",
"password" : "..."
},
"cdate" : 12345,
"editor" : {
"id" : 12345,
"firstName" : "...",
"lastName" : "...",
"description" : "...",
"email" : "...",
"groups" : [ { }, { } ],
"login" : "...",
"password" : "..."
},
"edate" : 12345,
"editdo" : 12345,
"category" : {
"name" : "...",
"constructs" : {
"property1" : { },
"property2" : { }
},
"id" : 12345,
"globalId" : "...",
"nameI18n" : {
"property1" : "...",
"property2" : "..."
},
"sortOrder" : 12345
},
"newEditor" : true,
"externalEditorUrl" : "...",
"parts" : [ {
"name" : "...",
"keyword" : "...",
"hidden" : true,
"editable" : true,
"liveEditable" : true,
"mandatory" : true,
"type" : "LIST",
"typeId" : 12345,
"id" : 12345,
"globalId" : "...",
"defaultProperty" : { },
"regex" : { },
"hideInEditor" : true,
"externalEditorUrl" : "...",
"options" : [ { }, { } ],
"overviewSettings" : { },
"selectSettings" : { },
"markupLanguageId" : 12345,
"htmlClass" : "...",
"partOrder" : 12345,
"policy" : "...",
"nameI18n" : {
"property1" : "...",
"property2" : "..."
}
}, {
"name" : "...",
"keyword" : "...",
"hidden" : true,
"editable" : true,
"liveEditable" : true,
"mandatory" : true,
"type" : "CMSFORM",
"typeId" : 12345,
"id" : 12345,
"globalId" : "...",
"defaultProperty" : { },
"regex" : { },
"hideInEditor" : true,
"externalEditorUrl" : "...",
"options" : [ { }, { } ],
"overviewSettings" : { },
"selectSettings" : { },
"markupLanguageId" : 12345,
"htmlClass" : "...",
"partOrder" : 12345,
"policy" : "...",
"nameI18n" : {
"property1" : "...",
"property2" : "..."
}
} ],
"visibleInMenu" : true,
"nameI18n" : {
"property1" : "...",
"property2" : "..."
},
"descriptionI18n" : {
"property1" : "...",
"property2" : "..."
},
"autoEnable" : true,
"liveEditorTagName" : "...",
"hopeditHook" : "...",
"categoryId" : 12345
},
"property2" : {
"keyword" : "...",
"mayBeSubtag" : true,
"mayContainSubtags" : true,
"id" : 12345,
"globalId" : "...",
"name" : "...",
"description" : "...",
"icon" : "...",
"creator" : {
"id" : 12345,
"firstName" : "...",
"lastName" : "...",
"description" : "...",
"email" : "...",
"groups" : [ { }, { } ],
"login" : "...",
"password" : "..."
},
"cdate" : 12345,
"editor" : {
"id" : 12345,
"firstName" : "...",
"lastName" : "...",
"description" : "...",
"email" : "...",
"groups" : [ { }, { } ],
"login" : "...",
"password" : "..."
},
"edate" : 12345,
"editdo" : 12345,
"category" : {
"name" : "...",
"constructs" : {
"property1" : { },
"property2" : { }
},
"id" : 12345,
"globalId" : "...",
"nameI18n" : {
"property1" : "...",
"property2" : "..."
},
"sortOrder" : 12345
},
"newEditor" : true,
"externalEditorUrl" : "...",
"parts" : [ {
"name" : "...",
"keyword" : "...",
"hidden" : true,
"editable" : true,
"liveEditable" : true,
"mandatory" : true,
"type" : "ORDEREDLIST",
"typeId" : 12345,
"id" : 12345,
"globalId" : "...",
"defaultProperty" : { },
"regex" : { },
"hideInEditor" : true,
"externalEditorUrl" : "...",
"options" : [ { }, { } ],
"overviewSettings" : { },
"selectSettings" : { },
"markupLanguageId" : 12345,
"htmlClass" : "...",
"partOrder" : 12345,
"policy" : "...",
"nameI18n" : {
"property1" : "...",
"property2" : "..."
}
}, {
"name" : "...",
"keyword" : "...",
"hidden" : true,
"editable" : true,
"liveEditable" : true,
"mandatory" : true,
"type" : "VELOCITY",
"typeId" : 12345,
"id" : 12345,
"globalId" : "...",
"defaultProperty" : { },
"regex" : { },
"hideInEditor" : true,
"externalEditorUrl" : "...",
"options" : [ { }, { } ],
"overviewSettings" : { },
"selectSettings" : { },
"markupLanguageId" : 12345,
"htmlClass" : "...",
"partOrder" : 12345,
"policy" : "...",
"nameI18n" : {
"property1" : "...",
"property2" : "..."
}
} ],
"visibleInMenu" : true,
"nameI18n" : {
"property1" : "...",
"property2" : "..."
},
"descriptionI18n" : {
"property1" : "...",
"property2" : "..."
},
"autoEnable" : true,
"liveEditorTagName" : "...",
"hopeditHook" : "...",
"categoryId" : 12345
}
},
"messages" : [ { }, { } ],
"responseInfo" : {
"responseCode" : "OK",
"responseMessage" : "...",
"property" : "..."
}
}
Get a response that contains maps and lists with possible part mappings between to both tagtypes
name | type | description | constraints |
---|---|---|---|
fromTagTypeId | query | TagTypeId of the tagtype that should be mapped | required int |
toTagTypeId | query | TagTypeId of the desired target tagtype | required int |
media type | data type | description |
---|---|---|
application/json | PossiblePartMappingsResponse (JSON) | response object |
GET /migration/getPossiblePartMappings
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"possibleMappings" : {
"property1" : [ {
"name" : "...",
"keyword" : "...",
"hidden" : true,
"editable" : true,
"liveEditable" : true,
"mandatory" : true,
"type" : "UNORDEREDLIST",
"typeId" : 12345,
"id" : 12345,
"globalId" : "...",
"defaultProperty" : {
"type" : "CMSFORM",
"stringValue" : "...",
"booleanValue" : true,
"fileId" : 12345,
"imageId" : 12345,
"folderId" : 12345,
"pageId" : 12345,
"formId" : 12345,
"stringValues" : [ "...", "..." ],
"options" : [ { }, { } ],
"selectedOptions" : [ { }, { } ],
"datasourceId" : 12345,
"overview" : { },
"templateId" : 12345,
"contentTagId" : 12345,
"templateTagId" : 12345,
"nodeId" : 12345,
"partId" : 12345,
"id" : 12345,
"globalId" : "..."
},
"regex" : {
"id" : 12345,
"name" : "...",
"description" : "...",
"expression" : "..."
},
"hideInEditor" : true,
"externalEditorUrl" : "...",
"options" : [ {
"id" : 12345,
"key" : "...",
"value" : "..."
}, {
"id" : 12345,
"key" : "...",
"value" : "..."
} ],
"overviewSettings" : {
"listTypes" : [ "IMAGE", "FOLDER" ],
"selectTypes" : [ "UNDEFINED", "MANUAL" ],
"hideSortOptions" : true,
"stickyChannel" : true
},
"selectSettings" : {
"datasourceId" : 12345,
"template" : "...",
"options" : [ { }, { } ]
},
"markupLanguageId" : 12345,
"htmlClass" : "...",
"partOrder" : 12345,
"policy" : "...",
"nameI18n" : {
"property1" : "...",
"property2" : "..."
}
}, {
"name" : "...",
"keyword" : "...",
"hidden" : true,
"editable" : true,
"liveEditable" : true,
"mandatory" : true,
"type" : "BOOLEAN",
"typeId" : 12345,
"id" : 12345,
"globalId" : "...",
"defaultProperty" : {
"type" : "FOLDER",
"stringValue" : "...",
"booleanValue" : true,
"fileId" : 12345,
"imageId" : 12345,
"folderId" : 12345,
"pageId" : 12345,
"formId" : 12345,
"stringValues" : [ "...", "..." ],
"options" : [ { }, { } ],
"selectedOptions" : [ { }, { } ],
"datasourceId" : 12345,
"overview" : { },
"templateId" : 12345,
"contentTagId" : 12345,
"templateTagId" : 12345,
"nodeId" : 12345,
"partId" : 12345,
"id" : 12345,
"globalId" : "..."
},
"regex" : {
"id" : 12345,
"name" : "...",
"description" : "...",
"expression" : "..."
},
"hideInEditor" : true,
"externalEditorUrl" : "...",
"options" : [ {
"id" : 12345,
"key" : "...",
"value" : "..."
}, {
"id" : 12345,
"key" : "...",
"value" : "..."
} ],
"overviewSettings" : {
"listTypes" : [ "UNDEFINED", "FILE" ],
"selectTypes" : [ "UNDEFINED", "MANUAL" ],
"hideSortOptions" : true,
"stickyChannel" : true
},
"selectSettings" : {
"datasourceId" : 12345,
"template" : "...",
"options" : [ { }, { } ]
},
"markupLanguageId" : 12345,
"htmlClass" : "...",
"partOrder" : 12345,
"policy" : "...",
"nameI18n" : {
"property1" : "...",
"property2" : "..."
}
} ],
"property2" : [ {
"name" : "...",
"keyword" : "...",
"hidden" : true,
"editable" : true,
"liveEditable" : true,
"mandatory" : true,
"type" : "STRING",
"typeId" : 12345,
"id" : 12345,
"globalId" : "...",
"defaultProperty" : {
"type" : "IMAGE",
"stringValue" : "...",
"booleanValue" : true,
"fileId" : 12345,
"imageId" : 12345,
"folderId" : 12345,
"pageId" : 12345,
"formId" : 12345,
"stringValues" : [ "...", "..." ],
"options" : [ { }, { } ],
"selectedOptions" : [ { }, { } ],
"datasourceId" : 12345,
"overview" : { },
"templateId" : 12345,
"contentTagId" : 12345,
"templateTagId" : 12345,
"nodeId" : 12345,
"partId" : 12345,
"id" : 12345,
"globalId" : "..."
},
"regex" : {
"id" : 12345,
"name" : "...",
"description" : "...",
"expression" : "..."
},
"hideInEditor" : true,
"externalEditorUrl" : "...",
"options" : [ {
"id" : 12345,
"key" : "...",
"value" : "..."
}, {
"id" : 12345,
"key" : "...",
"value" : "..."
} ],
"overviewSettings" : {
"listTypes" : [ "FOLDER", "PAGE" ],
"selectTypes" : [ "FOLDER", "MANUAL" ],
"hideSortOptions" : true,
"stickyChannel" : true
},
"selectSettings" : {
"datasourceId" : 12345,
"template" : "...",
"options" : [ { }, { } ]
},
"markupLanguageId" : 12345,
"htmlClass" : "...",
"partOrder" : 12345,
"policy" : "...",
"nameI18n" : {
"property1" : "...",
"property2" : "..."
}
}, {
"name" : "...",
"keyword" : "...",
"hidden" : true,
"editable" : true,
"liveEditable" : true,
"mandatory" : true,
"type" : "UNKNOWN",
"typeId" : 12345,
"id" : 12345,
"globalId" : "...",
"defaultProperty" : {
"type" : "NAVIGATION",
"stringValue" : "...",
"booleanValue" : true,
"fileId" : 12345,
"imageId" : 12345,
"folderId" : 12345,
"pageId" : 12345,
"formId" : 12345,
"stringValues" : [ "...", "..." ],
"options" : [ { }, { } ],
"selectedOptions" : [ { }, { } ],
"datasourceId" : 12345,
"overview" : { },
"templateId" : 12345,
"contentTagId" : 12345,
"templateTagId" : 12345,
"nodeId" : 12345,
"partId" : 12345,
"id" : 12345,
"globalId" : "..."
},
"regex" : {
"id" : 12345,
"name" : "...",
"description" : "...",
"expression" : "..."
},
"hideInEditor" : true,
"externalEditorUrl" : "...",
"options" : [ {
"id" : 12345,
"key" : "...",
"value" : "..."
}, {
"id" : 12345,
"key" : "...",
"value" : "..."
} ],
"overviewSettings" : {
"listTypes" : [ "FILE", "UNDEFINED" ],
"selectTypes" : [ "UNDEFINED", "FOLDER" ],
"hideSortOptions" : true,
"stickyChannel" : true
},
"selectSettings" : {
"datasourceId" : 12345,
"template" : "...",
"options" : [ { }, { } ]
},
"markupLanguageId" : 12345,
"htmlClass" : "...",
"partOrder" : 12345,
"policy" : "...",
"nameI18n" : {
"property1" : "...",
"property2" : "..."
}
} ]
},
"messages" : [ { }, { } ],
"responseInfo" : {
"responseCode" : "OK",
"responseMessage" : "...",
"property" : "..."
}
}
Perform tag migration process
media type | data type | description |
---|---|---|
application/json | TagTypeMigrationRequest (JSON) | migration request object |
media type | data type | description |
---|---|---|
application/json | MigrationResponse (JSON) | response object |
POST /migration/performMigration
Content-Type: application/json
Accept: application/json
{
"preventTriggerEvent" : true,
"handlePagesByTemplate" : true,
"handleAllNodes" : true,
"enabledPreProcessors" : [ {
"className" : "...",
"orderId" : 12345
}, {
"className" : "...",
"orderId" : 12345
} ],
"enabledPostProcessors" : [ {
"className" : "...",
"orderId" : 12345
}, {
"className" : "...",
"orderId" : 12345
} ],
"mappings" : [ {
"fromTagTypeId" : 12345,
"toTagTypeId" : 12345,
"partMappings" : [ {
"fromPartId" : 12345,
"toPartId" : 12345,
"partMappingType" : "..."
}, {
"fromPartId" : 12345,
"toPartId" : 12345,
"partMappingType" : "..."
} ]
}, {
"fromTagTypeId" : 12345,
"toTagTypeId" : 12345,
"partMappings" : [ {
"fromPartId" : 12345,
"toPartId" : 12345,
"partMappingType" : "..."
}, {
"fromPartId" : 12345,
"toPartId" : 12345,
"partMappingType" : "..."
} ]
} ],
"type" : "...",
"objectIds" : [ 12345, 12345 ],
"handleGlobalPages" : true,
"handleGlobalTemplates" : true,
"handleGlobalObjTagDefs" : true,
"restrictedNodeIds" : [ 12345, 12345 ]
}
HTTP/1.1 201 Created
Content-Type: application/json
{
"messages" : [ {
"isInstantMessage" : true,
"fieldName" : "...",
"message" : "...",
"type" : "NEUTRAL",
"timestamp" : 12345,
"image" : "...",
"sender" : {
"id" : 12345,
"firstName" : "...",
"lastName" : "...",
"description" : "...",
"email" : "...",
"groups" : [ { }, { } ],
"login" : "...",
"password" : "..."
},
"id" : 12345
}, {
"isInstantMessage" : true,
"fieldName" : "...",
"message" : "...",
"type" : "NEUTRAL",
"timestamp" : 12345,
"image" : "...",
"sender" : {
"id" : 12345,
"firstName" : "...",
"lastName" : "...",
"description" : "...",
"email" : "...",
"groups" : [ { }, { } ],
"login" : "...",
"password" : "..."
},
"id" : 12345
} ],
"responseInfo" : {
"responseCode" : "OK",
"responseMessage" : "...",
"property" : "..."
},
"jobId" : 12345
}
media type | data type |
---|---|
application/json | TemplateMigrationRequest (JSON) |
media type | data type | description |
---|---|---|
application/json | MigrationResponse (JSON) |
POST /migration/performTemplateMigration
Content-Type: application/json
Accept: application/json
{
"mapping" : {
"nodeId" : 12345,
"editableTagMappings" : [ {
"partMappings" : [ { }, { } ],
"fromTagId" : 12345,
"toTagId" : 12345
}, {
"partMappings" : [ { }, { } ],
"fromTagId" : 12345,
"toTagId" : 12345
} ],
"nonEditableTagMappings" : [ {
"fromTagId" : 12345,
"toTagId" : 12345
}, {
"fromTagId" : 12345,
"toTagId" : 12345
} ],
"fromTemplateId" : 12345,
"toTemplateId" : 12345
},
"enabledPreProcessors" : [ {
"className" : "...",
"orderId" : 12345
}, {
"className" : "...",
"orderId" : 12345
} ],
"enabledPostProcessors" : [ {
"className" : "...",
"orderId" : 12345
}, {
"className" : "...",
"orderId" : 12345
} ],
"options" : {
"property1" : "...",
"property2" : "..."
}
}
HTTP/1.1 201 Created
Content-Type: application/json
{
"messages" : [ {
"isInstantMessage" : true,
"fieldName" : "...",
"message" : "...",
"type" : "SUCCESS",
"timestamp" : 12345,
"image" : "...",
"sender" : {
"id" : 12345,
"firstName" : "...",
"lastName" : "...",
"description" : "...",
"email" : "...",
"groups" : [ { }, { } ],
"login" : "...",
"password" : "..."
},
"id" : 12345
}, {
"isInstantMessage" : true,
"fieldName" : "...",
"message" : "...",
"type" : "SUCCESS",
"timestamp" : 12345,
"image" : "...",
"sender" : {
"id" : 12345,
"firstName" : "...",
"lastName" : "...",
"description" : "...",
"email" : "...",
"groups" : [ { }, { } ],
"login" : "...",
"password" : "..."
},
"id" : 12345
} ],
"responseInfo" : {
"responseCode" : "OK",
"responseMessage" : "...",
"property" : "..."
},
"jobId" : 12345
}
Reinvoke the tag type migration for the given object
media type | data type |
---|---|
application/json | MigrationReinvokeRequest (JSON) |
media type | data type | description |
---|---|---|
application/json | MigrationResponse (JSON) |
POST /migration/reinvokeMigration
Content-Type: application/json
Accept: application/json
{
"type" : "...",
"objectId" : 12345,
"jobId" : 12345
}
HTTP/1.1 201 Created
Content-Type: application/json
{
"messages" : [ {
"isInstantMessage" : true,
"fieldName" : "...",
"message" : "...",
"type" : "SUCCESS",
"timestamp" : 12345,
"image" : "...",
"sender" : {
"id" : 12345,
"firstName" : "...",
"lastName" : "...",
"description" : "...",
"email" : "...",
"groups" : [ { }, { } ],
"login" : "...",
"password" : "..."
},
"id" : 12345
}, {
"isInstantMessage" : true,
"fieldName" : "...",
"message" : "...",
"type" : "SUCCESS",
"timestamp" : 12345,
"image" : "...",
"sender" : {
"id" : 12345,
"firstName" : "...",
"lastName" : "...",
"description" : "...",
"email" : "...",
"groups" : [ { }, { } ],
"login" : "...",
"password" : "..."
},
"id" : 12345
} ],
"responseInfo" : {
"responseCode" : "OK",
"responseMessage" : "...",
"property" : "..."
},
"jobId" : 12345
}
Get the migration job items for the given job
name | type | description | constraints |
---|---|---|---|
jobId | path | The jobId for which the items should be loaded | required int |
media type | data type | description |
---|---|---|
application/json | MigrationJobItemsResponse (JSON) |
GET /migration/getMigrationJobItems/{jobId}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"jobId" : 12345,
"jobItems" : [ {
"jobId" : 12345,
"objectId" : 12345,
"objectType" : 12345,
"status" : 12345
}, {
"jobId" : 12345,
"objectId" : 12345,
"objectType" : 12345,
"status" : 12345
} ],
"messages" : [ { }, { } ],
"responseInfo" : {
"responseCode" : "OK",
"responseMessage" : "...",
"property" : "..."
}
}
Get the log for a given tag type migration job
name | type | description | constraints |
---|---|---|---|
jobId | path | the id of the migration job | required int |
media type | data type | description |
---|---|---|
application/json | MigrationGetLogResponse (JSON) |
GET /migration/getMigrationLog/{jobId}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"logContents" : "...",
"messages" : [ { }, { } ],
"responseInfo" : {
"responseCode" : "OK",
"responseMessage" : "...",
"property" : "..."
}
}
Get a list of parts for a single tag type
name | type | description |
---|---|---|
id | path | id of the tag type to return tags for |
media type | data type | description |
---|---|---|
application/json | MigrationPartsResponse (JSON) | response object containing the parts for the requested tag type |
GET /migration/getPartsForTagType/{id}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"parts" : [ {
"name" : "...",
"keyword" : "...",
"hidden" : true,
"editable" : true,
"liveEditable" : true,
"mandatory" : true,
"type" : "IMAGE",
"typeId" : 12345,
"id" : 12345,
"globalId" : "...",
"defaultProperty" : {
"type" : "MULTISELECT",
"stringValue" : "...",
"booleanValue" : true,
"fileId" : 12345,
"imageId" : 12345,
"folderId" : 12345,
"pageId" : 12345,
"formId" : 12345,
"stringValues" : [ "...", "..." ],
"options" : [ { }, { } ],
"selectedOptions" : [ { }, { } ],
"datasourceId" : 12345,
"overview" : { },
"templateId" : 12345,
"contentTagId" : 12345,
"templateTagId" : 12345,
"nodeId" : 12345,
"partId" : 12345,
"id" : 12345,
"globalId" : "..."
},
"regex" : {
"id" : 12345,
"name" : "...",
"description" : "...",
"expression" : "..."
},
"hideInEditor" : true,
"externalEditorUrl" : "...",
"options" : [ {
"id" : 12345,
"key" : "...",
"value" : "..."
}, {
"id" : 12345,
"key" : "...",
"value" : "..."
} ],
"overviewSettings" : {
"listTypes" : [ "UNDEFINED", "UNDEFINED" ],
"selectTypes" : [ "AUTO", "AUTO" ],
"hideSortOptions" : true,
"stickyChannel" : true
},
"selectSettings" : {
"datasourceId" : 12345,
"template" : "...",
"options" : [ { }, { } ]
},
"markupLanguageId" : 12345,
"htmlClass" : "...",
"partOrder" : 12345,
"policy" : "...",
"nameI18n" : {
"property1" : "...",
"property2" : "..."
}
}, {
"name" : "...",
"keyword" : "...",
"hidden" : true,
"editable" : true,
"liveEditable" : true,
"mandatory" : true,
"type" : "NAVIGATION",
"typeId" : 12345,
"id" : 12345,
"globalId" : "...",
"defaultProperty" : {
"type" : "UNORDEREDLIST",
"stringValue" : "...",
"booleanValue" : true,
"fileId" : 12345,
"imageId" : 12345,
"folderId" : 12345,
"pageId" : 12345,
"formId" : 12345,
"stringValues" : [ "...", "..." ],
"options" : [ { }, { } ],
"selectedOptions" : [ { }, { } ],
"datasourceId" : 12345,
"overview" : { },
"templateId" : 12345,
"contentTagId" : 12345,
"templateTagId" : 12345,
"nodeId" : 12345,
"partId" : 12345,
"id" : 12345,
"globalId" : "..."
},
"regex" : {
"id" : 12345,
"name" : "...",
"description" : "...",
"expression" : "..."
},
"hideInEditor" : true,
"externalEditorUrl" : "...",
"options" : [ {
"id" : 12345,
"key" : "...",
"value" : "..."
}, {
"id" : 12345,
"key" : "...",
"value" : "..."
} ],
"overviewSettings" : {
"listTypes" : [ "FILE", "IMAGE" ],
"selectTypes" : [ "FOLDER", "UNDEFINED" ],
"hideSortOptions" : true,
"stickyChannel" : true
},
"selectSettings" : {
"datasourceId" : 12345,
"template" : "...",
"options" : [ { }, { } ]
},
"markupLanguageId" : 12345,
"htmlClass" : "...",
"partOrder" : 12345,
"policy" : "...",
"nameI18n" : {
"property1" : "...",
"property2" : "..."
}
} ],
"messages" : [ { }, { } ],
"responseInfo" : {
"responseCode" : "OK",
"responseMessage" : "...",
"property" : "..."
}
}