Skip to content

Latest commit

 

History

History
632 lines (469 loc) · 17.9 KB

File metadata and controls

632 lines (469 loc) · 17.9 KB

Flipdish.Api.WhiteLabelConfigApi

All URIs are relative to https://api.flipdish.co

Method HTTP request Description
GetAppGeneralConfig GET /api/v1.0/whitelabelconfig/{appId}/general
GetAppStoreConfig GET /api/v1.0/whitelabelconfig/{appId}/appstore
GetPlayStoreConfig GET /api/v1.0/whitelabelconfig/{appId}/playstore
GetWhiteLabelConfig GET /api/v1.0/whitelabelconfig/id/{wlid}
GetWhiteLabelConfigByAppNameId GET /api/v1.0/whitelabelconfig/name/{appId}
HealthCheck GET /api/v1.0/whitelabelconfig/health
UpdateAppGeneralConfig POST /api/v1.0/whitelabelconfig/{appId}/general
UpdateAppStoreConfig POST /api/v1.0/whitelabelconfig/{appId}/appstore
UpdatePlayStoreConfig POST /api/v1.0/whitelabelconfig/{appId}/playstore
UploadAppStoreIcon POST /api/v1.0/whitelabelconfig/{appId}/app-store-icon

GetAppGeneralConfig

RestApiResultAppGeneralConfigModel GetAppGeneralConfig (string appId)

Example

using System;
using System.Diagnostics;
using Flipdish.Api;
using Flipdish.Client;
using Flipdish.Model;

namespace Example
{
    public class GetAppGeneralConfigExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: oauth2
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            var apiInstance = new WhiteLabelConfigApi();
            var appId = appId_example;  // string | 

            try
            {
                RestApiResultAppGeneralConfigModel result = apiInstance.GetAppGeneralConfig(appId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling WhiteLabelConfigApi.GetAppGeneralConfig: " + e.Message );
            }
        }
    }
}

Parameters

Name Type Description Notes
appId string

Return type

RestApiResultAppGeneralConfigModel

Authorization

oauth2

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, text/json, application/xml, text/xml

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetAppStoreConfig

RestApiResultAppStoreConfigModel GetAppStoreConfig (string appId)

Example

using System;
using System.Diagnostics;
using Flipdish.Api;
using Flipdish.Client;
using Flipdish.Model;

namespace Example
{
    public class GetAppStoreConfigExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: oauth2
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            var apiInstance = new WhiteLabelConfigApi();
            var appId = appId_example;  // string | 

            try
            {
                RestApiResultAppStoreConfigModel result = apiInstance.GetAppStoreConfig(appId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling WhiteLabelConfigApi.GetAppStoreConfig: " + e.Message );
            }
        }
    }
}

Parameters

Name Type Description Notes
appId string

Return type

RestApiResultAppStoreConfigModel

Authorization

oauth2

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, text/json, application/xml, text/xml

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetPlayStoreConfig

RestApiResultPlayStoreConfigModel GetPlayStoreConfig (string appId)

Example

using System;
using System.Diagnostics;
using Flipdish.Api;
using Flipdish.Client;
using Flipdish.Model;

namespace Example
{
    public class GetPlayStoreConfigExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: oauth2
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            var apiInstance = new WhiteLabelConfigApi();
            var appId = appId_example;  // string | 

            try
            {
                RestApiResultPlayStoreConfigModel result = apiInstance.GetPlayStoreConfig(appId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling WhiteLabelConfigApi.GetPlayStoreConfig: " + e.Message );
            }
        }
    }
}

Parameters

Name Type Description Notes
appId string

Return type

RestApiResultPlayStoreConfigModel

Authorization

oauth2

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, text/json, application/xml, text/xml

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetWhiteLabelConfig

RestApiResultWhiteLabelConfigModel GetWhiteLabelConfig (int? wlid)

Example

using System;
using System.Diagnostics;
using Flipdish.Api;
using Flipdish.Client;
using Flipdish.Model;

namespace Example
{
    public class GetWhiteLabelConfigExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: oauth2
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            var apiInstance = new WhiteLabelConfigApi();
            var wlid = 56;  // int? | 

            try
            {
                RestApiResultWhiteLabelConfigModel result = apiInstance.GetWhiteLabelConfig(wlid);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling WhiteLabelConfigApi.GetWhiteLabelConfig: " + e.Message );
            }
        }
    }
}

Parameters

Name Type Description Notes
wlid int?

Return type

RestApiResultWhiteLabelConfigModel

Authorization

oauth2

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, text/json, application/xml, text/xml

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetWhiteLabelConfigByAppNameId

RestApiResultWhiteLabelConfigModel GetWhiteLabelConfigByAppNameId (string appId)

Example

using System;
using System.Diagnostics;
using Flipdish.Api;
using Flipdish.Client;
using Flipdish.Model;

namespace Example
{
    public class GetWhiteLabelConfigByAppNameIdExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: oauth2
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            var apiInstance = new WhiteLabelConfigApi();
            var appId = appId_example;  // string | 

            try
            {
                RestApiResultWhiteLabelConfigModel result = apiInstance.GetWhiteLabelConfigByAppNameId(appId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling WhiteLabelConfigApi.GetWhiteLabelConfigByAppNameId: " + e.Message );
            }
        }
    }
}

Parameters

Name Type Description Notes
appId string

Return type

RestApiResultWhiteLabelConfigModel

Authorization

oauth2

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, text/json, application/xml, text/xml

[Back to top] [Back to API list] [Back to Model list] [Back to README]

HealthCheck

string HealthCheck ()

Example

using System;
using System.Diagnostics;
using Flipdish.Api;
using Flipdish.Client;
using Flipdish.Model;

namespace Example
{
    public class HealthCheckExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: oauth2
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            var apiInstance = new WhiteLabelConfigApi();

            try
            {
                string result = apiInstance.HealthCheck();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling WhiteLabelConfigApi.HealthCheck: " + e.Message );
            }
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

string

Authorization

oauth2

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, text/json, application/xml, text/xml

[Back to top] [Back to API list] [Back to Model list] [Back to README]

UpdateAppGeneralConfig

RestApiResultAppGeneralConfigModel UpdateAppGeneralConfig (string appId, AppGeneralConfigModel appGeneralConfig)

Example

using System;
using System.Diagnostics;
using Flipdish.Api;
using Flipdish.Client;
using Flipdish.Model;

namespace Example
{
    public class UpdateAppGeneralConfigExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: oauth2
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            var apiInstance = new WhiteLabelConfigApi();
            var appId = appId_example;  // string | 
            var appGeneralConfig = new AppGeneralConfigModel(); // AppGeneralConfigModel | 

            try
            {
                RestApiResultAppGeneralConfigModel result = apiInstance.UpdateAppGeneralConfig(appId, appGeneralConfig);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling WhiteLabelConfigApi.UpdateAppGeneralConfig: " + e.Message );
            }
        }
    }
}

Parameters

Name Type Description Notes
appId string
appGeneralConfig AppGeneralConfigModel

Return type

RestApiResultAppGeneralConfigModel

Authorization

oauth2

HTTP request headers

  • Content-Type: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
  • Accept: application/json, text/json, application/xml, text/xml

[Back to top] [Back to API list] [Back to Model list] [Back to README]

UpdateAppStoreConfig

RestApiResultAppStoreConfigModel UpdateAppStoreConfig (string appId, AppStoreConfigModel appStoreConfig)

Example

using System;
using System.Diagnostics;
using Flipdish.Api;
using Flipdish.Client;
using Flipdish.Model;

namespace Example
{
    public class UpdateAppStoreConfigExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: oauth2
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            var apiInstance = new WhiteLabelConfigApi();
            var appId = appId_example;  // string | 
            var appStoreConfig = new AppStoreConfigModel(); // AppStoreConfigModel | 

            try
            {
                RestApiResultAppStoreConfigModel result = apiInstance.UpdateAppStoreConfig(appId, appStoreConfig);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling WhiteLabelConfigApi.UpdateAppStoreConfig: " + e.Message );
            }
        }
    }
}

Parameters

Name Type Description Notes
appId string
appStoreConfig AppStoreConfigModel

Return type

RestApiResultAppStoreConfigModel

Authorization

oauth2

HTTP request headers

  • Content-Type: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
  • Accept: application/json, text/json, application/xml, text/xml

[Back to top] [Back to API list] [Back to Model list] [Back to README]

UpdatePlayStoreConfig

RestApiResultPlayStoreConfigModel UpdatePlayStoreConfig (string appId, PlayStoreConfigModel playStoreConfig)

Example

using System;
using System.Diagnostics;
using Flipdish.Api;
using Flipdish.Client;
using Flipdish.Model;

namespace Example
{
    public class UpdatePlayStoreConfigExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: oauth2
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            var apiInstance = new WhiteLabelConfigApi();
            var appId = appId_example;  // string | 
            var playStoreConfig = new PlayStoreConfigModel(); // PlayStoreConfigModel | 

            try
            {
                RestApiResultPlayStoreConfigModel result = apiInstance.UpdatePlayStoreConfig(appId, playStoreConfig);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling WhiteLabelConfigApi.UpdatePlayStoreConfig: " + e.Message );
            }
        }
    }
}

Parameters

Name Type Description Notes
appId string
playStoreConfig PlayStoreConfigModel

Return type

RestApiResultPlayStoreConfigModel

Authorization

oauth2

HTTP request headers

  • Content-Type: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
  • Accept: application/json, text/json, application/xml, text/xml

[Back to top] [Back to API list] [Back to Model list] [Back to README]

UploadAppStoreIcon

RestApiResultAssetResultModel UploadAppStoreIcon (string appId, HttpPostedFileBase _file)

Example

using System;
using System.Diagnostics;
using Flipdish.Api;
using Flipdish.Client;
using Flipdish.Model;

namespace Example
{
    public class UploadAppStoreIconExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: oauth2
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            var apiInstance = new WhiteLabelConfigApi();
            var appId = appId_example;  // string | 
            var _file = new HttpPostedFileBase(); // HttpPostedFileBase | 

            try
            {
                RestApiResultAssetResultModel result = apiInstance.UploadAppStoreIcon(appId, _file);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling WhiteLabelConfigApi.UploadAppStoreIcon: " + e.Message );
            }
        }
    }
}

Parameters

Name Type Description Notes
appId string
_file HttpPostedFileBase

Return type

RestApiResultAssetResultModel

Authorization

oauth2

HTTP request headers

  • Content-Type: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
  • Accept: application/json, text/json, application/xml, text/xml

[Back to top] [Back to API list] [Back to Model list] [Back to README]