Refresh Stock Cache

Refresh Stock Cache. This endpoint is used to refresh the stock cache. It will refresh the stock cache from the PostgreSQL. It will also add the stock to the Redis Sorted Sets.

POST
/stock/refresh
/stock/refresh

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

In: header

curl -X POST "https://api.t4b.top/stock/refresh" \
  -H "Authorization: Bearer <token>"

Ok

{
  "data": {
    "message": [
      "string"
    ]
  },
  "statusCode": 200
}