Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • Node Challenge Node Challenge
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Infrastructure Registry
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Jobsity
  • Node ChallengeNode Challenge
  • Issues
  • #5

Closed
Open
Created Jun 09, 2024 by Nelson Lopes@nelson.npl

create /api-service/stock/stats

A super user (and only super users) can hit the stats endpoint, which will return the top 5 most requested stocks:

(This endpoint will validate the user's role)

GET /stats

[
    {"stock": "aapl.us", "times_requested": 5},
    {"stock": "msft.us", "times_requested": 2},
    ...
]
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking