Export MFT artifacts in zip format and configPlan file in XML format

get

/mftapp/rest/v1/artifacts

Export MFT artifact in zip format and configPlan file in XML format.

Request

Query Parameters
Back to Top

Response

Supported Media Types

200 Response

Export artifact was completed.
Headers

500 Response

Body ()
Root Schema : Error information.
Type: object
Title: Error information.
Show Source
Example Response (application/json)
{
    "errorCode":"MFT-7415",
    "errorKey":"MFT_UNSUPPORTED_ARTIFACT_TYPE",
    "errorMessage":"Unsupported artifact type found. Artifact type: {TYPE}."
}
Back to Top

Examples

Example of Response Body

The following example shows how to export MFT artifacts in zip format and configPlan file in XML format by submitting a GET request on the REST resource using cURL.
curl -i -X GET -u <username>:<password> -H "Content-Type: multipart/form-data" http://host:port/mftapp/rest/v1/artifacts?sourceName=test2

The following example shows the contents of the response body in xml format:

<mft-artifacts version="12.2.x.x">  
	<source> 
		<file name="test2">
			<generalProperties contentFolder="/.../user_projects/domains/base_domain/mft/storage/t3" minimumAge="0" includeContentInSubfolder="true"/> 
			<advancedProperties triggerFileStrategy="Once only" triggerFileName="1.txt" maxRaiseSize="2000" singleThreaded="true" threadCount="1">
				 <content includeExcludePatternType="Wildcard" includeFiles="*.txt"/> 
			</advancedProperties> 
			<processingActions>
				<Compress order="1" level="Default Compression"> 
 				</Compress>  
			</processingActions> 
			<SourceSchedule> 
				<Polling enable="false" pollingInterval="60">  
				</Polling>
				<Event enable="true" enableSecurity="true"> 
					<security> 
 						<group name="AdminChannelUsers"/>
						<role name="MFTAdmin"/> 
					</security>  
				</Event>  
			</SourceSchedule> 
		</file>
 	</source>
</mft-artifacts>
Back to Top