Jump to content

Accessing IApiClient


Recommended Posts

Posted

So, I'd like to access the IApiClient interface from my ServerEntryPoint Class. However I am beginning to realize that that interface is used primarily in plugins n the JQuery config page... I think.

 

The server doesn't like when I add IApiClient interface to that class. It throws a really big error in the logs...

 

I suppose I could work around it in my latest plugin, to get the user info I want...

 

Are there any suggestions besides loading the HTML page to access the "ApiClient.getUsers" and then saving the info back to the Configuration XML to access the info???

 

Or... am I wrong here....??

 

 

 

Posted

If this is for a notification plugin then just look at the other notification plugins for examples. they have all you need. also, i had to pull vera again, so please feel free to fix and resubmit.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...