v1

latestOpenAPI 3.0.12026-07-26171200932.8 KB
Watchlists

Set watchlist as default

Rate limit: 20 requests per 60 seconds. This is a shared quota — the same budget is consumed by a group of related endpoints, so calling any of them reduces what is left for the others (you cannot call each at the full rate independently). Endpoints sharing this quota:

  • DELETE /api/v1/watchlists/{watchlistId}
  • DELETE /api/v1/watchlists/{watchlistId}/items
  • POST /api/v1/watchlists
  • POST /api/v1/watchlists/default-watchlist/selected-items
  • POST /api/v1/watchlists/newasdefault-watchlist
  • POST /api/v1/watchlists/{watchlistId}/items
  • PUT /api/v1/watchlists/rank/{watchlistId}
  • PUT /api/v1/watchlists/{watchlistId}
  • PUT /api/v1/watchlists/{watchlistId}/items

Sets the specified watchlist as the user's default watchlist.

put/api/v1/watchlists/setUserSelectedUserDefault/{watchlistId}

Path parameters

watchlistIdstring required

Unique identifier of the watchlist to set as default

Headers

x-request-idstring uuid required
Example:8083207e-a7c1-4e75-91f5-7bbab97cf122

A unique request identifier.

x-api-keystring password required
Example:lhgfaslk21490FAScVPkdsb53F9dNkfHG4faZSG5vfjndfcfgdssdgsdHF4663

API key for authentication.

x-user-keystring password required
Example:eyJlYW4iOiJVbnJlZ2lzdGVyZWRBcHBsaWNhdGlvbiIsImVrIjoiOE5sZ2cwcW5EUVdROUFNWGpXT2lmOWktZnpidG5KcUlqWGJ3WHJZZkpZcldrbG90ZEhvLVBjSWhQaU8xU1ZtMW84aU1WZGZqN2xWNzFjLXFxLmcybXE1dnh4Q1hUT25xaWRUaTFlcEhmVk1fIn0_

User-specific authentication key.

Response

Default watchlist set successfully