Changing the appearance of the login page NOT via web console

Hello all,

I am trying to find a way to change the appearance of the login page but I need to do this in an automated fashion.
The Gitlab documentation only explains how to do it via the Web Console.
https://docs.gitlab.com/ee/customization/branded_login_page.html

I spent some time looking thru the Gitlab API documentation and was unable to find any reference to an API call that I could use to make the necessary changes.

I was able to find the location of where gitlab ce (9.05) stores the header and logo images when you make a change via the web console. However I am not sure where I can make this change in the config files.

Header logo location:
/var/opt/gitlab/gitlab-rails/uploads/appearance/header_logo/1/<image.bleh>

Logo location
/var/opt/gitlab/gitlab-rails/uploads/appearance/logo/1/<image.bleh>

Thanks in advance