module Resources
  class TSS
    include Praxis::ResourceDefinition
    
    description 'Manipulate the TSS proxy'
    media_type 'text/plain'
    
    routing do
      prefix '/rll/tss'
    end

    action :get_hostname do
      description 'Set the TSS hostname to proxy'
      routing { get '/hostname' }
      response :ok
    end

    action :put_hostname do
      description 'Set the TSS hostname to proxy'
      routing { put '/hostname' }
      params do
        attribute :hostname, String, required: true
      end
      response :ok
    end
  end
end

Add RightLink 10 TSS actions.
Add RightLink 10 TSS actions.