API communication class
Static
Readonly
Singleton instance.
Optional
Token used for authentication on the server side. Allows access to deleted revisions if the user has proper rights.
Returns a fully-formed HTTP URL from a given endpoint. This uses the wiki's set Dispatch endpoint and a given target (such as /v1/revisions) to get the full URL.
/v1/revisions
The endpoint to get
Logs in the user. Optional: only used for getting data on deleted revisions.
Logs the user out of the API.
API communication class