15720: Batch user update API.
[arvados.git] / lib / controller / router / router.go
index 250f3cb45bce88137050fe73ca3fff52e17e40f7..47082197a01316f4db874b0989c836e7d4a0850f 100644 (file)
@@ -282,6 +282,13 @@ func (rtr *router) addRoutes() {
                                return rtr.fed.UserList(ctx, *opts.(*arvados.ListOptions))
                        },
                },
+               {
+                       arvados.EndpointUserBatchUpdate,
+                       func() interface{} { return &arvados.UserBatchUpdateOptions{} },
+                       func(ctx context.Context, opts interface{}) (interface{}, error) {
+                               return rtr.fed.UserBatchUpdate(ctx, *opts.(*arvados.UserBatchUpdateOptions))
+                       },
+               },
                {
                        arvados.EndpointUserDelete,
                        func() interface{} { return &arvados.DeleteOptions{} },