vaimee / zion

A scalable Thing Description Directory
Apache License 2.0
17 stars 4 forks source link

POST /things should not allow a TD with id #12

Closed hyperloris closed 2 years ago

hyperloris commented 2 years ago

Currently, we allow the creation of a TD with an id inside, but the POST /things endpoint should only accept Anonymous TD.

I believe the correct behavior is to reject the request by returning a 400 Bad Request.