Zend certified PHP/Magento developer

how to add swatch attribute options through api

How can I add swatch attributes options thorugh rest api?

I want api which allows to add attribute options for all attributes which are text swatch,visual swatch.