You can deploy metadata from a project to other Salesforce.com orgs using the operations below.
deploy
Deploy metadata to a Salesforce.com server
Request
{
"project_name" : "myproject",
"check_only" : True,
"rollback_on_error" : True,
"destinations" : [
{
"username" : "[email protected]",
"id" : "SJKNL85Y497BZZXJEANLPS5B9SX61U4L",
"org_type" : "developer"
}
],
"package" : {
"ApexClass" : "*"
},
"rollback_on_error" : True,
"run_tests" : True
}
list_connections
Lists deployment connections for this project
Request
{
"project_name" : "myproject"
}
Response
[
{
"username" : "[email protected]",
"environment" : "developer",
"id" : "SJKNL85Y497BZZXJEANLPS5B9SX61U4L"
}
]
new_connection
Creates new deployment connection
Request
{
"project_name" : "myproject",
"username" : "[email protected]",
"password" : "foo123",
"org_type" : "developer"
}
Response
{
"body" : "Org Connection Successfully Created",
"body_type" : "text",
"success" : true,
"time" : "3.7429049015045166"
}
delete_connection
Deletes a deployment connection
Request
{
"project_name" : "myproject",
"id" : "connection_id"
}
Response
{
"body" : "Org Connection Deleted",
"body_type" : "text",
"success" : true,
"time" : "2.53444654765"
}