To check if artifact exists in MFT Repository
get
/mftapp/rest/v1/artifacts/repository
Request
Query Parameters
- artifactName
-
Type:
string
Required:true
Name of the artifact to be verified- artifactType
Type:string
Required:true
Type of the artifact to be verified, only support TRANSFER artifactType
Response
Supported Media Types
- application/json
200 Response
Body
Root Schema : /paths/~1artifacts~1repository/get/responses/200/schema
Type:
object
- artifactExists
-
Type:
boolean
500 Response
Body
Root Schema : /paths/~1artifacts~1repository/get/responses/500/schema
Type:
object
- errorCode
-
Type:
string
- errorKey
-
Type:
string
- errorMessage
-
Type:
string
Example application/json
{
"errorCode":"MFT-7415",
"errorKey":"MFT_UNSUPPORTED_ARTIFACT_TYPE",
"errorMessage":"Unsupported artifact type found. Artifact type: {SOURCE}."
}