Create or update repository with API, disable Strict Content Type Validation

My solution is to create repo and then update it with API scripts