Add repository mirror API

Hello,

I’m working with API to create repositories on gitea and link to gitlab.

Source and ongoing repository: gitea
Push repository: gitlab (for cicd purposes)

Now using API/rest have automated the repository creation on gitea and gitlab, the integration with Jenkins on gitlab to, my problem now is how to using the gitea API configure the push mirror on gitea repository.

I was checking in the API and see this option:

http://gitea…server.com/api/swagger#/repository/repoEdit

I see that can pass as argument the mirror_interval but not the mirror url.

Can somebody tell me if is possible apply these configuration by this way?

I’m using gitea version: v1.15.11

Thank you, best regards.