Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
47 lines (39 sloc) 1.15 KB

View Account Details

Get the basic details of the authenticated account. This is the same response as returned by most account endpoints.

Request

Response

  • Status: 200 OK

  • Body:

    {
      "id":                      1,
      "email":                   "arthur@dent.com",
      "domain":                  null,
      "domain_home_page":        null,
      "private_items":           true,
      "subscribed":              true,
      "subscription_expires_at": "2012-05-21",
      "alpha":                   false,
      "created_at":              "2011-04-21T23:07:52Z",
      "updated_at":              "2011-04-21T23:07:52Z",
      "activated_at":            "2011-04-21T23:07:52Z",
      "socket": {
        "auth_url": "http://my.cl.ly/pusher/auth",
        "api_key":  "36b8e92a50487f79cbb3",
        "app_id":   "4072",
        "channels": {
          "items": "private-items_1"
        }
      }
    }

Example

curl --digest -u arthur@dent.com:towel \
     -H "Accept: application/json" \
     "http://my.cl.ly/account"