Adding branch-restrictions to a project using the REST API

Problem

For an internal tool, we need to automatically create branch-restrictions on several projects. However, there does not seem to be an endpoint in the REST API that allows us to add them on project-level, only on repository level.

Request

Is there an endpoint that allows us to add branch-restrictions on project-level? If not, are there plans to expand the REST API in this direction?