Skip to content
This repository has been archived by the owner on May 8, 2024. It is now read-only.

Latest commit

 

History

History
47 lines (39 loc) · 1.15 KB

view-account-details.md

File metadata and controls

47 lines (39 loc) · 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":                   "[email protected]",
      "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 [email protected]:towel \
     -H "Accept: application/json" \
     "http://my.cl.ly/account"