我在下面的控制器中执行附加和分离操作,例如将关系从 OU 分离到 ModuleDevice。
这些操作在 REST API 中意味着什么 http 动词?
ModuleDevicesToOUController
Api/ModuleDevicesToOU/1/OU/1 // Attach for ModuleDevice with Id 1 the OU with Id 1
PUT/Delete/Patch ??? Attach…
Api/ModuleDevicesToOU/1/OU/1// Detach for ModuleDevice with Id 1 the OU with Id 1
PUT/Delete/Patch ??? Detach…