پارسااسپیس

Copy

v1FilesCopyPost


/v1/files/copy

Usage and SDK Samples

curl -X POST -H "Authorization: [[apiKey]]" "https://api.apieco.ir/parsaspace/v1/files/copy"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CopyApi;

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

public class CopyApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: Bearer
        ApiKeyAuth Bearer = (ApiKeyAuth) defaultClient.getAuthentication("Bearer");
        Bearer.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Bearer.setApiKeyPrefix("Token");

        CopyApi apiInstance = new CopyApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        Body_4 body = ; // Body_4 | 
        try {
            inline_response_200_1 result = apiInstance.v1FilesCopyPost(apiecoKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CopyApi#v1FilesCopyPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CopyApi;

public class CopyApiExample {

    public static void main(String[] args) {
        CopyApi apiInstance = new CopyApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        Body_4 body = ; // Body_4 | 
        try {
            inline_response_200_1 result = apiInstance.v1FilesCopyPost(apiecoKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CopyApi#v1FilesCopyPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: Bearer)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Authorization"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Authorization"];

String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
Body_4 *body = ; //  (optional)

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

[apiInstance v1FilesCopyPostWith:apiecoKey
    body:body
              completionHandler: ^(inline_response_200_1 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SwaggerJsClient = require('swagger-js-client');
var defaultClient = SwaggerJsClient.ApiClient.instance;

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

var api = new SwaggerJsClient.CopyApi()

var apiecoKey = apiecoKey_example; // {String} apikey for use API

var opts = { 
  'body':  // {Body_4} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1FilesCopyPost(apiecoKey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class v1FilesCopyPostExample
    {
        public void main()
        {
            
            // Configure API key authorization: Bearer
            Configuration.Default.ApiKey.Add("Authorization", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Authorization", "Bearer");

            var apiInstance = new CopyApi();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var body = new Body_4(); // Body_4 |  (optional) 

            try
            {
                inline_response_200_1 result = apiInstance.v1FilesCopyPost(apiecoKey, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CopyApi.v1FilesCopyPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\Api\CopyApi();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$body = ; // Body_4 | 

try {
    $result = $api_instance->v1FilesCopyPost($apiecoKey, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling CopyApi->v1FilesCopyPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CopyApi;

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

my $api_instance = WWW::SwaggerClient::CopyApi->new();
my $apiecoKey = apiecoKey_example; # String | apikey for use API
my $body = WWW::SwaggerClient::Object::Body_4->new(); # Body_4 | 

eval { 
    my $result = $api_instance->v1FilesCopyPost(apiecoKey => $apiecoKey, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling CopyApi->v1FilesCopyPost: $@\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: Bearer
swagger_client.configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Authorization'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.CopyApi()
apiecoKey = apiecoKey_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
body =  # Body_4 |  (optional)

try: 
    api_response = api_instance.v1_files_copy_post(apiecoKey, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CopyApi->v1FilesCopyPost: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Body parameters
Name Description
body

Responses

Status: 200 - 200 response


Createfolder

v1FilesCreatefolderPost


/v1/files/Createfolder

Usage and SDK Samples

curl -X POST -H "Authorization: [[apiKey]]" "https://api.apieco.ir/parsaspace/v1/files/Createfolder"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CreatefolderApi;

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

public class CreatefolderApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: Bearer
        ApiKeyAuth Bearer = (ApiKeyAuth) defaultClient.getAuthentication("Bearer");
        Bearer.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Bearer.setApiKeyPrefix("Token");

        CreatefolderApi apiInstance = new CreatefolderApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        Body_5 body = ; // Body_5 | 
        try {
            inline_response_200_1 result = apiInstance.v1FilesCreatefolderPost(apiecoKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CreatefolderApi#v1FilesCreatefolderPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CreatefolderApi;

public class CreatefolderApiExample {

    public static void main(String[] args) {
        CreatefolderApi apiInstance = new CreatefolderApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        Body_5 body = ; // Body_5 | 
        try {
            inline_response_200_1 result = apiInstance.v1FilesCreatefolderPost(apiecoKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CreatefolderApi#v1FilesCreatefolderPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: Bearer)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Authorization"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Authorization"];

String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
Body_5 *body = ; //  (optional)

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

[apiInstance v1FilesCreatefolderPostWith:apiecoKey
    body:body
              completionHandler: ^(inline_response_200_1 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SwaggerJsClient = require('swagger-js-client');
var defaultClient = SwaggerJsClient.ApiClient.instance;

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

var api = new SwaggerJsClient.CreatefolderApi()

var apiecoKey = apiecoKey_example; // {String} apikey for use API

var opts = { 
  'body':  // {Body_5} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1FilesCreatefolderPost(apiecoKey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class v1FilesCreatefolderPostExample
    {
        public void main()
        {
            
            // Configure API key authorization: Bearer
            Configuration.Default.ApiKey.Add("Authorization", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Authorization", "Bearer");

            var apiInstance = new CreatefolderApi();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var body = new Body_5(); // Body_5 |  (optional) 

            try
            {
                inline_response_200_1 result = apiInstance.v1FilesCreatefolderPost(apiecoKey, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CreatefolderApi.v1FilesCreatefolderPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\Api\CreatefolderApi();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$body = ; // Body_5 | 

try {
    $result = $api_instance->v1FilesCreatefolderPost($apiecoKey, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling CreatefolderApi->v1FilesCreatefolderPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CreatefolderApi;

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

my $api_instance = WWW::SwaggerClient::CreatefolderApi->new();
my $apiecoKey = apiecoKey_example; # String | apikey for use API
my $body = WWW::SwaggerClient::Object::Body_5->new(); # Body_5 | 

eval { 
    my $result = $api_instance->v1FilesCreatefolderPost(apiecoKey => $apiecoKey, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling CreatefolderApi->v1FilesCreatefolderPost: $@\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: Bearer
swagger_client.configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Authorization'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.CreatefolderApi()
apiecoKey = apiecoKey_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
body =  # Body_5 |  (optional)

try: 
    api_response = api_instance.v1_files_createfolder_post(apiecoKey, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CreatefolderApi->v1FilesCreatefolderPost: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Body parameters
Name Description
body

Responses

Status: 200 - 200 response


List

v1FilesListPost


/v1/files/list

Usage and SDK Samples

curl -X POST -H "Authorization: [[apiKey]]" "https://api.apieco.ir/parsaspace/v1/files/list"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ListApi;

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

public class ListApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: Bearer
        ApiKeyAuth Bearer = (ApiKeyAuth) defaultClient.getAuthentication("Bearer");
        Bearer.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Bearer.setApiKeyPrefix("Token");

        ListApi apiInstance = new ListApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        Body body = ; // Body | 
        try {
            inline_response_200 result = apiInstance.v1FilesListPost(apiecoKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ListApi#v1FilesListPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ListApi;

public class ListApiExample {

    public static void main(String[] args) {
        ListApi apiInstance = new ListApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        Body body = ; // Body | 
        try {
            inline_response_200 result = apiInstance.v1FilesListPost(apiecoKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ListApi#v1FilesListPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: Bearer)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Authorization"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Authorization"];

String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
Body *body = ; //  (optional)

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

[apiInstance v1FilesListPostWith:apiecoKey
    body:body
              completionHandler: ^(inline_response_200 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SwaggerJsClient = require('swagger-js-client');
var defaultClient = SwaggerJsClient.ApiClient.instance;

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

var api = new SwaggerJsClient.ListApi()

var apiecoKey = apiecoKey_example; // {String} apikey for use API

var opts = { 
  'body':  // {Body} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1FilesListPost(apiecoKey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class v1FilesListPostExample
    {
        public void main()
        {
            
            // Configure API key authorization: Bearer
            Configuration.Default.ApiKey.Add("Authorization", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Authorization", "Bearer");

            var apiInstance = new ListApi();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var body = new Body(); // Body |  (optional) 

            try
            {
                inline_response_200 result = apiInstance.v1FilesListPost(apiecoKey, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ListApi.v1FilesListPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\Api\ListApi();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$body = ; // Body | 

try {
    $result = $api_instance->v1FilesListPost($apiecoKey, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ListApi->v1FilesListPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ListApi;

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

my $api_instance = WWW::SwaggerClient::ListApi->new();
my $apiecoKey = apiecoKey_example; # String | apikey for use API
my $body = WWW::SwaggerClient::Object::Body->new(); # Body | 

eval { 
    my $result = $api_instance->v1FilesListPost(apiecoKey => $apiecoKey, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ListApi->v1FilesListPost: $@\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: Bearer
swagger_client.configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Authorization'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.ListApi()
apiecoKey = apiecoKey_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
body =  # Body |  (optional)

try: 
    api_response = api_instance.v1_files_list_post(apiecoKey, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ListApi->v1FilesListPost: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Body parameters
Name Description
body

Responses

Status: 200 - 200 response


Move

v1FilesMovePost


/v1/files/move

Usage and SDK Samples

curl -X POST -H "Authorization: [[apiKey]]" "https://api.apieco.ir/parsaspace/v1/files/move"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MoveApi;

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

public class MoveApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: Bearer
        ApiKeyAuth Bearer = (ApiKeyAuth) defaultClient.getAuthentication("Bearer");
        Bearer.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Bearer.setApiKeyPrefix("Token");

        MoveApi apiInstance = new MoveApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        Body_3 body = ; // Body_3 | 
        try {
            inline_response_200_1 result = apiInstance.v1FilesMovePost(apiecoKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MoveApi#v1FilesMovePost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MoveApi;

public class MoveApiExample {

    public static void main(String[] args) {
        MoveApi apiInstance = new MoveApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        Body_3 body = ; // Body_3 | 
        try {
            inline_response_200_1 result = apiInstance.v1FilesMovePost(apiecoKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MoveApi#v1FilesMovePost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: Bearer)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Authorization"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Authorization"];

String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
Body_3 *body = ; //  (optional)

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

[apiInstance v1FilesMovePostWith:apiecoKey
    body:body
              completionHandler: ^(inline_response_200_1 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SwaggerJsClient = require('swagger-js-client');
var defaultClient = SwaggerJsClient.ApiClient.instance;

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

var api = new SwaggerJsClient.MoveApi()

var apiecoKey = apiecoKey_example; // {String} apikey for use API

var opts = { 
  'body':  // {Body_3} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1FilesMovePost(apiecoKey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class v1FilesMovePostExample
    {
        public void main()
        {
            
            // Configure API key authorization: Bearer
            Configuration.Default.ApiKey.Add("Authorization", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Authorization", "Bearer");

            var apiInstance = new MoveApi();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var body = new Body_3(); // Body_3 |  (optional) 

            try
            {
                inline_response_200_1 result = apiInstance.v1FilesMovePost(apiecoKey, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MoveApi.v1FilesMovePost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\Api\MoveApi();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$body = ; // Body_3 | 

try {
    $result = $api_instance->v1FilesMovePost($apiecoKey, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling MoveApi->v1FilesMovePost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::MoveApi;

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

my $api_instance = WWW::SwaggerClient::MoveApi->new();
my $apiecoKey = apiecoKey_example; # String | apikey for use API
my $body = WWW::SwaggerClient::Object::Body_3->new(); # Body_3 | 

eval { 
    my $result = $api_instance->v1FilesMovePost(apiecoKey => $apiecoKey, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling MoveApi->v1FilesMovePost: $@\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: Bearer
swagger_client.configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Authorization'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.MoveApi()
apiecoKey = apiecoKey_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
body =  # Body_3 |  (optional)

try: 
    api_response = api_instance.v1_files_move_post(apiecoKey, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MoveApi->v1FilesMovePost: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Body parameters
Name Description
body

Responses

Status: 200 - 200 response


Remote

v1RemoteNewPost


/v1/remote/new

Usage and SDK Samples

curl -X POST -H "Authorization: [[apiKey]]" "https://api.apieco.ir/parsaspace/v1/remote/new"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.RemoteApi;

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

public class RemoteApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: Bearer
        ApiKeyAuth Bearer = (ApiKeyAuth) defaultClient.getAuthentication("Bearer");
        Bearer.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Bearer.setApiKeyPrefix("Token");

        RemoteApi apiInstance = new RemoteApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        Body_7 body = ; // Body_7 | 
        try {
            inline_response_200_1 result = apiInstance.v1RemoteNewPost(apiecoKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RemoteApi#v1RemoteNewPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.RemoteApi;

public class RemoteApiExample {

    public static void main(String[] args) {
        RemoteApi apiInstance = new RemoteApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        Body_7 body = ; // Body_7 | 
        try {
            inline_response_200_1 result = apiInstance.v1RemoteNewPost(apiecoKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RemoteApi#v1RemoteNewPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: Bearer)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Authorization"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Authorization"];

String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
Body_7 *body = ; //  (optional)

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

[apiInstance v1RemoteNewPostWith:apiecoKey
    body:body
              completionHandler: ^(inline_response_200_1 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SwaggerJsClient = require('swagger-js-client');
var defaultClient = SwaggerJsClient.ApiClient.instance;

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

var api = new SwaggerJsClient.RemoteApi()

var apiecoKey = apiecoKey_example; // {String} apikey for use API

var opts = { 
  'body':  // {Body_7} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1RemoteNewPost(apiecoKey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class v1RemoteNewPostExample
    {
        public void main()
        {
            
            // Configure API key authorization: Bearer
            Configuration.Default.ApiKey.Add("Authorization", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Authorization", "Bearer");

            var apiInstance = new RemoteApi();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var body = new Body_7(); // Body_7 |  (optional) 

            try
            {
                inline_response_200_1 result = apiInstance.v1RemoteNewPost(apiecoKey, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling RemoteApi.v1RemoteNewPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\Api\RemoteApi();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$body = ; // Body_7 | 

try {
    $result = $api_instance->v1RemoteNewPost($apiecoKey, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling RemoteApi->v1RemoteNewPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::RemoteApi;

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

my $api_instance = WWW::SwaggerClient::RemoteApi->new();
my $apiecoKey = apiecoKey_example; # String | apikey for use API
my $body = WWW::SwaggerClient::Object::Body_7->new(); # Body_7 | 

eval { 
    my $result = $api_instance->v1RemoteNewPost(apiecoKey => $apiecoKey, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling RemoteApi->v1RemoteNewPost: $@\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: Bearer
swagger_client.configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Authorization'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.RemoteApi()
apiecoKey = apiecoKey_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
body =  # Body_7 |  (optional)

try: 
    api_response = api_instance.v1_remote_new_post(apiecoKey, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling RemoteApi->v1RemoteNewPost: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Body parameters
Name Description
body

Responses

Status: 200 - 200 response


RemoteStatus

v1RemoteStatusPost


/v1/remote/status

Usage and SDK Samples

curl -X POST -H "Authorization: [[apiKey]]" "https://api.apieco.ir/parsaspace/v1/remote/status"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.RemoteStatusApi;

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

public class RemoteStatusApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: Bearer
        ApiKeyAuth Bearer = (ApiKeyAuth) defaultClient.getAuthentication("Bearer");
        Bearer.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Bearer.setApiKeyPrefix("Token");

        RemoteStatusApi apiInstance = new RemoteStatusApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        Body_8 body = ; // Body_8 | 
        try {
            inline_response_200_3 result = apiInstance.v1RemoteStatusPost(apiecoKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RemoteStatusApi#v1RemoteStatusPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.RemoteStatusApi;

public class RemoteStatusApiExample {

    public static void main(String[] args) {
        RemoteStatusApi apiInstance = new RemoteStatusApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        Body_8 body = ; // Body_8 | 
        try {
            inline_response_200_3 result = apiInstance.v1RemoteStatusPost(apiecoKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RemoteStatusApi#v1RemoteStatusPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: Bearer)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Authorization"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Authorization"];

String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
Body_8 *body = ; //  (optional)

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

[apiInstance v1RemoteStatusPostWith:apiecoKey
    body:body
              completionHandler: ^(inline_response_200_3 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SwaggerJsClient = require('swagger-js-client');
var defaultClient = SwaggerJsClient.ApiClient.instance;

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

var api = new SwaggerJsClient.RemoteStatusApi()

var apiecoKey = apiecoKey_example; // {String} apikey for use API

var opts = { 
  'body':  // {Body_8} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1RemoteStatusPost(apiecoKey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class v1RemoteStatusPostExample
    {
        public void main()
        {
            
            // Configure API key authorization: Bearer
            Configuration.Default.ApiKey.Add("Authorization", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Authorization", "Bearer");

            var apiInstance = new RemoteStatusApi();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var body = new Body_8(); // Body_8 |  (optional) 

            try
            {
                inline_response_200_3 result = apiInstance.v1RemoteStatusPost(apiecoKey, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling RemoteStatusApi.v1RemoteStatusPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\Api\RemoteStatusApi();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$body = ; // Body_8 | 

try {
    $result = $api_instance->v1RemoteStatusPost($apiecoKey, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling RemoteStatusApi->v1RemoteStatusPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::RemoteStatusApi;

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

my $api_instance = WWW::SwaggerClient::RemoteStatusApi->new();
my $apiecoKey = apiecoKey_example; # String | apikey for use API
my $body = WWW::SwaggerClient::Object::Body_8->new(); # Body_8 | 

eval { 
    my $result = $api_instance->v1RemoteStatusPost(apiecoKey => $apiecoKey, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling RemoteStatusApi->v1RemoteStatusPost: $@\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: Bearer
swagger_client.configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Authorization'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.RemoteStatusApi()
apiecoKey = apiecoKey_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
body =  # Body_8 |  (optional)

try: 
    api_response = api_instance.v1_remote_status_post(apiecoKey, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling RemoteStatusApi->v1RemoteStatusPost: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Body parameters
Name Description
body

Responses

Status: 200 - 200 response


Remove

v1FilesRemovePost


/v1/files/remove

Usage and SDK Samples

curl -X POST -H "Authorization: [[apiKey]]" "https://api.apieco.ir/parsaspace/v1/files/remove"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.RemoveApi;

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

public class RemoveApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: Bearer
        ApiKeyAuth Bearer = (ApiKeyAuth) defaultClient.getAuthentication("Bearer");
        Bearer.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Bearer.setApiKeyPrefix("Token");

        RemoveApi apiInstance = new RemoveApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        Body_1 body = ; // Body_1 | 
        try {
            inline_response_200_1 result = apiInstance.v1FilesRemovePost(apiecoKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RemoveApi#v1FilesRemovePost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.RemoveApi;

public class RemoveApiExample {

    public static void main(String[] args) {
        RemoveApi apiInstance = new RemoveApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        Body_1 body = ; // Body_1 | 
        try {
            inline_response_200_1 result = apiInstance.v1FilesRemovePost(apiecoKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RemoveApi#v1FilesRemovePost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: Bearer)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Authorization"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Authorization"];

String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
Body_1 *body = ; //  (optional)

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

[apiInstance v1FilesRemovePostWith:apiecoKey
    body:body
              completionHandler: ^(inline_response_200_1 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SwaggerJsClient = require('swagger-js-client');
var defaultClient = SwaggerJsClient.ApiClient.instance;

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

var api = new SwaggerJsClient.RemoveApi()

var apiecoKey = apiecoKey_example; // {String} apikey for use API

var opts = { 
  'body':  // {Body_1} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1FilesRemovePost(apiecoKey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class v1FilesRemovePostExample
    {
        public void main()
        {
            
            // Configure API key authorization: Bearer
            Configuration.Default.ApiKey.Add("Authorization", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Authorization", "Bearer");

            var apiInstance = new RemoveApi();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var body = new Body_1(); // Body_1 |  (optional) 

            try
            {
                inline_response_200_1 result = apiInstance.v1FilesRemovePost(apiecoKey, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling RemoveApi.v1FilesRemovePost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\Api\RemoveApi();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$body = ; // Body_1 | 

try {
    $result = $api_instance->v1FilesRemovePost($apiecoKey, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling RemoveApi->v1FilesRemovePost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::RemoveApi;

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

my $api_instance = WWW::SwaggerClient::RemoveApi->new();
my $apiecoKey = apiecoKey_example; # String | apikey for use API
my $body = WWW::SwaggerClient::Object::Body_1->new(); # Body_1 | 

eval { 
    my $result = $api_instance->v1FilesRemovePost(apiecoKey => $apiecoKey, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling RemoveApi->v1FilesRemovePost: $@\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: Bearer
swagger_client.configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Authorization'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.RemoveApi()
apiecoKey = apiecoKey_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
body =  # Body_1 |  (optional)

try: 
    api_response = api_instance.v1_files_remove_post(apiecoKey, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling RemoveApi->v1FilesRemovePost: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Body parameters
Name Description
body

Responses

Status: 200 - 200 response


Rename

v1FilesRenamePost


/v1/files/rename

Usage and SDK Samples

curl -X POST -H "Authorization: [[apiKey]]" "https://api.apieco.ir/parsaspace/v1/files/rename"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.RenameApi;

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

public class RenameApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: Bearer
        ApiKeyAuth Bearer = (ApiKeyAuth) defaultClient.getAuthentication("Bearer");
        Bearer.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Bearer.setApiKeyPrefix("Token");

        RenameApi apiInstance = new RenameApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        Body_2 body = ; // Body_2 | 
        try {
            inline_response_200_1 result = apiInstance.v1FilesRenamePost(apiecoKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RenameApi#v1FilesRenamePost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.RenameApi;

public class RenameApiExample {

    public static void main(String[] args) {
        RenameApi apiInstance = new RenameApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        Body_2 body = ; // Body_2 | 
        try {
            inline_response_200_1 result = apiInstance.v1FilesRenamePost(apiecoKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RenameApi#v1FilesRenamePost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: Bearer)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Authorization"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Authorization"];

String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
Body_2 *body = ; //  (optional)

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

[apiInstance v1FilesRenamePostWith:apiecoKey
    body:body
              completionHandler: ^(inline_response_200_1 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SwaggerJsClient = require('swagger-js-client');
var defaultClient = SwaggerJsClient.ApiClient.instance;

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

var api = new SwaggerJsClient.RenameApi()

var apiecoKey = apiecoKey_example; // {String} apikey for use API

var opts = { 
  'body':  // {Body_2} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1FilesRenamePost(apiecoKey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class v1FilesRenamePostExample
    {
        public void main()
        {
            
            // Configure API key authorization: Bearer
            Configuration.Default.ApiKey.Add("Authorization", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Authorization", "Bearer");

            var apiInstance = new RenameApi();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var body = new Body_2(); // Body_2 |  (optional) 

            try
            {
                inline_response_200_1 result = apiInstance.v1FilesRenamePost(apiecoKey, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling RenameApi.v1FilesRenamePost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\Api\RenameApi();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$body = ; // Body_2 | 

try {
    $result = $api_instance->v1FilesRenamePost($apiecoKey, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling RenameApi->v1FilesRenamePost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::RenameApi;

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

my $api_instance = WWW::SwaggerClient::RenameApi->new();
my $apiecoKey = apiecoKey_example; # String | apikey for use API
my $body = WWW::SwaggerClient::Object::Body_2->new(); # Body_2 | 

eval { 
    my $result = $api_instance->v1FilesRenamePost(apiecoKey => $apiecoKey, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling RenameApi->v1FilesRenamePost: $@\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: Bearer
swagger_client.configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Authorization'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.RenameApi()
apiecoKey = apiecoKey_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
body =  # Body_2 |  (optional)

try: 
    api_response = api_instance.v1_files_rename_post(apiecoKey, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling RenameApi->v1FilesRenamePost: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Body parameters
Name Description
body

Responses

Status: 200 - 200 response


Upload

v1FilesUploadPost


/v1/files/upload

Usage and SDK Samples

curl -X POST -H "Authorization: [[apiKey]]" "https://api.apieco.ir/parsaspace/v1/files/upload"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UploadApi;

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

public class UploadApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: Bearer
        ApiKeyAuth Bearer = (ApiKeyAuth) defaultClient.getAuthentication("Bearer");
        Bearer.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Bearer.setApiKeyPrefix("Token");

        UploadApi apiInstance = new UploadApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        Body_6 body = ; // Body_6 | 
        try {
            inline_response_200_2 result = apiInstance.v1FilesUploadPost(apiecoKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UploadApi#v1FilesUploadPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UploadApi;

public class UploadApiExample {

    public static void main(String[] args) {
        UploadApi apiInstance = new UploadApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        Body_6 body = ; // Body_6 | 
        try {
            inline_response_200_2 result = apiInstance.v1FilesUploadPost(apiecoKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UploadApi#v1FilesUploadPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: Bearer)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Authorization"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Authorization"];

String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
Body_6 *body = ; //  (optional)

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

[apiInstance v1FilesUploadPostWith:apiecoKey
    body:body
              completionHandler: ^(inline_response_200_2 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SwaggerJsClient = require('swagger-js-client');
var defaultClient = SwaggerJsClient.ApiClient.instance;

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

var api = new SwaggerJsClient.UploadApi()

var apiecoKey = apiecoKey_example; // {String} apikey for use API

var opts = { 
  'body':  // {Body_6} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1FilesUploadPost(apiecoKey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class v1FilesUploadPostExample
    {
        public void main()
        {
            
            // Configure API key authorization: Bearer
            Configuration.Default.ApiKey.Add("Authorization", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Authorization", "Bearer");

            var apiInstance = new UploadApi();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var body = new Body_6(); // Body_6 |  (optional) 

            try
            {
                inline_response_200_2 result = apiInstance.v1FilesUploadPost(apiecoKey, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UploadApi.v1FilesUploadPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\Api\UploadApi();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$body = ; // Body_6 | 

try {
    $result = $api_instance->v1FilesUploadPost($apiecoKey, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling UploadApi->v1FilesUploadPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::UploadApi;

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

my $api_instance = WWW::SwaggerClient::UploadApi->new();
my $apiecoKey = apiecoKey_example; # String | apikey for use API
my $body = WWW::SwaggerClient::Object::Body_6->new(); # Body_6 | 

eval { 
    my $result = $api_instance->v1FilesUploadPost(apiecoKey => $apiecoKey, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UploadApi->v1FilesUploadPost: $@\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: Bearer
swagger_client.configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Authorization'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.UploadApi()
apiecoKey = apiecoKey_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
body =  # Body_6 |  (optional)

try: 
    api_response = api_instance.v1_files_upload_post(apiecoKey, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UploadApi->v1FilesUploadPost: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Body parameters
Name Description
body

Responses

Status: 200 - 200 response