API Deployment - How to use?

Good Afternoon!

I'm trying to deploy downloaded package in Appian environment using internal API of Appian. https://docs.appian.com/suite/help/22.3/Deploy_Package_API.html

1) Could you please advise how to use it more correctly. For example I need to describe name of the package - how I can set path for local downloaded package with the next deployment?

2) Can I use API body without sending DB scripts?

Could you please provide examples for understanding?

Thank you!

Best Regards,

Aleksandr

  Discussion posts and replies are publicly visible

Parents Reply
  • Not sure that I understand syntax of body.

    I need to deploy downloaded ZIP file in my local file system from source environment to target environment using API

    Am I right if I use this modified body request?

    curl --location --request
    POST 'mysite.appiancloud.com/.../deployments' \
    --header 'Appian-API-Key: <my API key>' \
    --form 'json="{
          \"name\": \"My Test Release v1.0\",
          \"description\": \"Test application for deploying in target env\", 
          \"packageFileName\": \"<HERE NEED PASTE LOCAL ABSOLUTE PATH TO MY DOWNLOADED ZIP>\"
       }"' \
    --form 'randomKey1=@"Fraud Investigation Management Release 1.0.zip"' \ <-- What does this string do?
Children