User

The Wurl API representation of the Wurl user issuing the API request. Wurl maintains 'accounts' for registered users so that developers can use personalized services such as Wurl’s “Watchlist”. Individual user accounts are accessible from any device or application.

Request URL

https://api.wurl.com/api/users/me?format=json&access_token=TOKEN

Properties in the API Response

Name Type Description
id number Unique, Wurl-assigned numeric identifier of the user.
title string Contains the string: “[first name} [last name}’s Information.
name string First name and last name of the requesting user.
first string First name of the requesting user.
last string Last name of the requesting user.
email string Email address of the requesting user.
pictureUrl string The URI with the user's picture.
createdAt string Date and time that the user account was created in the form: yyyy-mm-ddThh:mm:ssZ
updatedAt string Date and time that the user account was created in the form: yyyy-mm-ddThh:mm:ssZ

Entities in the API Response

Name Class Description
Follows Link link,follow,collection Navigational link to the API representation of User follows.

Links in the API Response

Name Description
self The canonical or preferred url to a resource.
up The url to the parent of this resource.
schema The url to a resource's json-schema.

Sample API Response

{
  "rel": [
    "properties:http://api.wurl.com/schemas/user.json"
  ],
  "class": [
    "user"
  ],
  "properties": {
    "title": "Joe Developer's Information",
    "id": 426,
    "name": null,
    "first": "Joe",
    "last": "Developer",
    "email": "joe@gmail.com",
    "createdAt": "2013-04-25T17:49:42Z",
    "updatedAt": "2013-04-25T17:49:42Z"
  },
  "entities": [
    {
      "rel": [
        "urn:x-resource:name:activities"
      ],
      "href": "https://api.wurl.com/api/users/426/activities",
      "class": [
        "link",
        "activity",
        "collection"
      ]
    },
    {
      "rel": [
        "urn:x-resource:name:follows"
      ],
      "href": "https://api.wurl.com/api/users/426/follows",
      "class": [
        "link",
        "follow",
        "collection"
      ]
    }
  ],
  "links": [
    {
      "rel": [
        "self"
      ],
      "href": "https://api.wurl.com/api/users/426"
    },
    {
      "rel": [
        "up"
      ],
      "href": "https://api.wurl.com/api"
    }
  ]
}

User

The Wurl API representation of the Wurl user issuing the API request. Wurl maintains 'accounts' for registered users so that developers can use personalized services such as Wurl’s “Watchlist”. Individual user accounts are accessible from any device or application.

Request URL

https://api.wurl.com/api/users/me?format=json&access_token=TOKEN

Properties in the API Response

Name Type Description
id number Unique, Wurl-assigned numeric identifier of the user.
title string Contains the string: “[first name} [last name}’s Information.
name string First name and last name of the requesting user.
first string First name of the requesting user.
last string Last name of the requesting user.
email string Email address of the requesting user.
pictureUrl string The URI with the user's picture.
createdAt string Date and time that the user account was created in the form: yyyy-mm-ddThh:mm:ssZ
updatedAt string Date and time that the user account was created in the form: yyyy-mm-ddThh:mm:ssZ

Entities in the API Response

Name Class Description
Follows Link link,follow,collection Navigational link to the API representation of User follows.

Links in the API Response

Name Description
self The canonical or preferred url to a resource.
up The url to the parent of this resource.
schema The url to a resource's json-schema.

Sample API Response

{
  "rel": [
    "properties:http://api.wurl.com/schemas/user.json"
  ],
  "class": [
    "user"
  ],
  "properties": {
    "title": "Joe Developer's Information",
    "id": 426,
    "name": null,
    "first": "Joe",
    "last": "Developer",
    "email": "joe@gmail.com",
    "createdAt": "2013-04-25T17:49:42Z",
    "updatedAt": "2013-04-25T17:49:42Z"
  },
  "entities": [
    {
      "rel": [
        "urn:x-resource:name:activities"
      ],
      "href": "https://api.wurl.com/api/users/426/activities",
      "class": [
        "link",
        "activity",
        "collection"
      ]
    },
    {
      "rel": [
        "urn:x-resource:name:follows"
      ],
      "href": "https://api.wurl.com/api/users/426/follows",
      "class": [
        "link",
        "follow",
        "collection"
      ]
    }
  ],
  "links": [
    {
      "rel": [
        "self"
      ],
      "href": "https://api.wurl.com/api/users/426"
    },
    {
      "rel": [
        "up"
      ],
      "href": "https://api.wurl.com/api"
    }
  ]
}