IPost API

Default

apiChangePWPost


/api/changePW

Usage and SDK Samples

curl -X POST\
-H "ipost-auth-token: [[apiKey]]"\
-H "Content-Type: */*"\
"https://ipost.rocks//api/changePW"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: appTokenAuthHeader
        ApiKeyAuth appTokenAuthHeader = (ApiKeyAuth) defaultClient.getAuthentication("appTokenAuthHeader");
        appTokenAuthHeader.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //appTokenAuthHeader.setApiKeyPrefix("Token");

        DefaultApi apiInstance = new DefaultApi();
        Api_changePW_body body = ; // Api_changePW_body | 
        try {
            apiInstance.apiChangePWPost(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiChangePWPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Api_changePW_body body = ; // Api_changePW_body | 
        try {
            apiInstance.apiChangePWPost(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiChangePWPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: appTokenAuthHeader)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"ipost-auth-token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"ipost-auth-token"];
Api_changePW_body *body = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance apiChangePWPostWith:body
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IPostApi = require('i_post_api');
var defaultClient = IPostApi.ApiClient.instance;

// Configure API key authorization: appTokenAuthHeader
var appTokenAuthHeader = defaultClient.authentications['appTokenAuthHeader'];
appTokenAuthHeader.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//appTokenAuthHeader.apiKeyPrefix['ipost-auth-token'] = "Token"

var api = new IPostApi.DefaultApi()
var opts = { 
  'body':  // {{Api_changePW_body}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.apiChangePWPost(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiChangePWPostExample
    {
        public void main()
        {

            // Configure API key authorization: appTokenAuthHeader
            Configuration.Default.ApiKey.Add("ipost-auth-token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("ipost-auth-token", "Bearer");

            var apiInstance = new DefaultApi();
            var body = new Api_changePW_body(); // Api_changePW_body |  (optional) 

            try
            {
                apiInstance.apiChangePWPost(body);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.apiChangePWPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: appTokenAuthHeader
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('ipost-auth-token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('ipost-auth-token', 'Bearer');

$api_instance = new Swagger\Client\ApiDefaultApi();
$body = ; // Api_changePW_body | 

try {
    $api_instance->apiChangePWPost($body);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->apiChangePWPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

# Configure API key authorization: appTokenAuthHeader
$WWW::SwaggerClient::Configuration::api_key->{'ipost-auth-token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'ipost-auth-token'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $body = WWW::SwaggerClient::Object::Api_changePW_body->new(); # Api_changePW_body | 

eval { 
    $api_instance->apiChangePWPost(body => $body);
};
if ($@) {
    warn "Exception when calling DefaultApi->apiChangePWPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: appTokenAuthHeader
swagger_client.configuration.api_key['ipost-auth-token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['ipost-auth-token'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
body =  # Api_changePW_body |  (optional)

try: 
    api_instance.api_change_pw_post(body=body)
except ApiException as e:
    print("Exception when calling DefaultApi->apiChangePWPost: %s\n" % e)

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - OK

Status: 410 - argument/data error


apiChangeUsernamePost


/api/changeUsername

Usage and SDK Samples

curl -X POST\
-H "ipost-auth-token: [[apiKey]]"\
-H "Content-Type: */*"\
"https://ipost.rocks//api/changeUsername"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: appTokenAuthHeader
        ApiKeyAuth appTokenAuthHeader = (ApiKeyAuth) defaultClient.getAuthentication("appTokenAuthHeader");
        appTokenAuthHeader.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //appTokenAuthHeader.setApiKeyPrefix("Token");

        DefaultApi apiInstance = new DefaultApi();
        Api_changeUsername_body body = ; // Api_changeUsername_body | 
        try {
            apiInstance.apiChangeUsernamePost(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiChangeUsernamePost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Api_changeUsername_body body = ; // Api_changeUsername_body | 
        try {
            apiInstance.apiChangeUsernamePost(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiChangeUsernamePost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: appTokenAuthHeader)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"ipost-auth-token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"ipost-auth-token"];
Api_changeUsername_body *body = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance apiChangeUsernamePostWith:body
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IPostApi = require('i_post_api');
var defaultClient = IPostApi.ApiClient.instance;

// Configure API key authorization: appTokenAuthHeader
var appTokenAuthHeader = defaultClient.authentications['appTokenAuthHeader'];
appTokenAuthHeader.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//appTokenAuthHeader.apiKeyPrefix['ipost-auth-token'] = "Token"

var api = new IPostApi.DefaultApi()
var opts = { 
  'body':  // {{Api_changeUsername_body}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.apiChangeUsernamePost(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiChangeUsernamePostExample
    {
        public void main()
        {

            // Configure API key authorization: appTokenAuthHeader
            Configuration.Default.ApiKey.Add("ipost-auth-token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("ipost-auth-token", "Bearer");

            var apiInstance = new DefaultApi();
            var body = new Api_changeUsername_body(); // Api_changeUsername_body |  (optional) 

            try
            {
                apiInstance.apiChangeUsernamePost(body);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.apiChangeUsernamePost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: appTokenAuthHeader
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('ipost-auth-token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('ipost-auth-token', 'Bearer');

$api_instance = new Swagger\Client\ApiDefaultApi();
$body = ; // Api_changeUsername_body | 

try {
    $api_instance->apiChangeUsernamePost($body);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->apiChangeUsernamePost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

# Configure API key authorization: appTokenAuthHeader
$WWW::SwaggerClient::Configuration::api_key->{'ipost-auth-token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'ipost-auth-token'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $body = WWW::SwaggerClient::Object::Api_changeUsername_body->new(); # Api_changeUsername_body | 

eval { 
    $api_instance->apiChangeUsernamePost(body => $body);
};
if ($@) {
    warn "Exception when calling DefaultApi->apiChangeUsernamePost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: appTokenAuthHeader
swagger_client.configuration.api_key['ipost-auth-token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['ipost-auth-token'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
body =  # Api_changeUsername_body |  (optional)

try: 
    api_instance.api_change_username_post(body=body)
except ApiException as e:
    print("Exception when calling DefaultApi->apiChangeUsernamePost: %s\n" % e)

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - OK

Status: 410 - argument/data error

Status: 411 - argument/data error

Status: 412 - argument/data error

Status: 413 - argument/data error


apiDmsConversationsGet


/api/dms/conversations

Usage and SDK Samples

curl -X GET\
-H "ipost-auth-token: [[apiKey]]"\
"https://ipost.rocks//api/dms/conversations"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: appTokenAuthHeader
        ApiKeyAuth appTokenAuthHeader = (ApiKeyAuth) defaultClient.getAuthentication("appTokenAuthHeader");
        appTokenAuthHeader.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //appTokenAuthHeader.setApiKeyPrefix("Token");

        DefaultApi apiInstance = new DefaultApi();
        try {
            apiInstance.apiDmsConversationsGet();
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiDmsConversationsGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        try {
            apiInstance.apiDmsConversationsGet();
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiDmsConversationsGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: appTokenAuthHeader)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"ipost-auth-token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"ipost-auth-token"];

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance apiDmsConversationsGetWithCompletionHandler: 
              ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IPostApi = require('i_post_api');
var defaultClient = IPostApi.ApiClient.instance;

// Configure API key authorization: appTokenAuthHeader
var appTokenAuthHeader = defaultClient.authentications['appTokenAuthHeader'];
appTokenAuthHeader.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//appTokenAuthHeader.apiKeyPrefix['ipost-auth-token'] = "Token"

var api = new IPostApi.DefaultApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.apiDmsConversationsGet(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiDmsConversationsGetExample
    {
        public void main()
        {

            // Configure API key authorization: appTokenAuthHeader
            Configuration.Default.ApiKey.Add("ipost-auth-token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("ipost-auth-token", "Bearer");

            var apiInstance = new DefaultApi();

            try
            {
                apiInstance.apiDmsConversationsGet();
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.apiDmsConversationsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: appTokenAuthHeader
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('ipost-auth-token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('ipost-auth-token', 'Bearer');

$api_instance = new Swagger\Client\ApiDefaultApi();

try {
    $api_instance->apiDmsConversationsGet();
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->apiDmsConversationsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

# Configure API key authorization: appTokenAuthHeader
$WWW::SwaggerClient::Configuration::api_key->{'ipost-auth-token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'ipost-auth-token'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DefaultApi->new();

eval { 
    $api_instance->apiDmsConversationsGet();
};
if ($@) {
    warn "Exception when calling DefaultApi->apiDmsConversationsGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: appTokenAuthHeader
swagger_client.configuration.api_key['ipost-auth-token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['ipost-auth-token'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DefaultApi()

try: 
    api_instance.api_dms_conversations_get()
except ApiException as e:
    print("Exception when calling DefaultApi->apiDmsConversationsGet: %s\n" % e)

Parameters

Responses

Status: 200 - OK


apiDmsEncryptJsGet


/api/dms/encrypt.js

Usage and SDK Samples

curl -X GET\
-H "ipost-auth-token: [[apiKey]]"\
"https://ipost.rocks//api/dms/encrypt.js"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: appTokenAuthHeader
        ApiKeyAuth appTokenAuthHeader = (ApiKeyAuth) defaultClient.getAuthentication("appTokenAuthHeader");
        appTokenAuthHeader.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //appTokenAuthHeader.setApiKeyPrefix("Token");

        DefaultApi apiInstance = new DefaultApi();
        try {
            apiInstance.apiDmsEncryptJsGet();
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiDmsEncryptJsGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        try {
            apiInstance.apiDmsEncryptJsGet();
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiDmsEncryptJsGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: appTokenAuthHeader)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"ipost-auth-token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"ipost-auth-token"];

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance apiDmsEncryptJsGetWithCompletionHandler: 
              ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IPostApi = require('i_post_api');
var defaultClient = IPostApi.ApiClient.instance;

// Configure API key authorization: appTokenAuthHeader
var appTokenAuthHeader = defaultClient.authentications['appTokenAuthHeader'];
appTokenAuthHeader.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//appTokenAuthHeader.apiKeyPrefix['ipost-auth-token'] = "Token"

var api = new IPostApi.DefaultApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.apiDmsEncryptJsGet(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiDmsEncryptJsGetExample
    {
        public void main()
        {

            // Configure API key authorization: appTokenAuthHeader
            Configuration.Default.ApiKey.Add("ipost-auth-token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("ipost-auth-token", "Bearer");

            var apiInstance = new DefaultApi();

            try
            {
                apiInstance.apiDmsEncryptJsGet();
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.apiDmsEncryptJsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: appTokenAuthHeader
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('ipost-auth-token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('ipost-auth-token', 'Bearer');

$api_instance = new Swagger\Client\ApiDefaultApi();

try {
    $api_instance->apiDmsEncryptJsGet();
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->apiDmsEncryptJsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

# Configure API key authorization: appTokenAuthHeader
$WWW::SwaggerClient::Configuration::api_key->{'ipost-auth-token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'ipost-auth-token'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DefaultApi->new();

eval { 
    $api_instance->apiDmsEncryptJsGet();
};
if ($@) {
    warn "Exception when calling DefaultApi->apiDmsEncryptJsGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: appTokenAuthHeader
swagger_client.configuration.api_key['ipost-auth-token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['ipost-auth-token'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DefaultApi()

try: 
    api_instance.api_dms_encrypt_js_get()
except ApiException as e:
    print("Exception when calling DefaultApi->apiDmsEncryptJsGet: %s\n" % e)

Parameters

Responses

Status: 200 - OK


apiDmsGetDMGet


/api/dms/getDM

Usage and SDK Samples

curl -X GET\
-H "ipost-auth-token: [[apiKey]]"\
"https://ipost.rocks//api/dms/getDM?id="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: appTokenAuthHeader
        ApiKeyAuth appTokenAuthHeader = (ApiKeyAuth) defaultClient.getAuthentication("appTokenAuthHeader");
        appTokenAuthHeader.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //appTokenAuthHeader.setApiKeyPrefix("Token");

        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 
        try {
            apiInstance.apiDmsGetDMGet(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiDmsGetDMGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 
        try {
            apiInstance.apiDmsGetDMGet(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiDmsGetDMGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: appTokenAuthHeader)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"ipost-auth-token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"ipost-auth-token"];
String *id = id_example; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance apiDmsGetDMGetWith:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IPostApi = require('i_post_api');
var defaultClient = IPostApi.ApiClient.instance;

// Configure API key authorization: appTokenAuthHeader
var appTokenAuthHeader = defaultClient.authentications['appTokenAuthHeader'];
appTokenAuthHeader.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//appTokenAuthHeader.apiKeyPrefix['ipost-auth-token'] = "Token"

var api = new IPostApi.DefaultApi()
var opts = { 
  'id': id_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.apiDmsGetDMGet(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiDmsGetDMGetExample
    {
        public void main()
        {

            // Configure API key authorization: appTokenAuthHeader
            Configuration.Default.ApiKey.Add("ipost-auth-token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("ipost-auth-token", "Bearer");

            var apiInstance = new DefaultApi();
            var id = id_example;  // String |  (optional) 

            try
            {
                apiInstance.apiDmsGetDMGet(id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.apiDmsGetDMGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: appTokenAuthHeader
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('ipost-auth-token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('ipost-auth-token', 'Bearer');

$api_instance = new Swagger\Client\ApiDefaultApi();
$id = id_example; // String | 

try {
    $api_instance->apiDmsGetDMGet($id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->apiDmsGetDMGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

# Configure API key authorization: appTokenAuthHeader
$WWW::SwaggerClient::Configuration::api_key->{'ipost-auth-token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'ipost-auth-token'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $id = id_example; # String | 

eval { 
    $api_instance->apiDmsGetDMGet(id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->apiDmsGetDMGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: appTokenAuthHeader
swagger_client.configuration.api_key['ipost-auth-token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['ipost-auth-token'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
id = id_example # String |  (optional)

try: 
    api_instance.api_dms_get_dm_get(id=id)
except ApiException as e:
    print("Exception when calling DefaultApi->apiDmsGetDMGet: %s\n" % e)

Parameters

Query parameters
Name Description
id
String

Responses

Status: 200 - OK


apiDmsPidGet


/api/dms/pid

Usage and SDK Samples

curl -X GET\
-H "ipost-auth-token: [[apiKey]]"\
"https://ipost.rocks//api/dms/pid"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: appTokenAuthHeader
        ApiKeyAuth appTokenAuthHeader = (ApiKeyAuth) defaultClient.getAuthentication("appTokenAuthHeader");
        appTokenAuthHeader.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //appTokenAuthHeader.setApiKeyPrefix("Token");

        DefaultApi apiInstance = new DefaultApi();
        try {
            apiInstance.apiDmsPidGet();
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiDmsPidGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        try {
            apiInstance.apiDmsPidGet();
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiDmsPidGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: appTokenAuthHeader)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"ipost-auth-token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"ipost-auth-token"];

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance apiDmsPidGetWithCompletionHandler: 
              ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IPostApi = require('i_post_api');
var defaultClient = IPostApi.ApiClient.instance;

// Configure API key authorization: appTokenAuthHeader
var appTokenAuthHeader = defaultClient.authentications['appTokenAuthHeader'];
appTokenAuthHeader.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//appTokenAuthHeader.apiKeyPrefix['ipost-auth-token'] = "Token"

var api = new IPostApi.DefaultApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.apiDmsPidGet(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiDmsPidGetExample
    {
        public void main()
        {

            // Configure API key authorization: appTokenAuthHeader
            Configuration.Default.ApiKey.Add("ipost-auth-token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("ipost-auth-token", "Bearer");

            var apiInstance = new DefaultApi();

            try
            {
                apiInstance.apiDmsPidGet();
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.apiDmsPidGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: appTokenAuthHeader
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('ipost-auth-token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('ipost-auth-token', 'Bearer');

$api_instance = new Swagger\Client\ApiDefaultApi();

try {
    $api_instance->apiDmsPidGet();
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->apiDmsPidGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

# Configure API key authorization: appTokenAuthHeader
$WWW::SwaggerClient::Configuration::api_key->{'ipost-auth-token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'ipost-auth-token'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DefaultApi->new();

eval { 
    $api_instance->apiDmsPidGet();
};
if ($@) {
    warn "Exception when calling DefaultApi->apiDmsPidGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: appTokenAuthHeader
swagger_client.configuration.api_key['ipost-auth-token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['ipost-auth-token'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DefaultApi()

try: 
    api_instance.api_dms_pid_get()
except ApiException as e:
    print("Exception when calling DefaultApi->apiDmsPidGet: %s\n" % e)

Parameters

Responses

Status: 200 - OK


apiDmsPostPost


/api/dms/post

Usage and SDK Samples

curl -X POST\
-H "ipost-auth-token: [[apiKey]]"\
-H "Content-Type: */*"\
"https://ipost.rocks//api/dms/post"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: appTokenAuthHeader
        ApiKeyAuth appTokenAuthHeader = (ApiKeyAuth) defaultClient.getAuthentication("appTokenAuthHeader");
        appTokenAuthHeader.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //appTokenAuthHeader.setApiKeyPrefix("Token");

        DefaultApi apiInstance = new DefaultApi();
        Dms_post_body body = ; // Dms_post_body | 
        try {
            apiInstance.apiDmsPostPost(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiDmsPostPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Dms_post_body body = ; // Dms_post_body | 
        try {
            apiInstance.apiDmsPostPost(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiDmsPostPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: appTokenAuthHeader)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"ipost-auth-token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"ipost-auth-token"];
Dms_post_body *body = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance apiDmsPostPostWith:body
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IPostApi = require('i_post_api');
var defaultClient = IPostApi.ApiClient.instance;

// Configure API key authorization: appTokenAuthHeader
var appTokenAuthHeader = defaultClient.authentications['appTokenAuthHeader'];
appTokenAuthHeader.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//appTokenAuthHeader.apiKeyPrefix['ipost-auth-token'] = "Token"

var api = new IPostApi.DefaultApi()
var opts = { 
  'body':  // {{Dms_post_body}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.apiDmsPostPost(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiDmsPostPostExample
    {
        public void main()
        {

            // Configure API key authorization: appTokenAuthHeader
            Configuration.Default.ApiKey.Add("ipost-auth-token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("ipost-auth-token", "Bearer");

            var apiInstance = new DefaultApi();
            var body = new Dms_post_body(); // Dms_post_body |  (optional) 

            try
            {
                apiInstance.apiDmsPostPost(body);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.apiDmsPostPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: appTokenAuthHeader
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('ipost-auth-token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('ipost-auth-token', 'Bearer');

$api_instance = new Swagger\Client\ApiDefaultApi();
$body = ; // Dms_post_body | 

try {
    $api_instance->apiDmsPostPost($body);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->apiDmsPostPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

# Configure API key authorization: appTokenAuthHeader
$WWW::SwaggerClient::Configuration::api_key->{'ipost-auth-token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'ipost-auth-token'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $body = WWW::SwaggerClient::Object::Dms_post_body->new(); # Dms_post_body | 

eval { 
    $api_instance->apiDmsPostPost(body => $body);
};
if ($@) {
    warn "Exception when calling DefaultApi->apiDmsPostPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: appTokenAuthHeader
swagger_client.configuration.api_key['ipost-auth-token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['ipost-auth-token'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
body =  # Dms_post_body |  (optional)

try: 
    api_instance.api_dms_post_post(body=body)
except ApiException as e:
    print("Exception when calling DefaultApi->apiDmsPostPost: %s\n" % e)

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - OK

Status: 410 - argument/data error

Status: 411 - argument/data error

Status: 412 - argument/data error

Status: 413 - argument/data error

Status: 414 - argument/data error

Status: 415 - argument/data error

Status: 416 - argument/data error

Status: 417 - argument/data error

Status: 418 - argument/data error

Status: 500 - Internal Server Error


apiGetChannelsGet


/api/getChannels

Usage and SDK Samples

curl -X GET\
-H "ipost-auth-token: [[apiKey]]"\
"https://ipost.rocks//api/getChannels"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: appTokenAuthHeader
        ApiKeyAuth appTokenAuthHeader = (ApiKeyAuth) defaultClient.getAuthentication("appTokenAuthHeader");
        appTokenAuthHeader.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //appTokenAuthHeader.setApiKeyPrefix("Token");

        DefaultApi apiInstance = new DefaultApi();
        String host = host_example; // String | 
        try {
            apiInstance.apiGetChannelsGet(host);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiGetChannelsGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String host = host_example; // String | 
        try {
            apiInstance.apiGetChannelsGet(host);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiGetChannelsGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: appTokenAuthHeader)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"ipost-auth-token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"ipost-auth-token"];
String *host = host_example; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance apiGetChannelsGetWith:host
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IPostApi = require('i_post_api');
var defaultClient = IPostApi.ApiClient.instance;

// Configure API key authorization: appTokenAuthHeader
var appTokenAuthHeader = defaultClient.authentications['appTokenAuthHeader'];
appTokenAuthHeader.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//appTokenAuthHeader.apiKeyPrefix['ipost-auth-token'] = "Token"

var api = new IPostApi.DefaultApi()
var opts = { 
  'host': host_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.apiGetChannelsGet(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiGetChannelsGetExample
    {
        public void main()
        {

            // Configure API key authorization: appTokenAuthHeader
            Configuration.Default.ApiKey.Add("ipost-auth-token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("ipost-auth-token", "Bearer");

            var apiInstance = new DefaultApi();
            var host = host_example;  // String |  (optional) 

            try
            {
                apiInstance.apiGetChannelsGet(host);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.apiGetChannelsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: appTokenAuthHeader
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('ipost-auth-token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('ipost-auth-token', 'Bearer');

$api_instance = new Swagger\Client\ApiDefaultApi();
$host = host_example; // String | 

try {
    $api_instance->apiGetChannelsGet($host);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->apiGetChannelsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

# Configure API key authorization: appTokenAuthHeader
$WWW::SwaggerClient::Configuration::api_key->{'ipost-auth-token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'ipost-auth-token'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $host = host_example; # String | 

eval { 
    $api_instance->apiGetChannelsGet(host => $host);
};
if ($@) {
    warn "Exception when calling DefaultApi->apiGetChannelsGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: appTokenAuthHeader
swagger_client.configuration.api_key['ipost-auth-token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['ipost-auth-token'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
host = host_example # String |  (optional)

try: 
    api_instance.api_get_channels_get(host=host)
except ApiException as e:
    print("Exception when calling DefaultApi->apiGetChannelsGet: %s\n" % e)

Parameters

Header parameters
Name Description
host
String

Responses

Status: 200 - OK

Status: 429 - Too Many Requests


apiGetFileIconIconGet


/api/getFileIcon/{icon}

Usage and SDK Samples

curl -X GET\
-H "ipost-auth-token: [[apiKey]]"\
"https://ipost.rocks//api/getFileIcon/{icon}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: appTokenAuthHeader
        ApiKeyAuth appTokenAuthHeader = (ApiKeyAuth) defaultClient.getAuthentication("appTokenAuthHeader");
        appTokenAuthHeader.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //appTokenAuthHeader.setApiKeyPrefix("Token");

        DefaultApi apiInstance = new DefaultApi();
        String icon = icon_example; // String | 
        try {
            apiInstance.apiGetFileIconIconGet(icon);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiGetFileIconIconGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String icon = icon_example; // String | 
        try {
            apiInstance.apiGetFileIconIconGet(icon);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiGetFileIconIconGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: appTokenAuthHeader)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"ipost-auth-token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"ipost-auth-token"];
String *icon = icon_example; // 

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance apiGetFileIconIconGetWith:icon
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IPostApi = require('i_post_api');
var defaultClient = IPostApi.ApiClient.instance;

// Configure API key authorization: appTokenAuthHeader
var appTokenAuthHeader = defaultClient.authentications['appTokenAuthHeader'];
appTokenAuthHeader.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//appTokenAuthHeader.apiKeyPrefix['ipost-auth-token'] = "Token"

var api = new IPostApi.DefaultApi()
var icon = icon_example; // {{String}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.apiGetFileIconIconGet(icon, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiGetFileIconIconGetExample
    {
        public void main()
        {

            // Configure API key authorization: appTokenAuthHeader
            Configuration.Default.ApiKey.Add("ipost-auth-token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("ipost-auth-token", "Bearer");

            var apiInstance = new DefaultApi();
            var icon = icon_example;  // String | 

            try
            {
                apiInstance.apiGetFileIconIconGet(icon);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.apiGetFileIconIconGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: appTokenAuthHeader
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('ipost-auth-token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('ipost-auth-token', 'Bearer');

$api_instance = new Swagger\Client\ApiDefaultApi();
$icon = icon_example; // String | 

try {
    $api_instance->apiGetFileIconIconGet($icon);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->apiGetFileIconIconGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

# Configure API key authorization: appTokenAuthHeader
$WWW::SwaggerClient::Configuration::api_key->{'ipost-auth-token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'ipost-auth-token'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $icon = icon_example; # String | 

eval { 
    $api_instance->apiGetFileIconIconGet(icon => $icon);
};
if ($@) {
    warn "Exception when calling DefaultApi->apiGetFileIconIconGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: appTokenAuthHeader
swagger_client.configuration.api_key['ipost-auth-token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['ipost-auth-token'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
icon = icon_example # String | 

try: 
    api_instance.api_get_file_icon_icon_get(icon)
except ApiException as e:
    print("Exception when calling DefaultApi->apiGetFileIconIconGet: %s\n" % e)

Parameters

Path parameters
Name Description
icon*
String
Required

Responses

Status: 200 - OK

Status: 410 - argument/data error


apiGetPersonalPostsGet


/api/getPersonalPosts

Usage and SDK Samples

curl -X GET\
-H "ipost-auth-token: [[apiKey]]"\
"https://ipost.rocks//api/getPersonalPosts?otherperson="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: appTokenAuthHeader
        ApiKeyAuth appTokenAuthHeader = (ApiKeyAuth) defaultClient.getAuthentication("appTokenAuthHeader");
        appTokenAuthHeader.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //appTokenAuthHeader.setApiKeyPrefix("Token");

        DefaultApi apiInstance = new DefaultApi();
        String otherperson = otherperson_example; // String | 
        try {
            apiInstance.apiGetPersonalPostsGet(otherperson);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiGetPersonalPostsGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String otherperson = otherperson_example; // String | 
        try {
            apiInstance.apiGetPersonalPostsGet(otherperson);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiGetPersonalPostsGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: appTokenAuthHeader)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"ipost-auth-token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"ipost-auth-token"];
String *otherperson = otherperson_example; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance apiGetPersonalPostsGetWith:otherperson
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IPostApi = require('i_post_api');
var defaultClient = IPostApi.ApiClient.instance;

// Configure API key authorization: appTokenAuthHeader
var appTokenAuthHeader = defaultClient.authentications['appTokenAuthHeader'];
appTokenAuthHeader.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//appTokenAuthHeader.apiKeyPrefix['ipost-auth-token'] = "Token"

var api = new IPostApi.DefaultApi()
var opts = { 
  'otherperson': otherperson_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.apiGetPersonalPostsGet(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiGetPersonalPostsGetExample
    {
        public void main()
        {

            // Configure API key authorization: appTokenAuthHeader
            Configuration.Default.ApiKey.Add("ipost-auth-token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("ipost-auth-token", "Bearer");

            var apiInstance = new DefaultApi();
            var otherperson = otherperson_example;  // String |  (optional) 

            try
            {
                apiInstance.apiGetPersonalPostsGet(otherperson);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.apiGetPersonalPostsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: appTokenAuthHeader
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('ipost-auth-token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('ipost-auth-token', 'Bearer');

$api_instance = new Swagger\Client\ApiDefaultApi();
$otherperson = otherperson_example; // String | 

try {
    $api_instance->apiGetPersonalPostsGet($otherperson);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->apiGetPersonalPostsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

# Configure API key authorization: appTokenAuthHeader
$WWW::SwaggerClient::Configuration::api_key->{'ipost-auth-token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'ipost-auth-token'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $otherperson = otherperson_example; # String | 

eval { 
    $api_instance->apiGetPersonalPostsGet(otherperson => $otherperson);
};
if ($@) {
    warn "Exception when calling DefaultApi->apiGetPersonalPostsGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: appTokenAuthHeader
swagger_client.configuration.api_key['ipost-auth-token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['ipost-auth-token'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
otherperson = otherperson_example # String |  (optional)

try: 
    api_instance.api_get_personal_posts_get(otherperson=otherperson)
except ApiException as e:
    print("Exception when calling DefaultApi->apiGetPersonalPostsGet: %s\n" % e)

Parameters

Query parameters
Name Description
otherperson
String

Responses

Status: 200 - OK

Status: 410 - argument/data error


apiGetPostGet


/api/getPost

Usage and SDK Samples

curl -X GET\
-H "ipost-auth-token: [[apiKey]]"\
"https://ipost.rocks//api/getPost?id="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: appTokenAuthHeader
        ApiKeyAuth appTokenAuthHeader = (ApiKeyAuth) defaultClient.getAuthentication("appTokenAuthHeader");
        appTokenAuthHeader.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //appTokenAuthHeader.setApiKeyPrefix("Token");

        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 
        try {
            apiInstance.apiGetPostGet(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiGetPostGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 
        try {
            apiInstance.apiGetPostGet(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiGetPostGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: appTokenAuthHeader)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"ipost-auth-token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"ipost-auth-token"];
String *id = id_example; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance apiGetPostGetWith:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IPostApi = require('i_post_api');
var defaultClient = IPostApi.ApiClient.instance;

// Configure API key authorization: appTokenAuthHeader
var appTokenAuthHeader = defaultClient.authentications['appTokenAuthHeader'];
appTokenAuthHeader.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//appTokenAuthHeader.apiKeyPrefix['ipost-auth-token'] = "Token"

var api = new IPostApi.DefaultApi()
var opts = { 
  'id': id_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.apiGetPostGet(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiGetPostGetExample
    {
        public void main()
        {

            // Configure API key authorization: appTokenAuthHeader
            Configuration.Default.ApiKey.Add("ipost-auth-token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("ipost-auth-token", "Bearer");

            var apiInstance = new DefaultApi();
            var id = id_example;  // String |  (optional) 

            try
            {
                apiInstance.apiGetPostGet(id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.apiGetPostGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: appTokenAuthHeader
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('ipost-auth-token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('ipost-auth-token', 'Bearer');

$api_instance = new Swagger\Client\ApiDefaultApi();
$id = id_example; // String | 

try {
    $api_instance->apiGetPostGet($id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->apiGetPostGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

# Configure API key authorization: appTokenAuthHeader
$WWW::SwaggerClient::Configuration::api_key->{'ipost-auth-token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'ipost-auth-token'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $id = id_example; # String | 

eval { 
    $api_instance->apiGetPostGet(id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->apiGetPostGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: appTokenAuthHeader
swagger_client.configuration.api_key['ipost-auth-token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['ipost-auth-token'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
id = id_example # String |  (optional)

try: 
    api_instance.api_get_post_get(id=id)
except ApiException as e:
    print("Exception when calling DefaultApi->apiGetPostGet: %s\n" % e)

Parameters

Query parameters
Name Description
id
String

Responses

Status: 200 - OK


apiGetPostsGet


/api/getPosts

Usage and SDK Samples

curl -X GET\
-H "ipost-auth-token: [[apiKey]]"\
"https://ipost.rocks//api/getPosts?channel="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: appTokenAuthHeader
        ApiKeyAuth appTokenAuthHeader = (ApiKeyAuth) defaultClient.getAuthentication("appTokenAuthHeader");
        appTokenAuthHeader.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //appTokenAuthHeader.setApiKeyPrefix("Token");

        DefaultApi apiInstance = new DefaultApi();
        String channel = channel_example; // String | 
        try {
            apiInstance.apiGetPostsGet(channel);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiGetPostsGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String channel = channel_example; // String | 
        try {
            apiInstance.apiGetPostsGet(channel);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiGetPostsGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: appTokenAuthHeader)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"ipost-auth-token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"ipost-auth-token"];
String *channel = channel_example; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance apiGetPostsGetWith:channel
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IPostApi = require('i_post_api');
var defaultClient = IPostApi.ApiClient.instance;

// Configure API key authorization: appTokenAuthHeader
var appTokenAuthHeader = defaultClient.authentications['appTokenAuthHeader'];
appTokenAuthHeader.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//appTokenAuthHeader.apiKeyPrefix['ipost-auth-token'] = "Token"

var api = new IPostApi.DefaultApi()
var opts = { 
  'channel': channel_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.apiGetPostsGet(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiGetPostsGetExample
    {
        public void main()
        {

            // Configure API key authorization: appTokenAuthHeader
            Configuration.Default.ApiKey.Add("ipost-auth-token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("ipost-auth-token", "Bearer");

            var apiInstance = new DefaultApi();
            var channel = channel_example;  // String |  (optional) 

            try
            {
                apiInstance.apiGetPostsGet(channel);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.apiGetPostsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: appTokenAuthHeader
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('ipost-auth-token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('ipost-auth-token', 'Bearer');

$api_instance = new Swagger\Client\ApiDefaultApi();
$channel = channel_example; // String | 

try {
    $api_instance->apiGetPostsGet($channel);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->apiGetPostsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

# Configure API key authorization: appTokenAuthHeader
$WWW::SwaggerClient::Configuration::api_key->{'ipost-auth-token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'ipost-auth-token'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $channel = channel_example; # String | 

eval { 
    $api_instance->apiGetPostsGet(channel => $channel);
};
if ($@) {
    warn "Exception when calling DefaultApi->apiGetPostsGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: appTokenAuthHeader
swagger_client.configuration.api_key['ipost-auth-token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['ipost-auth-token'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
channel = channel_example # String |  (optional)

try: 
    api_instance.api_get_posts_get(channel=channel)
except ApiException as e:
    print("Exception when calling DefaultApi->apiGetPostsGet: %s\n" % e)

Parameters

Query parameters
Name Description
channel
String

Responses

Status: 200 - OK


apiGetPostsLowerThanGet


/api/getPostsLowerThan

Usage and SDK Samples

curl -X GET\
-H "ipost-auth-token: [[apiKey]]"\
"https://ipost.rocks//api/getPostsLowerThan?channel=&id="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: appTokenAuthHeader
        ApiKeyAuth appTokenAuthHeader = (ApiKeyAuth) defaultClient.getAuthentication("appTokenAuthHeader");
        appTokenAuthHeader.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //appTokenAuthHeader.setApiKeyPrefix("Token");

        DefaultApi apiInstance = new DefaultApi();
        String channel = channel_example; // String | 
        String id = id_example; // String | 
        try {
            apiInstance.apiGetPostsLowerThanGet(channel, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiGetPostsLowerThanGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String channel = channel_example; // String | 
        String id = id_example; // String | 
        try {
            apiInstance.apiGetPostsLowerThanGet(channel, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiGetPostsLowerThanGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: appTokenAuthHeader)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"ipost-auth-token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"ipost-auth-token"];
String *channel = channel_example; //  (optional)
String *id = id_example; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance apiGetPostsLowerThanGetWith:channel
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IPostApi = require('i_post_api');
var defaultClient = IPostApi.ApiClient.instance;

// Configure API key authorization: appTokenAuthHeader
var appTokenAuthHeader = defaultClient.authentications['appTokenAuthHeader'];
appTokenAuthHeader.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//appTokenAuthHeader.apiKeyPrefix['ipost-auth-token'] = "Token"

var api = new IPostApi.DefaultApi()
var opts = { 
  'channel': channel_example, // {{String}} 
  'id': id_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.apiGetPostsLowerThanGet(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiGetPostsLowerThanGetExample
    {
        public void main()
        {

            // Configure API key authorization: appTokenAuthHeader
            Configuration.Default.ApiKey.Add("ipost-auth-token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("ipost-auth-token", "Bearer");

            var apiInstance = new DefaultApi();
            var channel = channel_example;  // String |  (optional) 
            var id = id_example;  // String |  (optional) 

            try
            {
                apiInstance.apiGetPostsLowerThanGet(channel, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.apiGetPostsLowerThanGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: appTokenAuthHeader
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('ipost-auth-token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('ipost-auth-token', 'Bearer');

$api_instance = new Swagger\Client\ApiDefaultApi();
$channel = channel_example; // String | 
$id = id_example; // String | 

try {
    $api_instance->apiGetPostsLowerThanGet($channel, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->apiGetPostsLowerThanGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

# Configure API key authorization: appTokenAuthHeader
$WWW::SwaggerClient::Configuration::api_key->{'ipost-auth-token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'ipost-auth-token'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $channel = channel_example; # String | 
my $id = id_example; # String | 

eval { 
    $api_instance->apiGetPostsLowerThanGet(channel => $channel, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->apiGetPostsLowerThanGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: appTokenAuthHeader
swagger_client.configuration.api_key['ipost-auth-token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['ipost-auth-token'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
channel = channel_example # String |  (optional)
id = id_example # String |  (optional)

try: 
    api_instance.api_get_posts_lower_than_get(channel=channel, id=id)
except ApiException as e:
    print("Exception when calling DefaultApi->apiGetPostsLowerThanGet: %s\n" % e)

Parameters

Query parameters
Name Description
channel
String
id
String

Responses

Status: 200 - OK


apiGetalluserinformationGet


/api/getalluserinformation

Usage and SDK Samples

curl -X GET\
-H "ipost-auth-token: [[apiKey]]"\
"https://ipost.rocks//api/getalluserinformation"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: appTokenAuthHeader
        ApiKeyAuth appTokenAuthHeader = (ApiKeyAuth) defaultClient.getAuthentication("appTokenAuthHeader");
        appTokenAuthHeader.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //appTokenAuthHeader.setApiKeyPrefix("Token");

        DefaultApi apiInstance = new DefaultApi();
        try {
            apiInstance.apiGetalluserinformationGet();
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiGetalluserinformationGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        try {
            apiInstance.apiGetalluserinformationGet();
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiGetalluserinformationGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: appTokenAuthHeader)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"ipost-auth-token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"ipost-auth-token"];

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance apiGetalluserinformationGetWithCompletionHandler: 
              ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IPostApi = require('i_post_api');
var defaultClient = IPostApi.ApiClient.instance;

// Configure API key authorization: appTokenAuthHeader
var appTokenAuthHeader = defaultClient.authentications['appTokenAuthHeader'];
appTokenAuthHeader.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//appTokenAuthHeader.apiKeyPrefix['ipost-auth-token'] = "Token"

var api = new IPostApi.DefaultApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.apiGetalluserinformationGet(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiGetalluserinformationGetExample
    {
        public void main()
        {

            // Configure API key authorization: appTokenAuthHeader
            Configuration.Default.ApiKey.Add("ipost-auth-token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("ipost-auth-token", "Bearer");

            var apiInstance = new DefaultApi();

            try
            {
                apiInstance.apiGetalluserinformationGet();
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.apiGetalluserinformationGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: appTokenAuthHeader
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('ipost-auth-token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('ipost-auth-token', 'Bearer');

$api_instance = new Swagger\Client\ApiDefaultApi();

try {
    $api_instance->apiGetalluserinformationGet();
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->apiGetalluserinformationGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

# Configure API key authorization: appTokenAuthHeader
$WWW::SwaggerClient::Configuration::api_key->{'ipost-auth-token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'ipost-auth-token'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DefaultApi->new();

eval { 
    $api_instance->apiGetalluserinformationGet();
};
if ($@) {
    warn "Exception when calling DefaultApi->apiGetalluserinformationGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: appTokenAuthHeader
swagger_client.configuration.api_key['ipost-auth-token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['ipost-auth-token'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DefaultApi()

try: 
    api_instance.api_getalluserinformation_get()
except ApiException as e:
    print("Exception when calling DefaultApi->apiGetalluserinformationGet: %s\n" % e)

Parameters

Responses

Status: 200 - OK

Status: 401 - login error (invalid cookie)

Status: 402 - login error (bad cookie)

Status: 403 - login error (no cookie)


apiGetotheruserGet


/api/getotheruser

Usage and SDK Samples

curl -X GET\
"https://ipost.rocks//api/getotheruser?user="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String user = user_example; // String | 
        try {
            apiInstance.apiGetotheruserGet(user);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiGetotheruserGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String user = user_example; // String | 
        try {
            apiInstance.apiGetotheruserGet(user);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiGetotheruserGet");
            e.printStackTrace();
        }
    }
}
String *user = user_example; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance apiGetotheruserGetWith:user
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IPostApi = require('i_post_api');

var api = new IPostApi.DefaultApi()
var opts = { 
  'user': user_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.apiGetotheruserGet(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiGetotheruserGetExample
    {
        public void main()
        {

            var apiInstance = new DefaultApi();
            var user = user_example;  // String |  (optional) 

            try
            {
                apiInstance.apiGetotheruserGet(user);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.apiGetotheruserGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiDefaultApi();
$user = user_example; // String | 

try {
    $api_instance->apiGetotheruserGet($user);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->apiGetotheruserGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $user = user_example; # String | 

eval { 
    $api_instance->apiGetotheruserGet(user => $user);
};
if ($@) {
    warn "Exception when calling DefaultApi->apiGetotheruserGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
user = user_example # String |  (optional)

try: 
    api_instance.api_getotheruser_get(user=user)
except ApiException as e:
    print("Exception when calling DefaultApi->apiGetotheruserGet: %s\n" % e)

Parameters

Query parameters
Name Description
user
String

Responses

Status: 200 - OK


apiGetuserGet


/api/getuser

Usage and SDK Samples

curl -X GET\
-H "ipost-auth-token: [[apiKey]]"\
"https://ipost.rocks//api/getuser"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: appTokenAuthHeader
        ApiKeyAuth appTokenAuthHeader = (ApiKeyAuth) defaultClient.getAuthentication("appTokenAuthHeader");
        appTokenAuthHeader.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //appTokenAuthHeader.setApiKeyPrefix("Token");

        DefaultApi apiInstance = new DefaultApi();
        try {
            apiInstance.apiGetuserGet();
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiGetuserGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        try {
            apiInstance.apiGetuserGet();
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiGetuserGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: appTokenAuthHeader)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"ipost-auth-token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"ipost-auth-token"];

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance apiGetuserGetWithCompletionHandler: 
              ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IPostApi = require('i_post_api');
var defaultClient = IPostApi.ApiClient.instance;

// Configure API key authorization: appTokenAuthHeader
var appTokenAuthHeader = defaultClient.authentications['appTokenAuthHeader'];
appTokenAuthHeader.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//appTokenAuthHeader.apiKeyPrefix['ipost-auth-token'] = "Token"

var api = new IPostApi.DefaultApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.apiGetuserGet(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiGetuserGetExample
    {
        public void main()
        {

            // Configure API key authorization: appTokenAuthHeader
            Configuration.Default.ApiKey.Add("ipost-auth-token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("ipost-auth-token", "Bearer");

            var apiInstance = new DefaultApi();

            try
            {
                apiInstance.apiGetuserGet();
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.apiGetuserGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: appTokenAuthHeader
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('ipost-auth-token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('ipost-auth-token', 'Bearer');

$api_instance = new Swagger\Client\ApiDefaultApi();

try {
    $api_instance->apiGetuserGet();
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->apiGetuserGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

# Configure API key authorization: appTokenAuthHeader
$WWW::SwaggerClient::Configuration::api_key->{'ipost-auth-token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'ipost-auth-token'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DefaultApi->new();

eval { 
    $api_instance->apiGetuserGet();
};
if ($@) {
    warn "Exception when calling DefaultApi->apiGetuserGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: appTokenAuthHeader
swagger_client.configuration.api_key['ipost-auth-token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['ipost-auth-token'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DefaultApi()

try: 
    api_instance.api_getuser_get()
except ApiException as e:
    print("Exception when calling DefaultApi->apiGetuserGet: %s\n" % e)

Parameters

Responses

Status: 200 - OK


apiPidGet


/api/pid

Usage and SDK Samples

curl -X GET\
-H "ipost-auth-token: [[apiKey]]"\
"https://ipost.rocks//api/pid"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: appTokenAuthHeader
        ApiKeyAuth appTokenAuthHeader = (ApiKeyAuth) defaultClient.getAuthentication("appTokenAuthHeader");
        appTokenAuthHeader.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //appTokenAuthHeader.setApiKeyPrefix("Token");

        DefaultApi apiInstance = new DefaultApi();
        try {
            apiInstance.apiPidGet();
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiPidGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        try {
            apiInstance.apiPidGet();
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiPidGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: appTokenAuthHeader)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"ipost-auth-token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"ipost-auth-token"];

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance apiPidGetWithCompletionHandler: 
              ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IPostApi = require('i_post_api');
var defaultClient = IPostApi.ApiClient.instance;

// Configure API key authorization: appTokenAuthHeader
var appTokenAuthHeader = defaultClient.authentications['appTokenAuthHeader'];
appTokenAuthHeader.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//appTokenAuthHeader.apiKeyPrefix['ipost-auth-token'] = "Token"

var api = new IPostApi.DefaultApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.apiPidGet(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiPidGetExample
    {
        public void main()
        {

            // Configure API key authorization: appTokenAuthHeader
            Configuration.Default.ApiKey.Add("ipost-auth-token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("ipost-auth-token", "Bearer");

            var apiInstance = new DefaultApi();

            try
            {
                apiInstance.apiPidGet();
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.apiPidGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: appTokenAuthHeader
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('ipost-auth-token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('ipost-auth-token', 'Bearer');

$api_instance = new Swagger\Client\ApiDefaultApi();

try {
    $api_instance->apiPidGet();
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->apiPidGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

# Configure API key authorization: appTokenAuthHeader
$WWW::SwaggerClient::Configuration::api_key->{'ipost-auth-token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'ipost-auth-token'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DefaultApi->new();

eval { 
    $api_instance->apiPidGet();
};
if ($@) {
    warn "Exception when calling DefaultApi->apiPidGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: appTokenAuthHeader
swagger_client.configuration.api_key['ipost-auth-token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['ipost-auth-token'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DefaultApi()

try: 
    api_instance.api_pid_get()
except ApiException as e:
    print("Exception when calling DefaultApi->apiPidGet: %s\n" % e)

Parameters

Responses

Status: 200 - OK


apiPostPost


/api/post

Usage and SDK Samples

curl -X POST\
-H "ipost-auth-token: [[apiKey]]"\
-H "Content-Type: */*"\
"https://ipost.rocks//api/post"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: appTokenAuthHeader
        ApiKeyAuth appTokenAuthHeader = (ApiKeyAuth) defaultClient.getAuthentication("appTokenAuthHeader");
        appTokenAuthHeader.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //appTokenAuthHeader.setApiKeyPrefix("Token");

        DefaultApi apiInstance = new DefaultApi();
        Api_post_body body = ; // Api_post_body | 
        try {
            apiInstance.apiPostPost(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiPostPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Api_post_body body = ; // Api_post_body | 
        try {
            apiInstance.apiPostPost(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiPostPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: appTokenAuthHeader)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"ipost-auth-token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"ipost-auth-token"];
Api_post_body *body = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance apiPostPostWith:body
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IPostApi = require('i_post_api');
var defaultClient = IPostApi.ApiClient.instance;

// Configure API key authorization: appTokenAuthHeader
var appTokenAuthHeader = defaultClient.authentications['appTokenAuthHeader'];
appTokenAuthHeader.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//appTokenAuthHeader.apiKeyPrefix['ipost-auth-token'] = "Token"

var api = new IPostApi.DefaultApi()
var opts = { 
  'body':  // {{Api_post_body}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.apiPostPost(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiPostPostExample
    {
        public void main()
        {

            // Configure API key authorization: appTokenAuthHeader
            Configuration.Default.ApiKey.Add("ipost-auth-token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("ipost-auth-token", "Bearer");

            var apiInstance = new DefaultApi();
            var body = new Api_post_body(); // Api_post_body |  (optional) 

            try
            {
                apiInstance.apiPostPost(body);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.apiPostPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: appTokenAuthHeader
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('ipost-auth-token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('ipost-auth-token', 'Bearer');

$api_instance = new Swagger\Client\ApiDefaultApi();
$body = ; // Api_post_body | 

try {
    $api_instance->apiPostPost($body);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->apiPostPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

# Configure API key authorization: appTokenAuthHeader
$WWW::SwaggerClient::Configuration::api_key->{'ipost-auth-token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'ipost-auth-token'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $body = WWW::SwaggerClient::Object::Api_post_body->new(); # Api_post_body | 

eval { 
    $api_instance->apiPostPost(body => $body);
};
if ($@) {
    warn "Exception when calling DefaultApi->apiPostPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: appTokenAuthHeader
swagger_client.configuration.api_key['ipost-auth-token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['ipost-auth-token'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
body =  # Api_post_body |  (optional)

try: 
    api_instance.api_post_post(body=body)
except ApiException as e:
    print("Exception when calling DefaultApi->apiPostPost: %s\n" % e)

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - OK

Status: 500 - Internal Server Error


apiSearchGet


/api/search

Usage and SDK Samples

curl -X GET\
-H "ipost-auth-token: [[apiKey]]"\
"https://ipost.rocks//api/search?type=&selector="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: appTokenAuthHeader
        ApiKeyAuth appTokenAuthHeader = (ApiKeyAuth) defaultClient.getAuthentication("appTokenAuthHeader");
        appTokenAuthHeader.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //appTokenAuthHeader.setApiKeyPrefix("Token");

        DefaultApi apiInstance = new DefaultApi();
        String type = type_example; // String | 
        String selector = selector_example; // String | 
        try {
            apiInstance.apiSearchGet(type, selector);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiSearchGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String type = type_example; // String | 
        String selector = selector_example; // String | 
        try {
            apiInstance.apiSearchGet(type, selector);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiSearchGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: appTokenAuthHeader)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"ipost-auth-token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"ipost-auth-token"];
String *type = type_example; //  (optional)
String *selector = selector_example; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance apiSearchGetWith:type
    selector:selector
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IPostApi = require('i_post_api');
var defaultClient = IPostApi.ApiClient.instance;

// Configure API key authorization: appTokenAuthHeader
var appTokenAuthHeader = defaultClient.authentications['appTokenAuthHeader'];
appTokenAuthHeader.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//appTokenAuthHeader.apiKeyPrefix['ipost-auth-token'] = "Token"

var api = new IPostApi.DefaultApi()
var opts = { 
  'type': type_example, // {{String}} 
  'selector': selector_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.apiSearchGet(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiSearchGetExample
    {
        public void main()
        {

            // Configure API key authorization: appTokenAuthHeader
            Configuration.Default.ApiKey.Add("ipost-auth-token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("ipost-auth-token", "Bearer");

            var apiInstance = new DefaultApi();
            var type = type_example;  // String |  (optional) 
            var selector = selector_example;  // String |  (optional) 

            try
            {
                apiInstance.apiSearchGet(type, selector);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.apiSearchGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: appTokenAuthHeader
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('ipost-auth-token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('ipost-auth-token', 'Bearer');

$api_instance = new Swagger\Client\ApiDefaultApi();
$type = type_example; // String | 
$selector = selector_example; // String | 

try {
    $api_instance->apiSearchGet($type, $selector);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->apiSearchGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

# Configure API key authorization: appTokenAuthHeader
$WWW::SwaggerClient::Configuration::api_key->{'ipost-auth-token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'ipost-auth-token'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $type = type_example; # String | 
my $selector = selector_example; # String | 

eval { 
    $api_instance->apiSearchGet(type => $type, selector => $selector);
};
if ($@) {
    warn "Exception when calling DefaultApi->apiSearchGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: appTokenAuthHeader
swagger_client.configuration.api_key['ipost-auth-token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['ipost-auth-token'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
type = type_example # String |  (optional)
selector = selector_example # String |  (optional)

try: 
    api_instance.api_search_get(type=type, selector=selector)
except ApiException as e:
    print("Exception when calling DefaultApi->apiSearchGet: %s\n" % e)

Parameters

Query parameters
Name Description
type
String
selector
String

Responses

Status: 200 - OK


apiSetBioPost


/api/setBio

Usage and SDK Samples

curl -X POST\
-H "ipost-auth-token: [[apiKey]]"\
-H "Content-Type: */*"\
"https://ipost.rocks//api/setBio"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: appTokenAuthHeader
        ApiKeyAuth appTokenAuthHeader = (ApiKeyAuth) defaultClient.getAuthentication("appTokenAuthHeader");
        appTokenAuthHeader.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //appTokenAuthHeader.setApiKeyPrefix("Token");

        DefaultApi apiInstance = new DefaultApi();
        Api_setBio_body body = ; // Api_setBio_body | 
        try {
            apiInstance.apiSetBioPost(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiSetBioPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Api_setBio_body body = ; // Api_setBio_body | 
        try {
            apiInstance.apiSetBioPost(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiSetBioPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: appTokenAuthHeader)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"ipost-auth-token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"ipost-auth-token"];
Api_setBio_body *body = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance apiSetBioPostWith:body
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IPostApi = require('i_post_api');
var defaultClient = IPostApi.ApiClient.instance;

// Configure API key authorization: appTokenAuthHeader
var appTokenAuthHeader = defaultClient.authentications['appTokenAuthHeader'];
appTokenAuthHeader.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//appTokenAuthHeader.apiKeyPrefix['ipost-auth-token'] = "Token"

var api = new IPostApi.DefaultApi()
var opts = { 
  'body':  // {{Api_setBio_body}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.apiSetBioPost(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiSetBioPostExample
    {
        public void main()
        {

            // Configure API key authorization: appTokenAuthHeader
            Configuration.Default.ApiKey.Add("ipost-auth-token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("ipost-auth-token", "Bearer");

            var apiInstance = new DefaultApi();
            var body = new Api_setBio_body(); // Api_setBio_body |  (optional) 

            try
            {
                apiInstance.apiSetBioPost(body);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.apiSetBioPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: appTokenAuthHeader
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('ipost-auth-token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('ipost-auth-token', 'Bearer');

$api_instance = new Swagger\Client\ApiDefaultApi();
$body = ; // Api_setBio_body | 

try {
    $api_instance->apiSetBioPost($body);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->apiSetBioPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

# Configure API key authorization: appTokenAuthHeader
$WWW::SwaggerClient::Configuration::api_key->{'ipost-auth-token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'ipost-auth-token'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $body = WWW::SwaggerClient::Object::Api_setBio_body->new(); # Api_setBio_body | 

eval { 
    $api_instance->apiSetBioPost(body => $body);
};
if ($@) {
    warn "Exception when calling DefaultApi->apiSetBioPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: appTokenAuthHeader
swagger_client.configuration.api_key['ipost-auth-token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['ipost-auth-token'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
body =  # Api_setBio_body |  (optional)

try: 
    api_instance.api_set_bio_post(body=body)
except ApiException as e:
    print("Exception when calling DefaultApi->apiSetBioPost: %s\n" % e)

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - OK

Status: 410 - argument/data error

Status: 411 - argument/data error


apiSetavatarPost


/api/setavatar

Usage and SDK Samples

curl -X POST\
-H "ipost-auth-token: [[apiKey]]"\
"https://ipost.rocks//api/setavatar"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: appTokenAuthHeader
        ApiKeyAuth appTokenAuthHeader = (ApiKeyAuth) defaultClient.getAuthentication("appTokenAuthHeader");
        appTokenAuthHeader.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //appTokenAuthHeader.setApiKeyPrefix("Token");

        DefaultApi apiInstance = new DefaultApi();
        try {
            apiInstance.apiSetavatarPost();
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiSetavatarPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        try {
            apiInstance.apiSetavatarPost();
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiSetavatarPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: appTokenAuthHeader)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"ipost-auth-token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"ipost-auth-token"];

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance apiSetavatarPostWithCompletionHandler: 
              ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IPostApi = require('i_post_api');
var defaultClient = IPostApi.ApiClient.instance;

// Configure API key authorization: appTokenAuthHeader
var appTokenAuthHeader = defaultClient.authentications['appTokenAuthHeader'];
appTokenAuthHeader.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//appTokenAuthHeader.apiKeyPrefix['ipost-auth-token'] = "Token"

var api = new IPostApi.DefaultApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.apiSetavatarPost(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiSetavatarPostExample
    {
        public void main()
        {

            // Configure API key authorization: appTokenAuthHeader
            Configuration.Default.ApiKey.Add("ipost-auth-token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("ipost-auth-token", "Bearer");

            var apiInstance = new DefaultApi();

            try
            {
                apiInstance.apiSetavatarPost();
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.apiSetavatarPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: appTokenAuthHeader
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('ipost-auth-token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('ipost-auth-token', 'Bearer');

$api_instance = new Swagger\Client\ApiDefaultApi();

try {
    $api_instance->apiSetavatarPost();
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->apiSetavatarPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

# Configure API key authorization: appTokenAuthHeader
$WWW::SwaggerClient::Configuration::api_key->{'ipost-auth-token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'ipost-auth-token'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DefaultApi->new();

eval { 
    $api_instance->apiSetavatarPost();
};
if ($@) {
    warn "Exception when calling DefaultApi->apiSetavatarPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: appTokenAuthHeader
swagger_client.configuration.api_key['ipost-auth-token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['ipost-auth-token'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DefaultApi()

try: 
    api_instance.api_setavatar_post()
except ApiException as e:
    print("Exception when calling DefaultApi->apiSetavatarPost: %s\n" % e)

Parameters

Responses

Status: 200 - OK

Status: 410 - argument/data error

Status: 411 - argument/data error

Status: 500 - Internal Server Error


apiSettingsGet


/api/settings

Usage and SDK Samples

curl -X GET\
-H "ipost-auth-token: [[apiKey]]"\
"https://ipost.rocks//api/settings"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: appTokenAuthHeader
        ApiKeyAuth appTokenAuthHeader = (ApiKeyAuth) defaultClient.getAuthentication("appTokenAuthHeader");
        appTokenAuthHeader.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //appTokenAuthHeader.setApiKeyPrefix("Token");

        DefaultApi apiInstance = new DefaultApi();
        try {
            apiInstance.apiSettingsGet();
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiSettingsGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        try {
            apiInstance.apiSettingsGet();
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiSettingsGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: appTokenAuthHeader)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"ipost-auth-token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"ipost-auth-token"];

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance apiSettingsGetWithCompletionHandler: 
              ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IPostApi = require('i_post_api');
var defaultClient = IPostApi.ApiClient.instance;

// Configure API key authorization: appTokenAuthHeader
var appTokenAuthHeader = defaultClient.authentications['appTokenAuthHeader'];
appTokenAuthHeader.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//appTokenAuthHeader.apiKeyPrefix['ipost-auth-token'] = "Token"

var api = new IPostApi.DefaultApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.apiSettingsGet(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiSettingsGetExample
    {
        public void main()
        {

            // Configure API key authorization: appTokenAuthHeader
            Configuration.Default.ApiKey.Add("ipost-auth-token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("ipost-auth-token", "Bearer");

            var apiInstance = new DefaultApi();

            try
            {
                apiInstance.apiSettingsGet();
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.apiSettingsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: appTokenAuthHeader
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('ipost-auth-token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('ipost-auth-token', 'Bearer');

$api_instance = new Swagger\Client\ApiDefaultApi();

try {
    $api_instance->apiSettingsGet();
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->apiSettingsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

# Configure API key authorization: appTokenAuthHeader
$WWW::SwaggerClient::Configuration::api_key->{'ipost-auth-token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'ipost-auth-token'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DefaultApi->new();

eval { 
    $api_instance->apiSettingsGet();
};
if ($@) {
    warn "Exception when calling DefaultApi->apiSettingsGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: appTokenAuthHeader
swagger_client.configuration.api_key['ipost-auth-token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['ipost-auth-token'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DefaultApi()

try: 
    api_instance.api_settings_get()
except ApiException as e:
    print("Exception when calling DefaultApi->apiSettingsGet: %s\n" % e)

Parameters

Responses

Status: 200 - OK


apiSettingsPost


/api/settings

Usage and SDK Samples

curl -X POST\
-H "ipost-auth-token: [[apiKey]]"\
-H "Content-Type: */*"\
"https://ipost.rocks//api/settings"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: appTokenAuthHeader
        ApiKeyAuth appTokenAuthHeader = (ApiKeyAuth) defaultClient.getAuthentication("appTokenAuthHeader");
        appTokenAuthHeader.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //appTokenAuthHeader.setApiKeyPrefix("Token");

        DefaultApi apiInstance = new DefaultApi();
        Api_settings_body body = ; // Api_settings_body | 
        try {
            apiInstance.apiSettingsPost(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiSettingsPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Api_settings_body body = ; // Api_settings_body | 
        try {
            apiInstance.apiSettingsPost(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiSettingsPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: appTokenAuthHeader)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"ipost-auth-token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"ipost-auth-token"];
Api_settings_body *body = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance apiSettingsPostWith:body
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IPostApi = require('i_post_api');
var defaultClient = IPostApi.ApiClient.instance;

// Configure API key authorization: appTokenAuthHeader
var appTokenAuthHeader = defaultClient.authentications['appTokenAuthHeader'];
appTokenAuthHeader.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//appTokenAuthHeader.apiKeyPrefix['ipost-auth-token'] = "Token"

var api = new IPostApi.DefaultApi()
var opts = { 
  'body':  // {{Api_settings_body}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.apiSettingsPost(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiSettingsPostExample
    {
        public void main()
        {

            // Configure API key authorization: appTokenAuthHeader
            Configuration.Default.ApiKey.Add("ipost-auth-token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("ipost-auth-token", "Bearer");

            var apiInstance = new DefaultApi();
            var body = new Api_settings_body(); // Api_settings_body |  (optional) 

            try
            {
                apiInstance.apiSettingsPost(body);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.apiSettingsPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: appTokenAuthHeader
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('ipost-auth-token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('ipost-auth-token', 'Bearer');

$api_instance = new Swagger\Client\ApiDefaultApi();
$body = ; // Api_settings_body | 

try {
    $api_instance->apiSettingsPost($body);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->apiSettingsPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

# Configure API key authorization: appTokenAuthHeader
$WWW::SwaggerClient::Configuration::api_key->{'ipost-auth-token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'ipost-auth-token'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $body = WWW::SwaggerClient::Object::Api_settings_body->new(); # Api_settings_body | 

eval { 
    $api_instance->apiSettingsPost(body => $body);
};
if ($@) {
    warn "Exception when calling DefaultApi->apiSettingsPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: appTokenAuthHeader
swagger_client.configuration.api_key['ipost-auth-token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['ipost-auth-token'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
body =  # Api_settings_body |  (optional)

try: 
    api_instance.api_settings_post(body=body)
except ApiException as e:
    print("Exception when calling DefaultApi->apiSettingsPost: %s\n" % e)

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - OK

Status: 410 - argument/data error

Status: 411 - argument/data error

Status: 412 - argument/data error

Status: 500 - Internal Server Error


authorizePost


/authorize

Usage and SDK Samples

curl -X POST\
-H "ipost-auth-token: [[apiKey]]"\
-H "Content-Type: */*"\
"https://ipost.rocks//authorize"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: appTokenAuthHeader
        ApiKeyAuth appTokenAuthHeader = (ApiKeyAuth) defaultClient.getAuthentication("appTokenAuthHeader");
        appTokenAuthHeader.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //appTokenAuthHeader.setApiKeyPrefix("Token");

        DefaultApi apiInstance = new DefaultApi();
        Authorize_body body = ; // Authorize_body | 
        try {
            apiInstance.authorizePost(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#authorizePost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Authorize_body body = ; // Authorize_body | 
        try {
            apiInstance.authorizePost(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#authorizePost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: appTokenAuthHeader)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"ipost-auth-token"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"ipost-auth-token"];
Authorize_body *body = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance authorizePostWith:body
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IPostApi = require('i_post_api');
var defaultClient = IPostApi.ApiClient.instance;

// Configure API key authorization: appTokenAuthHeader
var appTokenAuthHeader = defaultClient.authentications['appTokenAuthHeader'];
appTokenAuthHeader.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//appTokenAuthHeader.apiKeyPrefix['ipost-auth-token'] = "Token"

var api = new IPostApi.DefaultApi()
var opts = { 
  'body':  // {{Authorize_body}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.authorizePost(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class authorizePostExample
    {
        public void main()
        {

            // Configure API key authorization: appTokenAuthHeader
            Configuration.Default.ApiKey.Add("ipost-auth-token", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("ipost-auth-token", "Bearer");

            var apiInstance = new DefaultApi();
            var body = new Authorize_body(); // Authorize_body |  (optional) 

            try
            {
                apiInstance.authorizePost(body);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.authorizePost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: appTokenAuthHeader
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('ipost-auth-token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('ipost-auth-token', 'Bearer');

$api_instance = new Swagger\Client\ApiDefaultApi();
$body = ; // Authorize_body | 

try {
    $api_instance->authorizePost($body);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->authorizePost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

# Configure API key authorization: appTokenAuthHeader
$WWW::SwaggerClient::Configuration::api_key->{'ipost-auth-token'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'ipost-auth-token'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $body = WWW::SwaggerClient::Object::Authorize_body->new(); # Authorize_body | 

eval { 
    $api_instance->authorizePost(body => $body);
};
if ($@) {
    warn "Exception when calling DefaultApi->authorizePost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: appTokenAuthHeader
swagger_client.configuration.api_key['ipost-auth-token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['ipost-auth-token'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
body =  # Authorize_body |  (optional)

try: 
    api_instance.authorize_post(body=body)
except ApiException as e:
    print("Exception when calling DefaultApi->authorizePost: %s\n" % e)

Parameters

Body parameters
Name Description
body

Responses


avatarsAvatarGet


/avatars/{avatar}

Usage and SDK Samples

curl -X GET\
"https://ipost.rocks//avatars/{avatar}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String avatar = avatar_example; // String | 
        try {
            apiInstance.avatarsAvatarGet(avatar);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#avatarsAvatarGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String avatar = avatar_example; // String | 
        try {
            apiInstance.avatarsAvatarGet(avatar);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#avatarsAvatarGet");
            e.printStackTrace();
        }
    }
}
String *avatar = avatar_example; // 

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance avatarsAvatarGetWith:avatar
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IPostApi = require('i_post_api');

var api = new IPostApi.DefaultApi()
var avatar = avatar_example; // {{String}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.avatarsAvatarGet(avatar, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class avatarsAvatarGetExample
    {
        public void main()
        {

            var apiInstance = new DefaultApi();
            var avatar = avatar_example;  // String | 

            try
            {
                apiInstance.avatarsAvatarGet(avatar);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.avatarsAvatarGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiDefaultApi();
$avatar = avatar_example; // String | 

try {
    $api_instance->avatarsAvatarGet($avatar);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->avatarsAvatarGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $avatar = avatar_example; # String | 

eval { 
    $api_instance->avatarsAvatarGet(avatar => $avatar);
};
if ($@) {
    warn "Exception when calling DefaultApi->avatarsAvatarGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
avatar = avatar_example # String | 

try: 
    api_instance.avatars_avatar_get(avatar)
except ApiException as e:
    print("Exception when calling DefaultApi->avatarsAvatarGet: %s\n" % e)

Parameters

Path parameters
Name Description
avatar*
String
Required

Responses

Status: 200 - OK

Status: 404 - Not Found


cssFileGet


/css/{file}

Usage and SDK Samples

curl -X GET\
"https://ipost.rocks//css/{file}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String file = file_example; // String | 
        try {
            apiInstance.cssFileGet(file);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#cssFileGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String file = file_example; // String | 
        try {
            apiInstance.cssFileGet(file);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#cssFileGet");
            e.printStackTrace();
        }
    }
}
String *file = file_example; // 

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance cssFileGetWith:file
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IPostApi = require('i_post_api');

var api = new IPostApi.DefaultApi()
var file = file_example; // {{String}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.cssFileGet(file, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class cssFileGetExample
    {
        public void main()
        {

            var apiInstance = new DefaultApi();
            var file = file_example;  // String | 

            try
            {
                apiInstance.cssFileGet(file);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.cssFileGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiDefaultApi();
$file = file_example; // String | 

try {
    $api_instance->cssFileGet($file);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->cssFileGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $file = file_example; # String | 

eval { 
    $api_instance->cssFileGet(file => $file);
};
if ($@) {
    warn "Exception when calling DefaultApi->cssFileGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
file = file_example # String | 

try: 
    api_instance.css_file_get(file)
except ApiException as e:
    print("Exception when calling DefaultApi->cssFileGet: %s\n" % e)

Parameters

Path parameters
Name Description
file*
String
Required

Responses

Status: 200 - OK

Status: 404 - Not Found


fileGet


/{file}

Usage and SDK Samples

curl -X GET\
"https://ipost.rocks//{file}?id="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String file = file_example; // String | 
        String id = id_example; // String | 
        try {
            apiInstance.fileGet(file, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#fileGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String file = file_example; // String | 
        String id = id_example; // String | 
        try {
            apiInstance.fileGet(file, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#fileGet");
            e.printStackTrace();
        }
    }
}
String *file = file_example; // 
String *id = id_example; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance fileGetWith:file
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IPostApi = require('i_post_api');

var api = new IPostApi.DefaultApi()
var file = file_example; // {{String}} 
var opts = { 
  'id': id_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.fileGet(file, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class fileGetExample
    {
        public void main()
        {

            var apiInstance = new DefaultApi();
            var file = file_example;  // String | 
            var id = id_example;  // String |  (optional) 

            try
            {
                apiInstance.fileGet(file, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.fileGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiDefaultApi();
$file = file_example; // String | 
$id = id_example; // String | 

try {
    $api_instance->fileGet($file, $id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->fileGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $file = file_example; # String | 
my $id = id_example; # String | 

eval { 
    $api_instance->fileGet(file => $file, id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->fileGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
file = file_example # String | 
id = id_example # String |  (optional)

try: 
    api_instance.file_get(file, id=id)
except ApiException as e:
    print("Exception when calling DefaultApi->fileGet: %s\n" % e)

Parameters

Path parameters
Name Description
file*
String
Required
Query parameters
Name Description
id
String

Responses

Status: 200 - OK

Status: 404 - Not Found

Status: 500 - Internal Server Error


imagesFileGet


/images/{file}

Usage and SDK Samples

curl -X GET\
"https://ipost.rocks//images/{file}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String file = file_example; // String | 
        try {
            apiInstance.imagesFileGet(file);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#imagesFileGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String file = file_example; // String | 
        try {
            apiInstance.imagesFileGet(file);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#imagesFileGet");
            e.printStackTrace();
        }
    }
}
String *file = file_example; // 

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance imagesFileGetWith:file
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IPostApi = require('i_post_api');

var api = new IPostApi.DefaultApi()
var file = file_example; // {{String}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.imagesFileGet(file, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class imagesFileGetExample
    {
        public void main()
        {

            var apiInstance = new DefaultApi();
            var file = file_example;  // String | 

            try
            {
                apiInstance.imagesFileGet(file);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.imagesFileGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiDefaultApi();
$file = file_example; // String | 

try {
    $api_instance->imagesFileGet($file);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->imagesFileGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $file = file_example; # String | 

eval { 
    $api_instance->imagesFileGet(file => $file);
};
if ($@) {
    warn "Exception when calling DefaultApi->imagesFileGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
file = file_example # String | 

try: 
    api_instance.images_file_get(file)
except ApiException as e:
    print("Exception when calling DefaultApi->imagesFileGet: %s\n" % e)

Parameters

Path parameters
Name Description
file*
String
Required

Responses

Status: 200 - OK

Status: 404 - Not Found


jsFileGet


/js/{file}

Usage and SDK Samples

curl -X GET\
"https://ipost.rocks//js/{file}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String file = file_example; // String | 
        try {
            apiInstance.jsFileGet(file);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#jsFileGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String file = file_example; // String | 
        try {
            apiInstance.jsFileGet(file);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#jsFileGet");
            e.printStackTrace();
        }
    }
}
String *file = file_example; // 

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance jsFileGetWith:file
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IPostApi = require('i_post_api');

var api = new IPostApi.DefaultApi()
var file = file_example; // {{String}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.jsFileGet(file, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class jsFileGetExample
    {
        public void main()
        {

            var apiInstance = new DefaultApi();
            var file = file_example;  // String | 

            try
            {
                apiInstance.jsFileGet(file);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.jsFileGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiDefaultApi();
$file = file_example; // String | 

try {
    $api_instance->jsFileGet($file);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->jsFileGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $file = file_example; # String | 

eval { 
    $api_instance->jsFileGet(file => $file);
};
if ($@) {
    warn "Exception when calling DefaultApi->jsFileGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
file = file_example # String | 

try: 
    api_instance.js_file_get(file)
except ApiException as e:
    print("Exception when calling DefaultApi->jsFileGet: %s\n" % e)

Parameters

Path parameters
Name Description
file*
String
Required

Responses

Status: 200 - OK

Status: 404 - Not Found


loginPost


/login

Usage and SDK Samples

curl -X POST\
-H "Content-Type: */*"\
"https://ipost.rocks//login"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        Login_body body = ; // Login_body | 
        try {
            apiInstance.loginPost(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#loginPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Login_body body = ; // Login_body | 
        try {
            apiInstance.loginPost(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#loginPost");
            e.printStackTrace();
        }
    }
}
Login_body *body = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance loginPostWith:body
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IPostApi = require('i_post_api');

var api = new IPostApi.DefaultApi()
var opts = { 
  'body':  // {{Login_body}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.loginPost(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class loginPostExample
    {
        public void main()
        {

            var apiInstance = new DefaultApi();
            var body = new Login_body(); // Login_body |  (optional) 

            try
            {
                apiInstance.loginPost(body);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.loginPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiDefaultApi();
$body = ; // Login_body | 

try {
    $api_instance->loginPost($body);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->loginPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $body = WWW::SwaggerClient::Object::Login_body->new(); # Login_body | 

eval { 
    $api_instance->loginPost(body => $body);
};
if ($@) {
    warn "Exception when calling DefaultApi->loginPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
body =  # Login_body |  (optional)

try: 
    api_instance.login_post(body=body)
except ApiException as e:
    print("Exception when calling DefaultApi->loginPost: %s\n" % e)

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - OK

Status: 410 - argument/data error

Status: 411 - argument/data error

Status: 412 - argument/data error

Status: 413 - argument/data error

Status: 414 - argument/data error

Status: 415 - argument/data error

Status: 416 - argument/data error

Status: 417 - argument/data error


logoutGet


/logout

Usage and SDK Samples

curl -X GET\
"https://ipost.rocks//logout"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        try {
            apiInstance.logoutGet();
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#logoutGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        try {
            apiInstance.logoutGet();
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#logoutGet");
            e.printStackTrace();
        }
    }
}

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance logoutGetWithCompletionHandler: 
              ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IPostApi = require('i_post_api');

var api = new IPostApi.DefaultApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.logoutGet(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class logoutGetExample
    {
        public void main()
        {

            var apiInstance = new DefaultApi();

            try
            {
                apiInstance.logoutGet();
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.logoutGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiDefaultApi();

try {
    $api_instance->logoutGet();
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->logoutGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();

eval { 
    $api_instance->logoutGet();
};
if ($@) {
    warn "Exception when calling DefaultApi->logoutGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()

try: 
    api_instance.logout_get()
except ApiException as e:
    print("Exception when calling DefaultApi->logoutGet: %s\n" % e)

Parameters

Responses


redeemauthcodePost


/redeemauthcode

Usage and SDK Samples

curl -X POST\
-H "Content-Type: */*"\
"https://ipost.rocks//redeemauthcode"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        Redeemauthcode_body body = ; // Redeemauthcode_body | 
        try {
            apiInstance.redeemauthcodePost(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#redeemauthcodePost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Redeemauthcode_body body = ; // Redeemauthcode_body | 
        try {
            apiInstance.redeemauthcodePost(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#redeemauthcodePost");
            e.printStackTrace();
        }
    }
}
Redeemauthcode_body *body = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance redeemauthcodePostWith:body
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IPostApi = require('i_post_api');

var api = new IPostApi.DefaultApi()
var opts = { 
  'body':  // {{Redeemauthcode_body}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.redeemauthcodePost(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class redeemauthcodePostExample
    {
        public void main()
        {

            var apiInstance = new DefaultApi();
            var body = new Redeemauthcode_body(); // Redeemauthcode_body |  (optional) 

            try
            {
                apiInstance.redeemauthcodePost(body);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.redeemauthcodePost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiDefaultApi();
$body = ; // Redeemauthcode_body | 

try {
    $api_instance->redeemauthcodePost($body);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->redeemauthcodePost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $body = WWW::SwaggerClient::Object::Redeemauthcode_body->new(); # Redeemauthcode_body | 

eval { 
    $api_instance->redeemauthcodePost(body => $body);
};
if ($@) {
    warn "Exception when calling DefaultApi->redeemauthcodePost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
body =  # Redeemauthcode_body |  (optional)

try: 
    api_instance.redeemauthcode_post(body=body)
except ApiException as e:
    print("Exception when calling DefaultApi->redeemauthcodePost: %s\n" % e)

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - OK

Status: 400 - Bad Request

Status: 420 - invalid authetication object


registerPost


/register

Usage and SDK Samples

curl -X POST\
-H "Content-Type: */*"\
"https://ipost.rocks//register"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        Register_body body = ; // Register_body | 
        try {
            apiInstance.registerPost(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#registerPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Register_body body = ; // Register_body | 
        try {
            apiInstance.registerPost(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#registerPost");
            e.printStackTrace();
        }
    }
}
Register_body *body = ; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance registerPostWith:body
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IPostApi = require('i_post_api');

var api = new IPostApi.DefaultApi()
var opts = { 
  'body':  // {{Register_body}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.registerPost(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class registerPostExample
    {
        public void main()
        {

            var apiInstance = new DefaultApi();
            var body = new Register_body(); // Register_body |  (optional) 

            try
            {
                apiInstance.registerPost(body);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.registerPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiDefaultApi();
$body = ; // Register_body | 

try {
    $api_instance->registerPost($body);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->registerPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $body = WWW::SwaggerClient::Object::Register_body->new(); # Register_body | 

eval { 
    $api_instance->registerPost(body => $body);
};
if ($@) {
    warn "Exception when calling DefaultApi->registerPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
body =  # Register_body |  (optional)

try: 
    api_instance.register_post(body=body)
except ApiException as e:
    print("Exception when calling DefaultApi->registerPost: %s\n" % e)

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - OK

Status: 410 - argument/data error

Status: 411 - argument/data error

Status: 412 - argument/data error

Status: 413 - argument/data error

Status: 414 - argument/data error

Status: 415 - argument/data error

Status: 416 - argument/data error

Status: 417 - argument/data error

Status: 418 - argument/data error


rootGet


/

Usage and SDK Samples

curl -X GET\
"https://ipost.rocks//"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        try {
            apiInstance.rootGet();
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#rootGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        try {
            apiInstance.rootGet();
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#rootGet");
            e.printStackTrace();
        }
    }
}

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance rootGetWithCompletionHandler: 
              ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IPostApi = require('i_post_api');

var api = new IPostApi.DefaultApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.rootGet(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class rootGetExample
    {
        public void main()
        {

            var apiInstance = new DefaultApi();

            try
            {
                apiInstance.rootGet();
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.rootGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiDefaultApi();

try {
    $api_instance->rootGet();
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->rootGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();

eval { 
    $api_instance->rootGet();
};
if ($@) {
    warn "Exception when calling DefaultApi->rootGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()

try: 
    api_instance.root_get()
except ApiException as e:
    print("Exception when calling DefaultApi->rootGet: %s\n" % e)

Parameters

Responses


userUploadsFileGet


/user_uploads/{file}

Usage and SDK Samples

curl -X GET\
"https://ipost.rocks//user_uploads/{file}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String file = file_example; // String | 
        try {
            apiInstance.userUploadsFileGet(file);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#userUploadsFileGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String file = file_example; // String | 
        try {
            apiInstance.userUploadsFileGet(file);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#userUploadsFileGet");
            e.printStackTrace();
        }
    }
}
String *file = file_example; // 

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance userUploadsFileGetWith:file
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IPostApi = require('i_post_api');

var api = new IPostApi.DefaultApi()
var file = file_example; // {{String}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.userUploadsFileGet(file, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class userUploadsFileGetExample
    {
        public void main()
        {

            var apiInstance = new DefaultApi();
            var file = file_example;  // String | 

            try
            {
                apiInstance.userUploadsFileGet(file);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.userUploadsFileGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiDefaultApi();
$file = file_example; // String | 

try {
    $api_instance->userUploadsFileGet($file);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->userUploadsFileGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $file = file_example; # String | 

eval { 
    $api_instance->userUploadsFileGet(file => $file);
};
if ($@) {
    warn "Exception when calling DefaultApi->userUploadsFileGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
file = file_example # String | 

try: 
    api_instance.user_uploads_file_get(file)
except ApiException as e:
    print("Exception when calling DefaultApi->userUploadsFileGet: %s\n" % e)

Parameters

Path parameters
Name Description
file*
String
Required

Responses

Status: 200 - OK

Status: 404 - Not Found


usersUserGet


/users/{user}

Usage and SDK Samples

curl -X GET\
"https://ipost.rocks//users/{user}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String user = user_example; // String | 
        try {
            apiInstance.usersUserGet(user);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#usersUserGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String user = user_example; // String | 
        try {
            apiInstance.usersUserGet(user);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#usersUserGet");
            e.printStackTrace();
        }
    }
}
String *user = user_example; // 

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance usersUserGetWith:user
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var IPostApi = require('i_post_api');

var api = new IPostApi.DefaultApi()
var user = user_example; // {{String}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.usersUserGet(user, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class usersUserGetExample
    {
        public void main()
        {

            var apiInstance = new DefaultApi();
            var user = user_example;  // String | 

            try
            {
                apiInstance.usersUserGet(user);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.usersUserGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiDefaultApi();
$user = user_example; // String | 

try {
    $api_instance->usersUserGet($user);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->usersUserGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $user = user_example; # String | 

eval { 
    $api_instance->usersUserGet(user => $user);
};
if ($@) {
    warn "Exception when calling DefaultApi->usersUserGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
user = user_example # String | 

try: 
    api_instance.users_user_get(user)
except ApiException as e:
    print("Exception when calling DefaultApi->usersUserGet: %s\n" % e)

Parameters

Path parameters
Name Description
user*
String
Required

Responses

Status: 200 - OK