GSG-G10/bastta

Get Public Products

Closed this issue · 0 comments

GET/products/public

  • Description :

    • This route return all the public products .
  • Protected : Yes

  • Required middlewares: isAdmin

  • Response :

    • Maybe success or error:
  • Error :

  {
    status : 400,
    message : 'Bad Request' || 'Not Authorized'
  }
  • Success :
  {
     ...data
  }