Examples

GET /api/v2/watchlists/128
200
{
  "data": {
    "id": "128",
    "type": "watchlists",
    "links": {
      "self": "http://test.host/api/v2/watchlists/128"
    },
    "attributes": {
      "name": "My Portfolio"
    },
    "relationships": {
      "account": {
        "links": {
          "self": "http://test.host/api/v2/watchlists/128/relationships/account",
          "related": "http://test.host/api/v2/watchlists/128/account"
        }
      },
      "entities": {
        "links": {
          "self": "http://test.host/api/v2/watchlists/128/relationships/entities",
          "related": "http://test.host/api/v2/watchlists/128/entities"
        }
      }
    }
  }
}

Params

Param name Description
id
required

watchlist ID

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hyphen(-) with no leading or trailing space.