Add a metadata selection to a metadata group
POST/metadata-groups/:id/metadata/selection
Adds every metadata an explicit id list or a metadata filter resolves to, minus excludeIds. The filter is resolved server-side, narrowed to the group's metadata type, and stored as a static list. Existing members are kept; re-adding a member is a no-op. Ids that are not active metadata are ignored, and a filter whose typeCode differs from the group's type resolves to nothing. A filter matching more than 10000 metadata is rejected with a 400.
Request
Responses
- 200
- 400
- 401
- 403
- 404
Membership counts after the change
Invalid selection, or ids of the wrong metadata type
Unauthorized
Forbidden
Metadata group not found