SpyREST

Supported by Mashape

Home » app.liquidplanner.com Versions » Default Resources » Account » GET /api/account

GET /api/account

Description

Response Fields

Name Type Description
avatar_url String
company String
created_at String (Time ISO8601)
created_by Integer
workspaces Array
workspaces[].company_name String
workspaces[].created_at String (Time ISO8601)
workspaces[].created_by Integer
workspaces[].default_units Integer
workspaces[].description String
workspaces[].week_start Integer
workspaces[].hours_per_day Integer
workspaces[].name String
workspaces[].owner_id Integer
workspaces[].root_id Integer
workspaces[].inbox_id Integer
workspaces[].updated_at String (Time ISO8601)
workspaces[].updated_by Integer
workspaces[].type String
workspaces[].id Integer
last_workspace_id Integer
disabled_workspaces_count Integer
email String
first_name String
last_name String
timezone String
updated_at String (Time ISO8601)
updated_by Integer
user_name String
type String
id Integer
Write
Preview

Examples

shows the account informati...

shows the account information for the API user

Recorded at

2015-05-14 18:20:34 UTC

Try with cURL

Request URL

Requires Authorization
GET /api/account      

Request Headers

authorization: FILTERED
content-type: application/json
user-agent: curl/7.37.1
      

Response Headers

transfer-encoding: chunked
connection: close
content-length: 717
x-xss-protection: 1; mode=block
x-request-id: aadd7571-68ae-44c7-900f-8ea4faf23838
x-lp-user: 552590
x-lp-controller: Api::Login
x-lp-action: show
x-frame-options: SAMEORIGIN, SAMEORIGIN
x-forwarded-proto: https
x-content-type-options: nosniff
x-api-version: 3.0.0
vary: X-API-Version
strict-transport-security: max-age=15768000
status: 200 OK
server: ECD (pae/37C4)
etag: W/"9111c22e80e1c107142d8fe298f13393"
date: Thu, 14 May 2015 18:20:34 GMT
content-type: application/json; charset=utf-8
cache-control: max-age=0, private, must-revalidate
      

Response Body

Shortened for readability

{
  "avatar_url": "/images/avatars/none.png",
  "company": "Personal",
  "created_at": "2015-05-11T14:28:09+00:00",
  "created_by": 0,
  "workspaces": [
    {
      "company_name": "Personal",
      "created_at": "2015-05-11T14:33:18+00:00",
      "created_by": 552590,
      "default_units": 1,
      "description": "",
      "week_start": 0,
      "hours_per_day": 8,
      "name": "Personal",
      "owner_id": 552590,
      "root_id": 22473745,
      "inbox_id": 22473746,
      "updated_at": "2015-05-14T18:15:52+00:00",
      "updated_by": 552590,
      "type": "Workspace",
      "id": 143500
    }
  ],
  "last_workspace_id": 143500,
  "disabled_workspaces_count": 0,
  "email": "sohan39@gmail.com",
  "first_name": "SM",
  "last_name": "Sohan",
  "timezone": "US/Mountain",
  "updated_at": "2015-05-14T18:14:07+00:00",
  "updated_by": 552590,
  "user_name": "SM",
  "type": "Member",
  "id": 552590
}