Skip to content

Instantly share code, notes, and snippets.

@kzhangworks
Last active August 29, 2015 14:10
Show Gist options
  • Save kzhangworks/7712c47684c895afc19e to your computer and use it in GitHub Desktop.
Save kzhangworks/7712c47684c895afc19e to your computer and use it in GitHub Desktop.
POST /v1/admins/apps to create app
curl -b cookies.txt -c cookies.txt -X POST -F "name=local" -F "description=local dev" -F "pretty_json=true" "http://api-local.cloud.appcelerator.com/v1/admins/apps"
{
"meta": {
"code": 200,
"status": "ok",
"method_name": "createApp"
},
"response": {
"apps": [
{
"id": "5475441edda0950356000004",
"name": "local",
"status": 0,
"created_at": "2014-11-26T03:08:14+0000",
"updated_at": "2014-11-26T03:08:14+0000",
"key": "xAP777Rw7uOSlOyRwW7F1BgqBJCsP9S9",
"oauth_key": "sMMOCW18LN609lmogF9MuAmXTrX9Sslk",
"oauth_secret": "49Lq6vROdJ0qpvYZswt7WOs8CzzBjYHo",
"group_id": "TCyysLL0VCTYbGthR5Gkodje5ZgXfm1v",
"type": 1
},
{
"id": "5475441edda0950356000005",
"name": "local",
"status": 0,
"created_at": "2014-11-26T03:08:14+0000",
"updated_at": "2014-11-26T03:08:14+0000",
"key": "pqS9CyR6UaYW4uyEsZA4mybBJYaaorkf",
"oauth_key": "izaBpX8EXlqnR6x7UQV1hEYHD1iOOfnF",
"oauth_secret": "aqRHYQWdB4dXXr5NS0BvbBPh35NzVTeI",
"group_id": "TCyysLL0VCTYbGthR5Gkodje5ZgXfm1v",
"type": 2
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment