Skip to content

Instantly share code, notes, and snippets.

@kzhangworks
Created November 26, 2014 07:03
Show Gist options
  • Save kzhangworks/24eeebaabf642ce5dbff to your computer and use it in GitHub Desktop.
Save kzhangworks/24eeebaabf642ce5dbff to your computer and use it in GitHub Desktop.
PUT /v1/admins/apps to update app
curl -b cookies.txt -c cookies.txt -X PUT -F "description=test-3" "http://api-local.cloud.appcelerator.com/v1/admins/apps?key=xAP777Rw7uOSlOyRwW7F1BgqBJCsP9S9&pretty_json=true"
{
"meta": {
"code": 200,
"status": "ok",
"method_name": "updateApp"
},
"response": {
"apps": [
{
"id": "5475441edda0950356000004",
"name": "local",
"description": "test-2",
"friend_request_type": true,
"new_user_verification": false,
"allow_user_creation": true,
"secure_identity_server": false,
"status": 0,
"created_at": "2014-11-26T03:08:14+0000",
"updated_at": "2014-11-26T03:17:39+0000",
"key": "xAP777Rw7uOSlOyRwW7F1BgqBJCsP9S9",
"oauth_key": "sMMOCW18LN609lmogF9MuAmXTrX9Sslk",
"oauth_secret": "49Lq6vROdJ0qpvYZswt7WOs8CzzBjYHo",
"group_id": "TCyysLL0VCTYbGthR5Gkodje5ZgXfm1v",
"type": 1
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment