سرویس ابری لیرا

_

v1ProjectsGet


/v1/projects

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/liara/v1/projects"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api._Api;

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

public class _ApiExample {

    public static void main(String[] args) {
        
        _Api apiInstance = new _Api();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        String authorization = authorization_example; // String | Bearer {TOKEN}
        try {
            inline_response_200 result = apiInstance.v1ProjectsGet(apiecoKey, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#v1ProjectsGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api._Api;

public class _ApiExample {

    public static void main(String[] args) {
        _Api apiInstance = new _Api();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        String authorization = authorization_example; // String | Bearer {TOKEN}
        try {
            inline_response_200 result = apiInstance.v1ProjectsGet(apiecoKey, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#v1ProjectsGet");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
String *authorization = authorization_example; // Bearer {TOKEN} (default to Bearer {TOKEN})

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

[apiInstance v1ProjectsGetWith:apiecoKey
    authorization:authorization
              completionHandler: ^(inline_response_200 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var _ = require('__');

var api = new _._Api()

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

var authorization = authorization_example; // {String} Bearer {TOKEN}


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

namespace Example
{
    public class v1ProjectsGetExample
    {
        public void main()
        {
            
            var apiInstance = new _Api();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var authorization = authorization_example;  // String | Bearer {TOKEN} (default to Bearer {TOKEN})

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

$api_instance = new Swagger\Client\Api\_Api();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$authorization = authorization_example; // String | Bearer {TOKEN}

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

my $api_instance = WWW::SwaggerClient::_Api->new();
my $apiecoKey = apiecoKey_example; # String | apikey for use API
my $authorization = authorization_example; # String | Bearer {TOKEN}

eval { 
    my $result = $api_instance->v1ProjectsGet(apiecoKey => $apiecoKey, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling _Api->v1ProjectsGet: $@\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._Api()
apiecoKey = apiecoKey_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
authorization = authorization_example # String | Bearer {TOKEN} (default to Bearer {TOKEN})

try: 
    api_response = api_instance.v1_projects_get(apiecoKey, authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling _Api->v1ProjectsGet: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Authorization*
String
Bearer {TOKEN}
Required

Responses

Status: 200 - 200 ok


v1ProjectsPost


/v1/projects

Usage and SDK Samples

curl -X POST "https://api.apieco.ir/liara/v1/projects"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api._Api;

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

public class _ApiExample {

    public static void main(String[] args) {
        
        _Api apiInstance = new _Api();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        String authorization = authorization_example; // String | Bearer {TOKEN}
        Body body = ; // Body | 
        try {
            apiInstance.v1ProjectsPost(apiecoKey, authorization, body);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#v1ProjectsPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api._Api;

public class _ApiExample {

    public static void main(String[] args) {
        _Api apiInstance = new _Api();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        String authorization = authorization_example; // String | Bearer {TOKEN}
        Body body = ; // Body | 
        try {
            apiInstance.v1ProjectsPost(apiecoKey, authorization, body);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#v1ProjectsPost");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
String *authorization = authorization_example; // Bearer {TOKEN} (default to Bearer {TOKEN})
Body *body = ; //  (optional)

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

[apiInstance v1ProjectsPostWith:apiecoKey
    authorization:authorization
    body:body
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var _ = require('__');

var api = new _._Api()

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

var authorization = authorization_example; // {String} Bearer {TOKEN}

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

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

namespace Example
{
    public class v1ProjectsPostExample
    {
        public void main()
        {
            
            var apiInstance = new _Api();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var authorization = authorization_example;  // String | Bearer {TOKEN} (default to Bearer {TOKEN})
            var body = new Body(); // Body |  (optional) 

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

$api_instance = new Swagger\Client\Api\_Api();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$authorization = authorization_example; // String | Bearer {TOKEN}
$body = ; // Body | 

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

my $api_instance = WWW::SwaggerClient::_Api->new();
my $apiecoKey = apiecoKey_example; # String | apikey for use API
my $authorization = authorization_example; # String | Bearer {TOKEN}
my $body = WWW::SwaggerClient::Object::Body->new(); # Body | 

eval { 
    $api_instance->v1ProjectsPost(apiecoKey => $apiecoKey, authorization => $authorization, body => $body);
};
if ($@) {
    warn "Exception when calling _Api->v1ProjectsPost: $@\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._Api()
apiecoKey = apiecoKey_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
authorization = authorization_example # String | Bearer {TOKEN} (default to Bearer {TOKEN})
body =  # Body |  (optional)

try: 
    api_instance.v1_projects_post(apiecoKey, authorization, body=body)
except ApiException as e:
    print("Exception when calling _Api->v1ProjectsPost: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Authorization*
String
Bearer {TOKEN}
Required
Body parameters
Name Description
body

Responses

Status: 200 - 200 ok


v1ProjectsProjectIdActionsScaleGet


/v1/projects/{project_id}/actions/scale

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/liara/v1/projects/{project_id}/actions/scale"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api._Api;

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

public class _ApiExample {

    public static void main(String[] args) {
        
        _Api apiInstance = new _Api();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        String authorization = authorization_example; // String | Bearer {TOKEN}
        String projectId = projectId_example; // String | شناسه برنامه
        Body_1 body = ; // Body_1 | 
        try {
            apiInstance.v1ProjectsProjectIdActionsScaleGet(apiecoKey, authorization, projectId, body);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#v1ProjectsProjectIdActionsScaleGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api._Api;

public class _ApiExample {

    public static void main(String[] args) {
        _Api apiInstance = new _Api();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        String authorization = authorization_example; // String | Bearer {TOKEN}
        String projectId = projectId_example; // String | شناسه برنامه
        Body_1 body = ; // Body_1 | 
        try {
            apiInstance.v1ProjectsProjectIdActionsScaleGet(apiecoKey, authorization, projectId, body);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#v1ProjectsProjectIdActionsScaleGet");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
String *authorization = authorization_example; // Bearer {TOKEN} (default to Bearer {TOKEN})
String *projectId = projectId_example; // شناسه برنامه
Body_1 *body = ; //  (optional)

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

[apiInstance v1ProjectsProjectIdActionsScaleGetWith:apiecoKey
    authorization:authorization
    projectId:projectId
    body:body
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var _ = require('__');

var api = new _._Api()

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

var authorization = authorization_example; // {String} Bearer {TOKEN}

var projectId = projectId_example; // {String} شناسه برنامه

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

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

namespace Example
{
    public class v1ProjectsProjectIdActionsScaleGetExample
    {
        public void main()
        {
            
            var apiInstance = new _Api();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var authorization = authorization_example;  // String | Bearer {TOKEN} (default to Bearer {TOKEN})
            var projectId = projectId_example;  // String | شناسه برنامه
            var body = new Body_1(); // Body_1 |  (optional) 

            try
            {
                apiInstance.v1ProjectsProjectIdActionsScaleGet(apiecoKey, authorization, projectId, body);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling _Api.v1ProjectsProjectIdActionsScaleGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\_Api();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$authorization = authorization_example; // String | Bearer {TOKEN}
$projectId = projectId_example; // String | شناسه برنامه
$body = ; // Body_1 | 

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

my $api_instance = WWW::SwaggerClient::_Api->new();
my $apiecoKey = apiecoKey_example; # String | apikey for use API
my $authorization = authorization_example; # String | Bearer {TOKEN}
my $projectId = projectId_example; # String | شناسه برنامه
my $body = WWW::SwaggerClient::Object::Body_1->new(); # Body_1 | 

eval { 
    $api_instance->v1ProjectsProjectIdActionsScaleGet(apiecoKey => $apiecoKey, authorization => $authorization, projectId => $projectId, body => $body);
};
if ($@) {
    warn "Exception when calling _Api->v1ProjectsProjectIdActionsScaleGet: $@\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._Api()
apiecoKey = apiecoKey_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
authorization = authorization_example # String | Bearer {TOKEN} (default to Bearer {TOKEN})
projectId = projectId_example # String | شناسه برنامه
body =  # Body_1 |  (optional)

try: 
    api_instance.v1_projects_project_id_actions_scale_get(apiecoKey, authorization, projectId, body=body)
except ApiException as e:
    print("Exception when calling _Api->v1ProjectsProjectIdActionsScaleGet: %s\n" % e)

Parameters

Path parameters
Name Description
project_id*
String
شناسه برنامه
Required
Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Authorization*
String
Bearer {TOKEN}
Required
Body parameters
Name Description
body

Responses

Status: 200 - 200 ok


v1ProjectsProjectIdDelete


/v1/projects/{project_id}

Usage and SDK Samples

curl -X DELETE "https://api.apieco.ir/liara/v1/projects/{project_id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api._Api;

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

public class _ApiExample {

    public static void main(String[] args) {
        
        _Api apiInstance = new _Api();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        String authorization = authorization_example; // String | Bearer {TOKEN}
        String projectId = projectId_example; // String | شناسه برنامه
        try {
            apiInstance.v1ProjectsProjectIdDelete(apiecoKey, authorization, projectId);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#v1ProjectsProjectIdDelete");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api._Api;

public class _ApiExample {

    public static void main(String[] args) {
        _Api apiInstance = new _Api();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        String authorization = authorization_example; // String | Bearer {TOKEN}
        String projectId = projectId_example; // String | شناسه برنامه
        try {
            apiInstance.v1ProjectsProjectIdDelete(apiecoKey, authorization, projectId);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#v1ProjectsProjectIdDelete");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
String *authorization = authorization_example; // Bearer {TOKEN} (default to Bearer {TOKEN})
String *projectId = projectId_example; // شناسه برنامه

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

[apiInstance v1ProjectsProjectIdDeleteWith:apiecoKey
    authorization:authorization
    projectId:projectId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var _ = require('__');

var api = new _._Api()

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

var authorization = authorization_example; // {String} Bearer {TOKEN}

var projectId = projectId_example; // {String} شناسه برنامه


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

namespace Example
{
    public class v1ProjectsProjectIdDeleteExample
    {
        public void main()
        {
            
            var apiInstance = new _Api();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var authorization = authorization_example;  // String | Bearer {TOKEN} (default to Bearer {TOKEN})
            var projectId = projectId_example;  // String | شناسه برنامه

            try
            {
                apiInstance.v1ProjectsProjectIdDelete(apiecoKey, authorization, projectId);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling _Api.v1ProjectsProjectIdDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\_Api();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$authorization = authorization_example; // String | Bearer {TOKEN}
$projectId = projectId_example; // String | شناسه برنامه

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

my $api_instance = WWW::SwaggerClient::_Api->new();
my $apiecoKey = apiecoKey_example; # String | apikey for use API
my $authorization = authorization_example; # String | Bearer {TOKEN}
my $projectId = projectId_example; # String | شناسه برنامه

eval { 
    $api_instance->v1ProjectsProjectIdDelete(apiecoKey => $apiecoKey, authorization => $authorization, projectId => $projectId);
};
if ($@) {
    warn "Exception when calling _Api->v1ProjectsProjectIdDelete: $@\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._Api()
apiecoKey = apiecoKey_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
authorization = authorization_example # String | Bearer {TOKEN} (default to Bearer {TOKEN})
projectId = projectId_example # String | شناسه برنامه

try: 
    api_instance.v1_projects_project_id_delete(apiecoKey, authorization, projectId)
except ApiException as e:
    print("Exception when calling _Api->v1ProjectsProjectIdDelete: %s\n" % e)

Parameters

Path parameters
Name Description
project_id*
String
شناسه برنامه
Required
Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Authorization*
String
Bearer {TOKEN}
Required

Responses

Status: 200 - 200 ok


v1ProjectsProjectIdReleasesGet


/v1/projects/{project_id}/releases

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/liara/v1/projects/{project_id}/releases"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api._Api;

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

public class _ApiExample {

    public static void main(String[] args) {
        
        _Api apiInstance = new _Api();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        String authorization = authorization_example; // String | Bearer {TOKEN}
        String projectId = projectId_example; // String | شناسه برنامه
        try {
            inline_response_200_1 result = apiInstance.v1ProjectsProjectIdReleasesGet(apiecoKey, authorization, projectId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#v1ProjectsProjectIdReleasesGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api._Api;

public class _ApiExample {

    public static void main(String[] args) {
        _Api apiInstance = new _Api();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        String authorization = authorization_example; // String | Bearer {TOKEN}
        String projectId = projectId_example; // String | شناسه برنامه
        try {
            inline_response_200_1 result = apiInstance.v1ProjectsProjectIdReleasesGet(apiecoKey, authorization, projectId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#v1ProjectsProjectIdReleasesGet");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
String *authorization = authorization_example; // Bearer {TOKEN} (default to Bearer {TOKEN})
String *projectId = projectId_example; // شناسه برنامه

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

[apiInstance v1ProjectsProjectIdReleasesGetWith:apiecoKey
    authorization:authorization
    projectId:projectId
              completionHandler: ^(inline_response_200_1 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var _ = require('__');

var api = new _._Api()

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

var authorization = authorization_example; // {String} Bearer {TOKEN}

var projectId = projectId_example; // {String} شناسه برنامه


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

namespace Example
{
    public class v1ProjectsProjectIdReleasesGetExample
    {
        public void main()
        {
            
            var apiInstance = new _Api();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var authorization = authorization_example;  // String | Bearer {TOKEN} (default to Bearer {TOKEN})
            var projectId = projectId_example;  // String | شناسه برنامه

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

$api_instance = new Swagger\Client\Api\_Api();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$authorization = authorization_example; // String | Bearer {TOKEN}
$projectId = projectId_example; // String | شناسه برنامه

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

my $api_instance = WWW::SwaggerClient::_Api->new();
my $apiecoKey = apiecoKey_example; # String | apikey for use API
my $authorization = authorization_example; # String | Bearer {TOKEN}
my $projectId = projectId_example; # String | شناسه برنامه

eval { 
    my $result = $api_instance->v1ProjectsProjectIdReleasesGet(apiecoKey => $apiecoKey, authorization => $authorization, projectId => $projectId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling _Api->v1ProjectsProjectIdReleasesGet: $@\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._Api()
apiecoKey = apiecoKey_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
authorization = authorization_example # String | Bearer {TOKEN} (default to Bearer {TOKEN})
projectId = projectId_example # String | شناسه برنامه

try: 
    api_response = api_instance.v1_projects_project_id_releases_get(apiecoKey, authorization, projectId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling _Api->v1ProjectsProjectIdReleasesGet: %s\n" % e)

Parameters

Path parameters
Name Description
project_id*
String
شناسه برنامه
Required
Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Authorization*
String
Bearer {TOKEN}
Required

Responses

Status: 200 - 200 ok


v2ProjectsProjectIdReleasesGet


/v2/projects/[project_id]/releases

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/liara/v2/projects/[project_id]/releases"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api._Api;

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

public class _ApiExample {

    public static void main(String[] args) {
        
        _Api apiInstance = new _Api();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        String authorization = authorization_example; // String | Bearer {TOKEN}
        String projectId = projectId_example; // String | شناسه برنامه
        Body_2 body = ; // Body_2 | 
        try {
            inline_response_200_2 result = apiInstance.v2ProjectsProjectIdReleasesGet(apiecoKey, authorization, projectId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#v2ProjectsProjectIdReleasesGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api._Api;

public class _ApiExample {

    public static void main(String[] args) {
        _Api apiInstance = new _Api();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        String authorization = authorization_example; // String | Bearer {TOKEN}
        String projectId = projectId_example; // String | شناسه برنامه
        Body_2 body = ; // Body_2 | 
        try {
            inline_response_200_2 result = apiInstance.v2ProjectsProjectIdReleasesGet(apiecoKey, authorization, projectId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#v2ProjectsProjectIdReleasesGet");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
String *authorization = authorization_example; // Bearer {TOKEN} (default to Bearer {TOKEN})
String *projectId = projectId_example; // شناسه برنامه
Body_2 *body = ; //  (optional)

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

[apiInstance v2ProjectsProjectIdReleasesGetWith:apiecoKey
    authorization:authorization
    projectId:projectId
    body:body
              completionHandler: ^(inline_response_200_2 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var _ = require('__');

var api = new _._Api()

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

var authorization = authorization_example; // {String} Bearer {TOKEN}

var projectId = projectId_example; // {String} شناسه برنامه

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.v2ProjectsProjectIdReleasesGet(apiecoKey, authorization, projectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class v2ProjectsProjectIdReleasesGetExample
    {
        public void main()
        {
            
            var apiInstance = new _Api();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var authorization = authorization_example;  // String | Bearer {TOKEN} (default to Bearer {TOKEN})
            var projectId = projectId_example;  // String | شناسه برنامه
            var body = new Body_2(); // Body_2 |  (optional) 

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

$api_instance = new Swagger\Client\Api\_Api();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$authorization = authorization_example; // String | Bearer {TOKEN}
$projectId = projectId_example; // String | شناسه برنامه
$body = ; // Body_2 | 

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

my $api_instance = WWW::SwaggerClient::_Api->new();
my $apiecoKey = apiecoKey_example; # String | apikey for use API
my $authorization = authorization_example; # String | Bearer {TOKEN}
my $projectId = projectId_example; # String | شناسه برنامه
my $body = WWW::SwaggerClient::Object::Body_2->new(); # Body_2 | 

eval { 
    my $result = $api_instance->v2ProjectsProjectIdReleasesGet(apiecoKey => $apiecoKey, authorization => $authorization, projectId => $projectId, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling _Api->v2ProjectsProjectIdReleasesGet: $@\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._Api()
apiecoKey = apiecoKey_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
authorization = authorization_example # String | Bearer {TOKEN} (default to Bearer {TOKEN})
projectId = projectId_example # String | شناسه برنامه
body =  # Body_2 |  (optional)

try: 
    api_response = api_instance.v2_projects_project_id_releases_get(apiecoKey, authorization, projectId, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling _Api->v2ProjectsProjectIdReleasesGet: %s\n" % e)

Parameters

Path parameters
Name Description
project_id*
String
شناسه برنامه
Required
Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Authorization*
String
Bearer {TOKEN}
Required
Body parameters
Name Description
body

Responses

Status: 200 - 200 ok