wat
Oct 13 2019

API Help
7  995 {{tagitem.name}}
Hello,



Does the API work? I'm a bit confused as to how to use it exactly. I created an app, and have:


App ID, App Name, Created, Access Token

(eg. 1234, MyApp, 10-13-2019, ABCDEFGHIJKLMNOPQRSTUVWXYZ )


When I go to "Authorize" in the "Try" area I get this:


Scopes are used to grant an application different levels of access to data on behalf of the end user. Each API may declare one or more scopes.


API requires the following scopes. Select which ones you want to grant to xShellz UI.


OAuth2.0

OAuth2 Implicit Grant

Authorization URL: https://www.xshellz.com/oauth/authorize

Flow: implicit

client_id:


-----


I'm not really sure what to put for client_id ? I'm mostly interested in:

/api/xinfo/keep/{username}

( Keep shell )

Although totally confused how to actually make it work, thanks.
Hello, we're not providing keep function via API, as it can be abused, and we want to ensure that we have real users using our service and not bots.
Staff StephenS    Oct 15 2019
Hello,

That is understandable, although what if a user goes on vacation for a couple of weeks and can't login and wants to keep their ZNC running?

Regarding the API, does it even work? I couldn't seem to do anything with it as my previous question stated (eg. "client_id" field is a mystery).
wat    Oct 20 2019
Hello,
API is currently disabled for public use. We're using it privately for now.
Staff StephenS    Oct 20 2019
Oh, that's unfortunate.

I would suggest taking down the links to the API (and not showing it on the site) since users are unable to utilize it. Otherwise it facilitates confusion and causes users to waste time on something that's not even available to us.
wat    Oct 28 2019
I agree, if it still continues like this, I suggest publicly removing it
evandrodias    Mar 01 2024
It shouldn't be removed because ircd config generators are public and in-use by other clients.
Staff StephenS    Mar 01 2024
it should, however, be indicated that it is not public/active, by a text statement, or by using a domain like example.com
janhaku    Mar 14 2024

Please Login or Sign Up to leave a reply.