Configuration - Key Based
MKNet allows developers to set up remotely managed configuration settings. This can be used to control user's game experience without updating the client.
There are two ways the configuration can be set up - based on application version or a keyword.
Here is an example of key-based configuration.
To get the configuration from the game client, simple make a call to GET/Configuration
with configKey
as a query
parameter.
If configKey
is present on the request, app version in the request header will be ignored and the config with the
requested key
will be
returned.
If no configuration for the provided key is available, 404 response will be sent.
Sample Code #
var mknetResponse = await MKNetAPI.ConfigurationController.GetAsync("FaqPageUrl");
Related API Endpoints #
Loading API spec...