Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Before creating an admin user, log in to the Dashboard and select your application.

  1. Log into the AMPLIFY Platform.
  2. Select Dashboard on the Dashboard tile.
  3. Select an application from the Projects tab.

...

Code Block
languagejs
collapsetrue
curl -b cookies.txt -c cookies.txt -F "su_id=520289441e1ef70b1a0236d2" -F "message=Hola, Mundo\!" 
"api.cloud.appcelerator.com/v1/statuses/create.json?key=APP_API_KEY"
{
  "meta": {
    "code": 200,
    "status": "ok",
    "method_name": "createStatus"
  },
  "response": {
    "statuses": [
      {
        "id": "5202c1ed87173a0afc024524",
        "message": "Hola, Mundo\\!",
        "created_at": "2013-08-07T21:53:49+0000",
        "updated_at": "2013-08-07T21:53:49+0000",
        "user": {
          "id": "520289441e1ef70b1a0236d2",
          "created_at": "2013-08-07T17:52:04+0000",
          "updated_at": "2013-08-07T17:52:04+0000",
          "external_accounts": [

          ],
          "confirmed_at": "2013-08-07T17:52:04+0000",
          "username": "not_an_admin",
          "admin": "false"
        }
      }
    ]
  }
}

To verify that the other specified user created this status and not the admin user, run the following curl command and compare the user IDs:

...

Certain MBS objects can have dependencies on other objects. For example, when you create a Checkins object object you can specify a Places or Events object to associate with it. In this case, the Checkins object is a dependency of the Places or Events object. If you delete the Places or Events object, the dependent Checkins object is not deleted.

...