Skip to content

Latest commit

 

History

History
632 lines (469 loc) · 18.2 KB

WhiteLabelConfigApi.md

File metadata and controls

632 lines (469 loc) · 18.2 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
GetPlayStoreConfig GET /api/v1.0/whitelabelconfig/{appId}/playstore
GetWhiteLabelAppStoreConfig GET /api/v1.0/whitelabelconfig/{appId}/appstore
GetWhiteLabelConfig GET /api/v1.0/whitelabelconfig/id/{wlid}
GetWhiteLabelConfigByAppNameId GET /api/v1.0/whitelabelconfig/name/{appId}
UpdateAppGeneralConfig POST /api/v1.0/whitelabelconfig/{appId}/general
UpdatePlayStoreConfig POST /api/v1.0/whitelabelconfig/{appId}/playstore
UpdateWhiteLabelAppStoreConfig POST /api/v1.0/whitelabelconfig/{appId}/appstore
UploadAppStoreIcon POST /api/v1.0/whitelabelconfig/{appId}/app-store-icon
WhiteLabelConfigHealthCheck GET /api/v1.0/whitelabelconfig/health

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]

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]

GetWhiteLabelAppStoreConfig

RestApiResultAppStoreConfigModel GetWhiteLabelAppStoreConfig (string appId)

Example

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

namespace Example
{
    public class GetWhiteLabelAppStoreConfigExample
    {
        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.GetWhiteLabelAppStoreConfig(appId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling WhiteLabelConfigApi.GetWhiteLabelAppStoreConfig: " + 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]

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]

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]

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]

UpdateWhiteLabelAppStoreConfig

RestApiResultAppStoreConfigModel UpdateWhiteLabelAppStoreConfig (string appId, AppStoreConfigModel appStoreConfig)

Example

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

namespace Example
{
    public class UpdateWhiteLabelAppStoreConfigExample
    {
        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.UpdateWhiteLabelAppStoreConfig(appId, appStoreConfig);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling WhiteLabelConfigApi.UpdateWhiteLabelAppStoreConfig: " + 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]

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]

WhiteLabelConfigHealthCheck

string WhiteLabelConfigHealthCheck ()

Example

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

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

            var apiInstance = new WhiteLabelConfigApi();

            try
            {
                string result = apiInstance.WhiteLabelConfigHealthCheck();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling WhiteLabelConfigApi.WhiteLabelConfigHealthCheck: " + 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]