absmach / magistrala

Industrial IoT Messaging and Device Management Platform
https://www.abstractmachines.fr/magistrala.html
Apache License 2.0
2.47k stars 671 forks source link

MG-2053 : Structure API Endpoints Based on Entities #2195

Closed WashingtonKK closed 2 months ago

WashingtonKK commented 5 months ago

What type of PR is this?

This is a refactor because it changes the naming and structuring of API endpoints.

What does this do?

This restructures API endpoints so that they are named based on entities such as groups, channels, users, things etc.

Which issue(s) does this PR fix/relate to?

Have you included tests for your changes?

No, I have not included tests.

Did you document any new/modified feature?

Yes, I have updated the documentation for the new feature.

Notes

WashingtonKK commented 4 months ago

Consider updating the sdk.go with updated documentation for the new sdk functions. Also you can regenerate the mocks after making changes to the interface.

It is already up to date @1998-felix

dborovcanin commented 2 months ago

Merging this PR to the api-refactor branch so @arvindh123 can continue work from there.