0

I have two resources: Device and Model, and Model is under Device

This is my current URL design:

Device

api.example.com/devices/{id}

Model

Which one is correct?

api.example.com/device/models/{id}

api.example.com/devices/models/{id}

TimorChow
  • 11
  • 1

0 Answers0