OpenAPI definition

LoginRestController

logOut


/api/auth/logout

Usage and SDK Samples

curl -X POST \
 -H "Accept: */*" \
 "https://localhost:8443/api/auth/logout"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.LoginRestControllerApi;

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

public class LoginRestControllerApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        LoginRestControllerApi apiInstance = new LoginRestControllerApi();

        try {
            AuthResponse result = apiInstance.logOut();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling LoginRestControllerApi#logOut");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.LoginRestControllerApi;

public class LoginRestControllerApiExample {
    public static void main(String[] args) {
        LoginRestControllerApi apiInstance = new LoginRestControllerApi();

        try {
            AuthResponse result = apiInstance.logOut();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling LoginRestControllerApi#logOut");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
LoginRestControllerApi *apiInstance = [[LoginRestControllerApi alloc] init];

[apiInstance logOutWithCompletionHandler: 
              ^(AuthResponse output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var OpenApiDefinition = require('open_api_definition');

// Create an instance of the API class
var api = new OpenApiDefinition.LoginRestControllerApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.logOut(callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

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

            // Create an instance of the API class
            var apiInstance = new LoginRestControllerApi();

            try {
                AuthResponse result = apiInstance.logOut();
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling LoginRestControllerApi.logOut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\LoginRestControllerApi();

try {
    $result = $api_instance->logOut();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling LoginRestControllerApi->logOut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::LoginRestControllerApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::LoginRestControllerApi->new();

eval {
    my $result = $api_instance->logOut();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling LoginRestControllerApi->logOut: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.LoginRestControllerApi()

try:
    api_response = api_instance.log_out()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling LoginRestControllerApi->logOut: %s\n" % e)
extern crate LoginRestControllerApi;

pub fn main() {

    let mut context = LoginRestControllerApi::Context::default();
    let result = client.logOut(&context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Responses


login


/api/auth/login

Usage and SDK Samples

curl -X POST \
 -H "Accept: */*" \
 -H "Content-Type: application/json" \
 "https://localhost:8443/api/auth/login" \
 -d '{
  "password" : "password",
  "username" : "username"
}'
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.LoginRestControllerApi;

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

public class LoginRestControllerApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        LoginRestControllerApi apiInstance = new LoginRestControllerApi();
        LoginRequest loginRequest = ; // LoginRequest | 
        String accessToken = accessToken_example; // String | 
        String refreshToken = refreshToken_example; // String | 

        try {
            AuthResponse result = apiInstance.login(loginRequest, accessToken, refreshToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling LoginRestControllerApi#login");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.LoginRestControllerApi;

public class LoginRestControllerApiExample {
    public static void main(String[] args) {
        LoginRestControllerApi apiInstance = new LoginRestControllerApi();
        LoginRequest loginRequest = ; // LoginRequest | 
        String accessToken = accessToken_example; // String | 
        String refreshToken = refreshToken_example; // String | 

        try {
            AuthResponse result = apiInstance.login(loginRequest, accessToken, refreshToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling LoginRestControllerApi#login");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
LoginRestControllerApi *apiInstance = [[LoginRestControllerApi alloc] init];
LoginRequest *loginRequest = ; // 
String *accessToken = accessToken_example; //  (optional) (default to null)
String *refreshToken = refreshToken_example; //  (optional) (default to null)

[apiInstance loginWith:loginRequest
    accessToken:accessToken
    refreshToken:refreshToken
              completionHandler: ^(AuthResponse output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var OpenApiDefinition = require('open_api_definition');

// Create an instance of the API class
var api = new OpenApiDefinition.LoginRestControllerApi()
var loginRequest = ; // {LoginRequest} 
var opts = {
  'accessToken': accessToken_example, // {String} 
  'refreshToken': refreshToken_example // {String} 
};

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

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

            // Create an instance of the API class
            var apiInstance = new LoginRestControllerApi();
            var loginRequest = new LoginRequest(); // LoginRequest | 
            var accessToken = accessToken_example;  // String |  (optional)  (default to null)
            var refreshToken = refreshToken_example;  // String |  (optional)  (default to null)

            try {
                AuthResponse result = apiInstance.login(loginRequest, accessToken, refreshToken);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling LoginRestControllerApi.login: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\LoginRestControllerApi();
$loginRequest = ; // LoginRequest | 
$accessToken = accessToken_example; // String | 
$refreshToken = refreshToken_example; // String | 

try {
    $result = $api_instance->login($loginRequest, $accessToken, $refreshToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling LoginRestControllerApi->login: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::LoginRestControllerApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::LoginRestControllerApi->new();
my $loginRequest = WWW::OPenAPIClient::Object::LoginRequest->new(); # LoginRequest | 
my $accessToken = accessToken_example; # String | 
my $refreshToken = refreshToken_example; # String | 

eval {
    my $result = $api_instance->login(loginRequest => $loginRequest, accessToken => $accessToken, refreshToken => $refreshToken);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling LoginRestControllerApi->login: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.LoginRestControllerApi()
loginRequest =  # LoginRequest | 
accessToken = accessToken_example # String |  (optional) (default to null)
refreshToken = refreshToken_example # String |  (optional) (default to null)

try:
    api_response = api_instance.login(loginRequest, accessToken=accessToken, refreshToken=refreshToken)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling LoginRestControllerApi->login: %s\n" % e)
extern crate LoginRestControllerApi;

pub fn main() {
    let loginRequest = ; // LoginRequest
    let accessToken = accessToken_example; // String
    let refreshToken = refreshToken_example; // String

    let mut context = LoginRestControllerApi::Context::default();
    let result = client.login(loginRequest, accessToken, refreshToken, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
Name Description
loginRequest *

Responses


refreshToken


/api/auth/refresh

Usage and SDK Samples

curl -X POST \
 -H "Accept: */*" \
 "https://localhost:8443/api/auth/refresh"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.LoginRestControllerApi;

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

public class LoginRestControllerApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        LoginRestControllerApi apiInstance = new LoginRestControllerApi();
        String refreshToken = refreshToken_example; // String | 

        try {
            AuthResponse result = apiInstance.refreshToken(refreshToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling LoginRestControllerApi#refreshToken");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.LoginRestControllerApi;

public class LoginRestControllerApiExample {
    public static void main(String[] args) {
        LoginRestControllerApi apiInstance = new LoginRestControllerApi();
        String refreshToken = refreshToken_example; // String | 

        try {
            AuthResponse result = apiInstance.refreshToken(refreshToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling LoginRestControllerApi#refreshToken");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
LoginRestControllerApi *apiInstance = [[LoginRestControllerApi alloc] init];
String *refreshToken = refreshToken_example; //  (optional) (default to null)

[apiInstance refreshTokenWith:refreshToken
              completionHandler: ^(AuthResponse output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var OpenApiDefinition = require('open_api_definition');

// Create an instance of the API class
var api = new OpenApiDefinition.LoginRestControllerApi()
var opts = {
  'refreshToken': refreshToken_example // {String} 
};

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

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

            // Create an instance of the API class
            var apiInstance = new LoginRestControllerApi();
            var refreshToken = refreshToken_example;  // String |  (optional)  (default to null)

            try {
                AuthResponse result = apiInstance.refreshToken(refreshToken);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling LoginRestControllerApi.refreshToken: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\LoginRestControllerApi();
$refreshToken = refreshToken_example; // String | 

try {
    $result = $api_instance->refreshToken($refreshToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling LoginRestControllerApi->refreshToken: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::LoginRestControllerApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::LoginRestControllerApi->new();
my $refreshToken = refreshToken_example; # String | 

eval {
    my $result = $api_instance->refreshToken(refreshToken => $refreshToken);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling LoginRestControllerApi->refreshToken: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.LoginRestControllerApi()
refreshToken = refreshToken_example # String |  (optional) (default to null)

try:
    api_response = api_instance.refresh_token(refreshToken=refreshToken)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling LoginRestControllerApi->refreshToken: %s\n" % e)
extern crate LoginRestControllerApi;

pub fn main() {
    let refreshToken = refreshToken_example; // String

    let mut context = LoginRestControllerApi::Context::default();
    let result = client.refreshToken(refreshToken, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Responses


NewsRestController

createVideogame1


/api/news/

Usage and SDK Samples

curl -X POST \
 -H "Accept: */*" \
 -H "Content-Type: application/json" \
 "https://localhost:8443/api/news/" \
 -d '{
  "date" : "date",
  "oneReadNew" : {
    "nick" : "nick",
    "lastName" : "lastName",
    "image" : true,
    "encodedPassword" : "encodedPassword",
    "roles" : [ "roles", "roles" ],
    "name" : "name",
    "id" : 5,
    "creditCard" : "creditCard",
    "email" : "email"
  },
  "image" : true,
  "badge" : "badge",
  "argument" : "argument",
  "description" : "description",
  "readTime" : "readTime",
  "id" : 0,
  "title" : "title"
}'
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.NewsRestControllerApi;

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

public class NewsRestControllerApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        NewsRestControllerApi apiInstance = new NewsRestControllerApi();
        News news = ; // News | 

        try {
            News result = apiInstance.createVideogame1(news);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NewsRestControllerApi#createVideogame1");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.NewsRestControllerApi;

public class NewsRestControllerApiExample {
    public static void main(String[] args) {
        NewsRestControllerApi apiInstance = new NewsRestControllerApi();
        News news = ; // News | 

        try {
            News result = apiInstance.createVideogame1(news);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NewsRestControllerApi#createVideogame1");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
NewsRestControllerApi *apiInstance = [[NewsRestControllerApi alloc] init];
News *news = ; // 

[apiInstance createVideogame1With:news
              completionHandler: ^(News output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var OpenApiDefinition = require('open_api_definition');

// Create an instance of the API class
var api = new OpenApiDefinition.NewsRestControllerApi()
var news = ; // {News} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.createVideogame1(news, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

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

            // Create an instance of the API class
            var apiInstance = new NewsRestControllerApi();
            var news = new News(); // News | 

            try {
                News result = apiInstance.createVideogame1(news);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling NewsRestControllerApi.createVideogame1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\NewsRestControllerApi();
$news = ; // News | 

try {
    $result = $api_instance->createVideogame1($news);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling NewsRestControllerApi->createVideogame1: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::NewsRestControllerApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::NewsRestControllerApi->new();
my $news = WWW::OPenAPIClient::Object::News->new(); # News | 

eval {
    my $result = $api_instance->createVideogame1(news => $news);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling NewsRestControllerApi->createVideogame1: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.NewsRestControllerApi()
news =  # News | 

try:
    api_response = api_instance.create_videogame1(news)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling NewsRestControllerApi->createVideogame1: %s\n" % e)
extern crate NewsRestControllerApi;

pub fn main() {
    let news = ; // News

    let mut context = NewsRestControllerApi::Context::default();
    let result = client.createVideogame1(news, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
Name Description
news *

Responses


deleteNew


/api/news/{id}

Usage and SDK Samples

curl -X DELETE \
 -H "Accept: */*" \
 "https://localhost:8443/api/news/{id}"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.NewsRestControllerApi;

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

public class NewsRestControllerApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        NewsRestControllerApi apiInstance = new NewsRestControllerApi();
        Long id = 789; // Long | 

        try {
            News result = apiInstance.deleteNew(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NewsRestControllerApi#deleteNew");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.NewsRestControllerApi;

public class NewsRestControllerApiExample {
    public static void main(String[] args) {
        NewsRestControllerApi apiInstance = new NewsRestControllerApi();
        Long id = 789; // Long | 

        try {
            News result = apiInstance.deleteNew(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NewsRestControllerApi#deleteNew");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
NewsRestControllerApi *apiInstance = [[NewsRestControllerApi alloc] init];
Long *id = 789; //  (default to null)

[apiInstance deleteNewWith:id
              completionHandler: ^(News output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var OpenApiDefinition = require('open_api_definition');

// Create an instance of the API class
var api = new OpenApiDefinition.NewsRestControllerApi()
var id = 789; // {Long} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.deleteNew(id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

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

            // Create an instance of the API class
            var apiInstance = new NewsRestControllerApi();
            var id = 789;  // Long |  (default to null)

            try {
                News result = apiInstance.deleteNew(id);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling NewsRestControllerApi.deleteNew: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\NewsRestControllerApi();
$id = 789; // Long | 

try {
    $result = $api_instance->deleteNew($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling NewsRestControllerApi->deleteNew: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::NewsRestControllerApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::NewsRestControllerApi->new();
my $id = 789; # Long | 

eval {
    my $result = $api_instance->deleteNew(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling NewsRestControllerApi->deleteNew: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.NewsRestControllerApi()
id = 789 # Long |  (default to null)

try:
    api_response = api_instance.delete_new(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling NewsRestControllerApi->deleteNew: %s\n" % e)
extern crate NewsRestControllerApi;

pub fn main() {
    let id = 789; // Long

    let mut context = NewsRestControllerApi::Context::default();
    let result = client.deleteNew(id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses


deleteNewImage


/api/news/{id}/image

Usage and SDK Samples

curl -X DELETE \
 -H "Accept: */*" \
 "https://localhost:8443/api/news/{id}/image"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.NewsRestControllerApi;

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

public class NewsRestControllerApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        NewsRestControllerApi apiInstance = new NewsRestControllerApi();
        Long id = 789; // Long | 

        try {
            Object result = apiInstance.deleteNewImage(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NewsRestControllerApi#deleteNewImage");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.NewsRestControllerApi;

public class NewsRestControllerApiExample {
    public static void main(String[] args) {
        NewsRestControllerApi apiInstance = new NewsRestControllerApi();
        Long id = 789; // Long | 

        try {
            Object result = apiInstance.deleteNewImage(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NewsRestControllerApi#deleteNewImage");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
NewsRestControllerApi *apiInstance = [[NewsRestControllerApi alloc] init];
Long *id = 789; //  (default to null)

[apiInstance deleteNewImageWith:id
              completionHandler: ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var OpenApiDefinition = require('open_api_definition');

// Create an instance of the API class
var api = new OpenApiDefinition.NewsRestControllerApi()
var id = 789; // {Long} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.deleteNewImage(id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

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

            // Create an instance of the API class
            var apiInstance = new NewsRestControllerApi();
            var id = 789;  // Long |  (default to null)

            try {
                Object result = apiInstance.deleteNewImage(id);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling NewsRestControllerApi.deleteNewImage: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\NewsRestControllerApi();
$id = 789; // Long | 

try {
    $result = $api_instance->deleteNewImage($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling NewsRestControllerApi->deleteNewImage: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::NewsRestControllerApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::NewsRestControllerApi->new();
my $id = 789; # Long | 

eval {
    my $result = $api_instance->deleteNewImage(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling NewsRestControllerApi->deleteNewImage: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.NewsRestControllerApi()
id = 789 # Long |  (default to null)

try:
    api_response = api_instance.delete_new_image(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling NewsRestControllerApi->deleteNewImage: %s\n" % e)
extern crate NewsRestControllerApi;

pub fn main() {
    let id = 789; // Long

    let mut context = NewsRestControllerApi::Context::default();
    let result = client.deleteNewImage(id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses


downloadNewImage


/api/news/{id}/image

Usage and SDK Samples

curl -X GET \
 -H "Accept: */*" \
 "https://localhost:8443/api/news/{id}/image"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.NewsRestControllerApi;

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

public class NewsRestControllerApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        NewsRestControllerApi apiInstance = new NewsRestControllerApi();
        Long id = 789; // Long | 

        try {
            Object result = apiInstance.downloadNewImage(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NewsRestControllerApi#downloadNewImage");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.NewsRestControllerApi;

public class NewsRestControllerApiExample {
    public static void main(String[] args) {
        NewsRestControllerApi apiInstance = new NewsRestControllerApi();
        Long id = 789; // Long | 

        try {
            Object result = apiInstance.downloadNewImage(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NewsRestControllerApi#downloadNewImage");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
NewsRestControllerApi *apiInstance = [[NewsRestControllerApi alloc] init];
Long *id = 789; //  (default to null)

[apiInstance downloadNewImageWith:id
              completionHandler: ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var OpenApiDefinition = require('open_api_definition');

// Create an instance of the API class
var api = new OpenApiDefinition.NewsRestControllerApi()
var id = 789; // {Long} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.downloadNewImage(id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

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

            // Create an instance of the API class
            var apiInstance = new NewsRestControllerApi();
            var id = 789;  // Long |  (default to null)

            try {
                Object result = apiInstance.downloadNewImage(id);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling NewsRestControllerApi.downloadNewImage: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\NewsRestControllerApi();
$id = 789; // Long | 

try {
    $result = $api_instance->downloadNewImage($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling NewsRestControllerApi->downloadNewImage: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::NewsRestControllerApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::NewsRestControllerApi->new();
my $id = 789; # Long | 

eval {
    my $result = $api_instance->downloadNewImage(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling NewsRestControllerApi->downloadNewImage: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.NewsRestControllerApi()
id = 789 # Long |  (default to null)

try:
    api_response = api_instance.download_new_image(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling NewsRestControllerApi->downloadNewImage: %s\n" % e)
extern crate NewsRestControllerApi;

pub fn main() {
    let id = 789; // Long

    let mut context = NewsRestControllerApi::Context::default();
    let result = client.downloadNewImage(id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses


findNewsPage


/api/news/pages

Usage and SDK Samples

curl -X GET \
 -H "Accept: */*" \
 "https://localhost:8443/api/news/pages?page=56"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.NewsRestControllerApi;

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

public class NewsRestControllerApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        NewsRestControllerApi apiInstance = new NewsRestControllerApi();
        Integer page = 56; // Integer | 

        try {
            PageNews result = apiInstance.findNewsPage(page);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NewsRestControllerApi#findNewsPage");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.NewsRestControllerApi;

public class NewsRestControllerApiExample {
    public static void main(String[] args) {
        NewsRestControllerApi apiInstance = new NewsRestControllerApi();
        Integer page = 56; // Integer | 

        try {
            PageNews result = apiInstance.findNewsPage(page);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NewsRestControllerApi#findNewsPage");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
NewsRestControllerApi *apiInstance = [[NewsRestControllerApi alloc] init];
Integer *page = 56; //  (default to null)

[apiInstance findNewsPageWith:page
              completionHandler: ^(PageNews output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var OpenApiDefinition = require('open_api_definition');

// Create an instance of the API class
var api = new OpenApiDefinition.NewsRestControllerApi()
var page = 56; // {Integer} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.findNewsPage(page, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

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

            // Create an instance of the API class
            var apiInstance = new NewsRestControllerApi();
            var page = 56;  // Integer |  (default to null)

            try {
                PageNews result = apiInstance.findNewsPage(page);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling NewsRestControllerApi.findNewsPage: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\NewsRestControllerApi();
$page = 56; // Integer | 

try {
    $result = $api_instance->findNewsPage($page);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling NewsRestControllerApi->findNewsPage: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::NewsRestControllerApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::NewsRestControllerApi->new();
my $page = 56; # Integer | 

eval {
    my $result = $api_instance->findNewsPage(page => $page);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling NewsRestControllerApi->findNewsPage: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.NewsRestControllerApi()
page = 56 # Integer |  (default to null)

try:
    api_response = api_instance.find_news_page(page)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling NewsRestControllerApi->findNewsPage: %s\n" % e)
extern crate NewsRestControllerApi;

pub fn main() {
    let page = 56; // Integer

    let mut context = NewsRestControllerApi::Context::default();
    let result = client.findNewsPage(page, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
Name Description
page*
Integer (int32)
Required

Responses


getNew


/api/news/{id}

Usage and SDK Samples

curl -X GET \
 -H "Accept: */*" \
 "https://localhost:8443/api/news/{id}"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.NewsRestControllerApi;

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

public class NewsRestControllerApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        NewsRestControllerApi apiInstance = new NewsRestControllerApi();
        Long id = 789; // Long | 

        try {
            News result = apiInstance.getNew(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NewsRestControllerApi#getNew");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.NewsRestControllerApi;

public class NewsRestControllerApiExample {
    public static void main(String[] args) {
        NewsRestControllerApi apiInstance = new NewsRestControllerApi();
        Long id = 789; // Long | 

        try {
            News result = apiInstance.getNew(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NewsRestControllerApi#getNew");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
NewsRestControllerApi *apiInstance = [[NewsRestControllerApi alloc] init];
Long *id = 789; //  (default to null)

[apiInstance getNewWith:id
              completionHandler: ^(News output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var OpenApiDefinition = require('open_api_definition');

// Create an instance of the API class
var api = new OpenApiDefinition.NewsRestControllerApi()
var id = 789; // {Long} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getNew(id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

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

            // Create an instance of the API class
            var apiInstance = new NewsRestControllerApi();
            var id = 789;  // Long |  (default to null)

            try {
                News result = apiInstance.getNew(id);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling NewsRestControllerApi.getNew: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\NewsRestControllerApi();
$id = 789; // Long | 

try {
    $result = $api_instance->getNew($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling NewsRestControllerApi->getNew: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::NewsRestControllerApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::NewsRestControllerApi->new();
my $id = 789; # Long | 

eval {
    my $result = $api_instance->getNew(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling NewsRestControllerApi->getNew: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.NewsRestControllerApi()
id = 789 # Long |  (default to null)

try:
    api_response = api_instance.get_new(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling NewsRestControllerApi->getNew: %s\n" % e)
extern crate NewsRestControllerApi;

pub fn main() {
    let id = 789; // Long

    let mut context = NewsRestControllerApi::Context::default();
    let result = client.getNew(id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses


getNews


/api/news/

Usage and SDK Samples

curl -X GET \
 -H "Accept: */*" \
 "https://localhost:8443/api/news/"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.NewsRestControllerApi;

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

public class NewsRestControllerApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        NewsRestControllerApi apiInstance = new NewsRestControllerApi();

        try {
            array[News] result = apiInstance.getNews();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NewsRestControllerApi#getNews");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.NewsRestControllerApi;

public class NewsRestControllerApiExample {
    public static void main(String[] args) {
        NewsRestControllerApi apiInstance = new NewsRestControllerApi();

        try {
            array[News] result = apiInstance.getNews();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NewsRestControllerApi#getNews");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
NewsRestControllerApi *apiInstance = [[NewsRestControllerApi alloc] init];

[apiInstance getNewsWithCompletionHandler: 
              ^(array[News] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var OpenApiDefinition = require('open_api_definition');

// Create an instance of the API class
var api = new OpenApiDefinition.NewsRestControllerApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getNews(callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

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

            // Create an instance of the API class
            var apiInstance = new NewsRestControllerApi();

            try {
                array[News] result = apiInstance.getNews();
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling NewsRestControllerApi.getNews: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\NewsRestControllerApi();

try {
    $result = $api_instance->getNews();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling NewsRestControllerApi->getNews: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::NewsRestControllerApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::NewsRestControllerApi->new();

eval {
    my $result = $api_instance->getNews();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling NewsRestControllerApi->getNews: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.NewsRestControllerApi()

try:
    api_response = api_instance.get_news()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling NewsRestControllerApi->getNews: %s\n" % e)
extern crate NewsRestControllerApi;

pub fn main() {

    let mut context = NewsRestControllerApi::Context::default();
    let result = client.getNews(&context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Responses


readNew


/api/news/{id}/read/{usId}

Usage and SDK Samples

curl -X PUT \
 -H "Accept: */*" \
 "https://localhost:8443/api/news/{id}/read/{usId}"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.NewsRestControllerApi;

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

public class NewsRestControllerApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        NewsRestControllerApi apiInstance = new NewsRestControllerApi();
        Long id = 789; // Long | 
        Long usId = 789; // Long | 

        try {
            Object result = apiInstance.readNew(id, usId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NewsRestControllerApi#readNew");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.NewsRestControllerApi;

public class NewsRestControllerApiExample {
    public static void main(String[] args) {
        NewsRestControllerApi apiInstance = new NewsRestControllerApi();
        Long id = 789; // Long | 
        Long usId = 789; // Long | 

        try {
            Object result = apiInstance.readNew(id, usId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NewsRestControllerApi#readNew");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
NewsRestControllerApi *apiInstance = [[NewsRestControllerApi alloc] init];
Long *id = 789; //  (default to null)
Long *usId = 789; //  (default to null)

[apiInstance readNewWith:id
    usId:usId
              completionHandler: ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var OpenApiDefinition = require('open_api_definition');

// Create an instance of the API class
var api = new OpenApiDefinition.NewsRestControllerApi()
var id = 789; // {Long} 
var usId = 789; // {Long} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.readNew(id, usId, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

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

            // Create an instance of the API class
            var apiInstance = new NewsRestControllerApi();
            var id = 789;  // Long |  (default to null)
            var usId = 789;  // Long |  (default to null)

            try {
                Object result = apiInstance.readNew(id, usId);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling NewsRestControllerApi.readNew: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\NewsRestControllerApi();
$id = 789; // Long | 
$usId = 789; // Long | 

try {
    $result = $api_instance->readNew($id, $usId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling NewsRestControllerApi->readNew: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::NewsRestControllerApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::NewsRestControllerApi->new();
my $id = 789; # Long | 
my $usId = 789; # Long | 

eval {
    my $result = $api_instance->readNew(id => $id, usId => $usId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling NewsRestControllerApi->readNew: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.NewsRestControllerApi()
id = 789 # Long |  (default to null)
usId = 789 # Long |  (default to null)

try:
    api_response = api_instance.read_new(id, usId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling NewsRestControllerApi->readNew: %s\n" % e)
extern crate NewsRestControllerApi;

pub fn main() {
    let id = 789; // Long
    let usId = 789; // Long

    let mut context = NewsRestControllerApi::Context::default();
    let result = client.readNew(id, usId, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
Long (int64)
Required
usId*
Long (int64)
Required

Responses


updateNew


/api/news/{id}

Usage and SDK Samples

curl -X PUT \
 -H "Accept: */*" \
 -H "Content-Type: application/json" \
 "https://localhost:8443/api/news/{id}" \
 -d '{
  "date" : "date",
  "oneReadNew" : {
    "nick" : "nick",
    "lastName" : "lastName",
    "image" : true,
    "encodedPassword" : "encodedPassword",
    "roles" : [ "roles", "roles" ],
    "name" : "name",
    "id" : 5,
    "creditCard" : "creditCard",
    "email" : "email"
  },
  "image" : true,
  "badge" : "badge",
  "argument" : "argument",
  "description" : "description",
  "readTime" : "readTime",
  "id" : 0,
  "title" : "title"
}'
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.NewsRestControllerApi;

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

public class NewsRestControllerApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        NewsRestControllerApi apiInstance = new NewsRestControllerApi();
        Long id = 789; // Long | 
        News news = ; // News | 

        try {
            News result = apiInstance.updateNew(id, news);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NewsRestControllerApi#updateNew");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.NewsRestControllerApi;

public class NewsRestControllerApiExample {
    public static void main(String[] args) {
        NewsRestControllerApi apiInstance = new NewsRestControllerApi();
        Long id = 789; // Long | 
        News news = ; // News | 

        try {
            News result = apiInstance.updateNew(id, news);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NewsRestControllerApi#updateNew");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
NewsRestControllerApi *apiInstance = [[NewsRestControllerApi alloc] init];
Long *id = 789; //  (default to null)
News *news = ; // 

[apiInstance updateNewWith:id
    news:news
              completionHandler: ^(News output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var OpenApiDefinition = require('open_api_definition');

// Create an instance of the API class
var api = new OpenApiDefinition.NewsRestControllerApi()
var id = 789; // {Long} 
var news = ; // {News} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.updateNew(id, news, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

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

            // Create an instance of the API class
            var apiInstance = new NewsRestControllerApi();
            var id = 789;  // Long |  (default to null)
            var news = new News(); // News | 

            try {
                News result = apiInstance.updateNew(id, news);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling NewsRestControllerApi.updateNew: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\NewsRestControllerApi();
$id = 789; // Long | 
$news = ; // News | 

try {
    $result = $api_instance->updateNew($id, $news);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling NewsRestControllerApi->updateNew: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::NewsRestControllerApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::NewsRestControllerApi->new();
my $id = 789; # Long | 
my $news = WWW::OPenAPIClient::Object::News->new(); # News | 

eval {
    my $result = $api_instance->updateNew(id => $id, news => $news);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling NewsRestControllerApi->updateNew: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.NewsRestControllerApi()
id = 789 # Long |  (default to null)
news =  # News | 

try:
    api_response = api_instance.update_new(id, news)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling NewsRestControllerApi->updateNew: %s\n" % e)
extern crate NewsRestControllerApi;

pub fn main() {
    let id = 789; // Long
    let news = ; // News

    let mut context = NewsRestControllerApi::Context::default();
    let result = client.updateNew(id, news, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
Long (int64)
Required
Body parameters
Name Description
news *

Responses


uploadNewImage


/api/news/{id}/image

Usage and SDK Samples

curl -X POST \
 -H "Accept: */*" \
 -H "Content-Type: application/json" \
 "https://localhost:8443/api/news/{id}/image" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.NewsRestControllerApi;

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

public class NewsRestControllerApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        NewsRestControllerApi apiInstance = new NewsRestControllerApi();
        Long id = 789; // Long | 
        InlineObject3 inlineObject3 = ; // InlineObject3 | 

        try {
            News result = apiInstance.uploadNewImage(id, inlineObject3);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NewsRestControllerApi#uploadNewImage");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.NewsRestControllerApi;

public class NewsRestControllerApiExample {
    public static void main(String[] args) {
        NewsRestControllerApi apiInstance = new NewsRestControllerApi();
        Long id = 789; // Long | 
        InlineObject3 inlineObject3 = ; // InlineObject3 | 

        try {
            News result = apiInstance.uploadNewImage(id, inlineObject3);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NewsRestControllerApi#uploadNewImage");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
NewsRestControllerApi *apiInstance = [[NewsRestControllerApi alloc] init];
Long *id = 789; //  (default to null)
InlineObject3 *inlineObject3 = ; //  (optional)

[apiInstance uploadNewImageWith:id
    inlineObject3:inlineObject3
              completionHandler: ^(News output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var OpenApiDefinition = require('open_api_definition');

// Create an instance of the API class
var api = new OpenApiDefinition.NewsRestControllerApi()
var id = 789; // {Long} 
var opts = {
  'inlineObject3':  // {InlineObject3} 
};

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

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

            // Create an instance of the API class
            var apiInstance = new NewsRestControllerApi();
            var id = 789;  // Long |  (default to null)
            var inlineObject3 = new InlineObject3(); // InlineObject3 |  (optional) 

            try {
                News result = apiInstance.uploadNewImage(id, inlineObject3);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling NewsRestControllerApi.uploadNewImage: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\NewsRestControllerApi();
$id = 789; // Long | 
$inlineObject3 = ; // InlineObject3 | 

try {
    $result = $api_instance->uploadNewImage($id, $inlineObject3);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling NewsRestControllerApi->uploadNewImage: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::NewsRestControllerApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::NewsRestControllerApi->new();
my $id = 789; # Long | 
my $inlineObject3 = WWW::OPenAPIClient::Object::InlineObject3->new(); # InlineObject3 | 

eval {
    my $result = $api_instance->uploadNewImage(id => $id, inlineObject3 => $inlineObject3);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling NewsRestControllerApi->uploadNewImage: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.NewsRestControllerApi()
id = 789 # Long |  (default to null)
inlineObject3 =  # InlineObject3 |  (optional)

try:
    api_response = api_instance.upload_new_image(id, inlineObject3=inlineObject3)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling NewsRestControllerApi->uploadNewImage: %s\n" % e)
extern crate NewsRestControllerApi;

pub fn main() {
    let id = 789; // Long
    let inlineObject3 = ; // InlineObject3

    let mut context = NewsRestControllerApi::Context::default();
    let result = client.uploadNewImage(id, inlineObject3, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
Long (int64)
Required
Body parameters
Name Description
inlineObject3

Responses


UserRestController

addCreditCard


/api/users/{id}/creditCard

Usage and SDK Samples

curl -X POST \
 -H "Accept: */*" \
 "https://localhost:8443/api/users/{id}/creditCard?creditCard=creditCard_example"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.UserRestControllerApi;

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

public class UserRestControllerApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        UserRestControllerApi apiInstance = new UserRestControllerApi();
        Long id = 789; // Long | 
        String creditCard = creditCard_example; // String | 

        try {
            Object result = apiInstance.addCreditCard(id, creditCard);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserRestControllerApi#addCreditCard");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.UserRestControllerApi;

public class UserRestControllerApiExample {
    public static void main(String[] args) {
        UserRestControllerApi apiInstance = new UserRestControllerApi();
        Long id = 789; // Long | 
        String creditCard = creditCard_example; // String | 

        try {
            Object result = apiInstance.addCreditCard(id, creditCard);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserRestControllerApi#addCreditCard");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
UserRestControllerApi *apiInstance = [[UserRestControllerApi alloc] init];
Long *id = 789; //  (default to null)
String *creditCard = creditCard_example; //  (default to null)

[apiInstance addCreditCardWith:id
    creditCard:creditCard
              completionHandler: ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var OpenApiDefinition = require('open_api_definition');

// Create an instance of the API class
var api = new OpenApiDefinition.UserRestControllerApi()
var id = 789; // {Long} 
var creditCard = creditCard_example; // {String} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.addCreditCard(id, creditCard, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

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

            // Create an instance of the API class
            var apiInstance = new UserRestControllerApi();
            var id = 789;  // Long |  (default to null)
            var creditCard = creditCard_example;  // String |  (default to null)

            try {
                Object result = apiInstance.addCreditCard(id, creditCard);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling UserRestControllerApi.addCreditCard: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\UserRestControllerApi();
$id = 789; // Long | 
$creditCard = creditCard_example; // String | 

try {
    $result = $api_instance->addCreditCard($id, $creditCard);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling UserRestControllerApi->addCreditCard: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::UserRestControllerApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::UserRestControllerApi->new();
my $id = 789; # Long | 
my $creditCard = creditCard_example; # String | 

eval {
    my $result = $api_instance->addCreditCard(id => $id, creditCard => $creditCard);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UserRestControllerApi->addCreditCard: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.UserRestControllerApi()
id = 789 # Long |  (default to null)
creditCard = creditCard_example # String |  (default to null)

try:
    api_response = api_instance.add_credit_card(id, creditCard)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UserRestControllerApi->addCreditCard: %s\n" % e)
extern crate UserRestControllerApi;

pub fn main() {
    let id = 789; // Long
    let creditCard = creditCard_example; // String

    let mut context = UserRestControllerApi::Context::default();
    let result = client.addCreditCard(id, creditCard, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
Long (int64)
Required
Query parameters
Name Description
creditCard*
String
Required

Responses


createUser


/api/users/

Usage and SDK Samples

curl -X POST \
 -H "Accept: */*" \
 "https://localhost:8443/api/users/?user=&password=password_example"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.UserRestControllerApi;

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

public class UserRestControllerApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        UserRestControllerApi apiInstance = new UserRestControllerApi();
        Usero user = ; // Usero | 
        String password = password_example; // String | 

        try {
            Usero result = apiInstance.createUser(user, password);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserRestControllerApi#createUser");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.UserRestControllerApi;

public class UserRestControllerApiExample {
    public static void main(String[] args) {
        UserRestControllerApi apiInstance = new UserRestControllerApi();
        Usero user = ; // Usero | 
        String password = password_example; // String | 

        try {
            Usero result = apiInstance.createUser(user, password);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserRestControllerApi#createUser");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
UserRestControllerApi *apiInstance = [[UserRestControllerApi alloc] init];
Usero *user = ; //  (default to null)
String *password = password_example; //  (default to null)

[apiInstance createUserWith:user
    password:password
              completionHandler: ^(Usero output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var OpenApiDefinition = require('open_api_definition');

// Create an instance of the API class
var api = new OpenApiDefinition.UserRestControllerApi()
var user = ; // {Usero} 
var password = password_example; // {String} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.createUser(user, password, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

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

            // Create an instance of the API class
            var apiInstance = new UserRestControllerApi();
            var user = new Usero(); // Usero |  (default to null)
            var password = password_example;  // String |  (default to null)

            try {
                Usero result = apiInstance.createUser(user, password);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling UserRestControllerApi.createUser: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\UserRestControllerApi();
$user = ; // Usero | 
$password = password_example; // String | 

try {
    $result = $api_instance->createUser($user, $password);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling UserRestControllerApi->createUser: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::UserRestControllerApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::UserRestControllerApi->new();
my $user = ; # Usero | 
my $password = password_example; # String | 

eval {
    my $result = $api_instance->createUser(user => $user, password => $password);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UserRestControllerApi->createUser: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.UserRestControllerApi()
user =  # Usero |  (default to null)
password = password_example # String |  (default to null)

try:
    api_response = api_instance.create_user(user, password)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UserRestControllerApi->createUser: %s\n" % e)
extern crate UserRestControllerApi;

pub fn main() {
    let user = ; // Usero
    let password = password_example; // String

    let mut context = UserRestControllerApi::Context::default();
    let result = client.createUser(user, password, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
Name Description
user*
Usero
Required
password*
String
Required

Responses


deleteUserImage


/api/users/{id}/image

Usage and SDK Samples

curl -X DELETE \
 -H "Accept: */*" \
 "https://localhost:8443/api/users/{id}/image"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.UserRestControllerApi;

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

public class UserRestControllerApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        UserRestControllerApi apiInstance = new UserRestControllerApi();
        Long id = 789; // Long | 

        try {
            Object result = apiInstance.deleteUserImage(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserRestControllerApi#deleteUserImage");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.UserRestControllerApi;

public class UserRestControllerApiExample {
    public static void main(String[] args) {
        UserRestControllerApi apiInstance = new UserRestControllerApi();
        Long id = 789; // Long | 

        try {
            Object result = apiInstance.deleteUserImage(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserRestControllerApi#deleteUserImage");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
UserRestControllerApi *apiInstance = [[UserRestControllerApi alloc] init];
Long *id = 789; //  (default to null)

[apiInstance deleteUserImageWith:id
              completionHandler: ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var OpenApiDefinition = require('open_api_definition');

// Create an instance of the API class
var api = new OpenApiDefinition.UserRestControllerApi()
var id = 789; // {Long} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.deleteUserImage(id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

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

            // Create an instance of the API class
            var apiInstance = new UserRestControllerApi();
            var id = 789;  // Long |  (default to null)

            try {
                Object result = apiInstance.deleteUserImage(id);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling UserRestControllerApi.deleteUserImage: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\UserRestControllerApi();
$id = 789; // Long | 

try {
    $result = $api_instance->deleteUserImage($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling UserRestControllerApi->deleteUserImage: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::UserRestControllerApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::UserRestControllerApi->new();
my $id = 789; # Long | 

eval {
    my $result = $api_instance->deleteUserImage(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UserRestControllerApi->deleteUserImage: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.UserRestControllerApi()
id = 789 # Long |  (default to null)

try:
    api_response = api_instance.delete_user_image(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UserRestControllerApi->deleteUserImage: %s\n" % e)
extern crate UserRestControllerApi;

pub fn main() {
    let id = 789; // Long

    let mut context = UserRestControllerApi::Context::default();
    let result = client.deleteUserImage(id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses


downloadUserImage


/api/users/{id}/image

Usage and SDK Samples

curl -X GET \
 -H "Accept: */*" \
 "https://localhost:8443/api/users/{id}/image"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.UserRestControllerApi;

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

public class UserRestControllerApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        UserRestControllerApi apiInstance = new UserRestControllerApi();
        Long id = 789; // Long | 

        try {
            Object result = apiInstance.downloadUserImage(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserRestControllerApi#downloadUserImage");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.UserRestControllerApi;

public class UserRestControllerApiExample {
    public static void main(String[] args) {
        UserRestControllerApi apiInstance = new UserRestControllerApi();
        Long id = 789; // Long | 

        try {
            Object result = apiInstance.downloadUserImage(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserRestControllerApi#downloadUserImage");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
UserRestControllerApi *apiInstance = [[UserRestControllerApi alloc] init];
Long *id = 789; //  (default to null)

[apiInstance downloadUserImageWith:id
              completionHandler: ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var OpenApiDefinition = require('open_api_definition');

// Create an instance of the API class
var api = new OpenApiDefinition.UserRestControllerApi()
var id = 789; // {Long} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.downloadUserImage(id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

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

            // Create an instance of the API class
            var apiInstance = new UserRestControllerApi();
            var id = 789;  // Long |  (default to null)

            try {
                Object result = apiInstance.downloadUserImage(id);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling UserRestControllerApi.downloadUserImage: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\UserRestControllerApi();
$id = 789; // Long | 

try {
    $result = $api_instance->downloadUserImage($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling UserRestControllerApi->downloadUserImage: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::UserRestControllerApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::UserRestControllerApi->new();
my $id = 789; # Long | 

eval {
    my $result = $api_instance->downloadUserImage(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UserRestControllerApi->downloadUserImage: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.UserRestControllerApi()
id = 789 # Long |  (default to null)

try:
    api_response = api_instance.download_user_image(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UserRestControllerApi->downloadUserImage: %s\n" % e)
extern crate UserRestControllerApi;

pub fn main() {
    let id = 789; // Long

    let mut context = UserRestControllerApi::Context::default();
    let result = client.downloadUserImage(id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses


findRecomended


/api/users/{id}/recommendations

Usage and SDK Samples

curl -X GET \
 -H "Accept: */*" \
 "https://localhost:8443/api/users/{id}/recommendations"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.UserRestControllerApi;

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

public class UserRestControllerApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        UserRestControllerApi apiInstance = new UserRestControllerApi();
        Long id = 789; // Long | 

        try {
            array[Videogame] result = apiInstance.findRecomended(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserRestControllerApi#findRecomended");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.UserRestControllerApi;

public class UserRestControllerApiExample {
    public static void main(String[] args) {
        UserRestControllerApi apiInstance = new UserRestControllerApi();
        Long id = 789; // Long | 

        try {
            array[Videogame] result = apiInstance.findRecomended(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserRestControllerApi#findRecomended");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
UserRestControllerApi *apiInstance = [[UserRestControllerApi alloc] init];
Long *id = 789; //  (default to null)

[apiInstance findRecomendedWith:id
              completionHandler: ^(array[Videogame] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var OpenApiDefinition = require('open_api_definition');

// Create an instance of the API class
var api = new OpenApiDefinition.UserRestControllerApi()
var id = 789; // {Long} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.findRecomended(id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

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

            // Create an instance of the API class
            var apiInstance = new UserRestControllerApi();
            var id = 789;  // Long |  (default to null)

            try {
                array[Videogame] result = apiInstance.findRecomended(id);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling UserRestControllerApi.findRecomended: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\UserRestControllerApi();
$id = 789; // Long | 

try {
    $result = $api_instance->findRecomended($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling UserRestControllerApi->findRecomended: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::UserRestControllerApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::UserRestControllerApi->new();
my $id = 789; # Long | 

eval {
    my $result = $api_instance->findRecomended(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UserRestControllerApi->findRecomended: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.UserRestControllerApi()
id = 789 # Long |  (default to null)

try:
    api_response = api_instance.find_recomended(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UserRestControllerApi->findRecomended: %s\n" % e)
extern crate UserRestControllerApi;

pub fn main() {
    let id = 789; // Long

    let mut context = UserRestControllerApi::Context::default();
    let result = client.findRecomended(id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses


getUser


/api/users/{id}

Usage and SDK Samples

curl -X GET \
 -H "Accept: */*" \
 "https://localhost:8443/api/users/{id}"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.UserRestControllerApi;

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

public class UserRestControllerApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        UserRestControllerApi apiInstance = new UserRestControllerApi();
        Long id = 789; // Long | 

        try {
            Usero result = apiInstance.getUser(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserRestControllerApi#getUser");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.UserRestControllerApi;

public class UserRestControllerApiExample {
    public static void main(String[] args) {
        UserRestControllerApi apiInstance = new UserRestControllerApi();
        Long id = 789; // Long | 

        try {
            Usero result = apiInstance.getUser(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserRestControllerApi#getUser");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
UserRestControllerApi *apiInstance = [[UserRestControllerApi alloc] init];
Long *id = 789; //  (default to null)

[apiInstance getUserWith:id
              completionHandler: ^(Usero output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var OpenApiDefinition = require('open_api_definition');

// Create an instance of the API class
var api = new OpenApiDefinition.UserRestControllerApi()
var id = 789; // {Long} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getUser(id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

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

            // Create an instance of the API class
            var apiInstance = new UserRestControllerApi();
            var id = 789;  // Long |  (default to null)

            try {
                Usero result = apiInstance.getUser(id);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling UserRestControllerApi.getUser: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\UserRestControllerApi();
$id = 789; // Long | 

try {
    $result = $api_instance->getUser($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling UserRestControllerApi->getUser: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::UserRestControllerApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::UserRestControllerApi->new();
my $id = 789; # Long | 

eval {
    my $result = $api_instance->getUser(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UserRestControllerApi->getUser: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.UserRestControllerApi()
id = 789 # Long |  (default to null)

try:
    api_response = api_instance.get_user(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UserRestControllerApi->getUser: %s\n" % e)
extern crate UserRestControllerApi;

pub fn main() {
    let id = 789; // Long

    let mut context = UserRestControllerApi::Context::default();
    let result = client.getUser(id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses


getUserReadNews


/api/users/readNews/{id}

Usage and SDK Samples

curl -X GET \
 -H "Accept: */*" \
 "https://localhost:8443/api/users/readNews/{id}"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.UserRestControllerApi;

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

public class UserRestControllerApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        UserRestControllerApi apiInstance = new UserRestControllerApi();
        Long id = 789; // Long | 

        try {
            array[News] result = apiInstance.getUserReadNews(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserRestControllerApi#getUserReadNews");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.UserRestControllerApi;

public class UserRestControllerApiExample {
    public static void main(String[] args) {
        UserRestControllerApi apiInstance = new UserRestControllerApi();
        Long id = 789; // Long | 

        try {
            array[News] result = apiInstance.getUserReadNews(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserRestControllerApi#getUserReadNews");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
UserRestControllerApi *apiInstance = [[UserRestControllerApi alloc] init];
Long *id = 789; //  (default to null)

[apiInstance getUserReadNewsWith:id
              completionHandler: ^(array[News] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var OpenApiDefinition = require('open_api_definition');

// Create an instance of the API class
var api = new OpenApiDefinition.UserRestControllerApi()
var id = 789; // {Long} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getUserReadNews(id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

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

            // Create an instance of the API class
            var apiInstance = new UserRestControllerApi();
            var id = 789;  // Long |  (default to null)

            try {
                array[News] result = apiInstance.getUserReadNews(id);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling UserRestControllerApi.getUserReadNews: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\UserRestControllerApi();
$id = 789; // Long | 

try {
    $result = $api_instance->getUserReadNews($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling UserRestControllerApi->getUserReadNews: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::UserRestControllerApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::UserRestControllerApi->new();
my $id = 789; # Long | 

eval {
    my $result = $api_instance->getUserReadNews(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UserRestControllerApi->getUserReadNews: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.UserRestControllerApi()
id = 789 # Long |  (default to null)

try:
    api_response = api_instance.get_user_read_news(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UserRestControllerApi->getUserReadNews: %s\n" % e)
extern crate UserRestControllerApi;

pub fn main() {
    let id = 789; // Long

    let mut context = UserRestControllerApi::Context::default();
    let result = client.getUserReadNews(id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses


getUserVideogames


/api/users/purchases/{id}

Usage and SDK Samples

curl -X GET \
 -H "Accept: */*" \
 "https://localhost:8443/api/users/purchases/{id}"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.UserRestControllerApi;

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

public class UserRestControllerApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        UserRestControllerApi apiInstance = new UserRestControllerApi();
        Long id = 789; // Long | 

        try {
            array[Videogame] result = apiInstance.getUserVideogames(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserRestControllerApi#getUserVideogames");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.UserRestControllerApi;

public class UserRestControllerApiExample {
    public static void main(String[] args) {
        UserRestControllerApi apiInstance = new UserRestControllerApi();
        Long id = 789; // Long | 

        try {
            array[Videogame] result = apiInstance.getUserVideogames(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserRestControllerApi#getUserVideogames");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
UserRestControllerApi *apiInstance = [[UserRestControllerApi alloc] init];
Long *id = 789; //  (default to null)

[apiInstance getUserVideogamesWith:id
              completionHandler: ^(array[Videogame] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var OpenApiDefinition = require('open_api_definition');

// Create an instance of the API class
var api = new OpenApiDefinition.UserRestControllerApi()
var id = 789; // {Long} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getUserVideogames(id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

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

            // Create an instance of the API class
            var apiInstance = new UserRestControllerApi();
            var id = 789;  // Long |  (default to null)

            try {
                array[Videogame] result = apiInstance.getUserVideogames(id);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling UserRestControllerApi.getUserVideogames: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\UserRestControllerApi();
$id = 789; // Long | 

try {
    $result = $api_instance->getUserVideogames($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling UserRestControllerApi->getUserVideogames: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::UserRestControllerApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::UserRestControllerApi->new();
my $id = 789; # Long | 

eval {
    my $result = $api_instance->getUserVideogames(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UserRestControllerApi->getUserVideogames: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.UserRestControllerApi()
id = 789 # Long |  (default to null)

try:
    api_response = api_instance.get_user_videogames(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UserRestControllerApi->getUserVideogames: %s\n" % e)
extern crate UserRestControllerApi;

pub fn main() {
    let id = 789; // Long

    let mut context = UserRestControllerApi::Context::default();
    let result = client.getUserVideogames(id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses


getUsers


/api/users/

Usage and SDK Samples

curl -X GET \
 -H "Accept: */*" \
 "https://localhost:8443/api/users/"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.UserRestControllerApi;

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

public class UserRestControllerApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        UserRestControllerApi apiInstance = new UserRestControllerApi();

        try {
            array[Usero] result = apiInstance.getUsers();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserRestControllerApi#getUsers");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.UserRestControllerApi;

public class UserRestControllerApiExample {
    public static void main(String[] args) {
        UserRestControllerApi apiInstance = new UserRestControllerApi();

        try {
            array[Usero] result = apiInstance.getUsers();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserRestControllerApi#getUsers");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
UserRestControllerApi *apiInstance = [[UserRestControllerApi alloc] init];

[apiInstance getUsersWithCompletionHandler: 
              ^(array[Usero] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var OpenApiDefinition = require('open_api_definition');

// Create an instance of the API class
var api = new OpenApiDefinition.UserRestControllerApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getUsers(callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

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

            // Create an instance of the API class
            var apiInstance = new UserRestControllerApi();

            try {
                array[Usero] result = apiInstance.getUsers();
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling UserRestControllerApi.getUsers: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\UserRestControllerApi();

try {
    $result = $api_instance->getUsers();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling UserRestControllerApi->getUsers: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::UserRestControllerApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::UserRestControllerApi->new();

eval {
    my $result = $api_instance->getUsers();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UserRestControllerApi->getUsers: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.UserRestControllerApi()

try:
    api_response = api_instance.get_users()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UserRestControllerApi->getUsers: %s\n" % e)
extern crate UserRestControllerApi;

pub fn main() {

    let mut context = UserRestControllerApi::Context::default();
    let result = client.getUsers(&context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Responses


me


/api/users/me

Usage and SDK Samples

curl -X GET \
 -H "Accept: */*" \
 "https://localhost:8443/api/users/me"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.UserRestControllerApi;

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

public class UserRestControllerApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        UserRestControllerApi apiInstance = new UserRestControllerApi();

        try {
            Usero result = apiInstance.me();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserRestControllerApi#me");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.UserRestControllerApi;

public class UserRestControllerApiExample {
    public static void main(String[] args) {
        UserRestControllerApi apiInstance = new UserRestControllerApi();

        try {
            Usero result = apiInstance.me();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserRestControllerApi#me");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
UserRestControllerApi *apiInstance = [[UserRestControllerApi alloc] init];

[apiInstance meWithCompletionHandler: 
              ^(Usero output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var OpenApiDefinition = require('open_api_definition');

// Create an instance of the API class
var api = new OpenApiDefinition.UserRestControllerApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.me(callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

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

            // Create an instance of the API class
            var apiInstance = new UserRestControllerApi();

            try {
                Usero result = apiInstance.me();
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling UserRestControllerApi.me: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\UserRestControllerApi();

try {
    $result = $api_instance->me();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling UserRestControllerApi->me: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::UserRestControllerApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::UserRestControllerApi->new();

eval {
    my $result = $api_instance->me();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UserRestControllerApi->me: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.UserRestControllerApi()

try:
    api_response = api_instance.me()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UserRestControllerApi->me: %s\n" % e)
extern crate UserRestControllerApi;

pub fn main() {

    let mut context = UserRestControllerApi::Context::default();
    let result = client.me(&context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Responses


upadatePassword


/api/users/{id}/password

Usage and SDK Samples

curl -X PUT \
 -H "Accept: */*" \
 "https://localhost:8443/api/users/{id}/password?password=password_example"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.UserRestControllerApi;

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

public class UserRestControllerApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        UserRestControllerApi apiInstance = new UserRestControllerApi();
        Long id = 789; // Long | 
        String password = password_example; // String | 

        try {
            Object result = apiInstance.upadatePassword(id, password);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserRestControllerApi#upadatePassword");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.UserRestControllerApi;

public class UserRestControllerApiExample {
    public static void main(String[] args) {
        UserRestControllerApi apiInstance = new UserRestControllerApi();
        Long id = 789; // Long | 
        String password = password_example; // String | 

        try {
            Object result = apiInstance.upadatePassword(id, password);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserRestControllerApi#upadatePassword");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
UserRestControllerApi *apiInstance = [[UserRestControllerApi alloc] init];
Long *id = 789; //  (default to null)
String *password = password_example; //  (default to null)

[apiInstance upadatePasswordWith:id
    password:password
              completionHandler: ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var OpenApiDefinition = require('open_api_definition');

// Create an instance of the API class
var api = new OpenApiDefinition.UserRestControllerApi()
var id = 789; // {Long} 
var password = password_example; // {String} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.upadatePassword(id, password, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

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

            // Create an instance of the API class
            var apiInstance = new UserRestControllerApi();
            var id = 789;  // Long |  (default to null)
            var password = password_example;  // String |  (default to null)

            try {
                Object result = apiInstance.upadatePassword(id, password);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling UserRestControllerApi.upadatePassword: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\UserRestControllerApi();
$id = 789; // Long | 
$password = password_example; // String | 

try {
    $result = $api_instance->upadatePassword($id, $password);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling UserRestControllerApi->upadatePassword: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::UserRestControllerApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::UserRestControllerApi->new();
my $id = 789; # Long | 
my $password = password_example; # String | 

eval {
    my $result = $api_instance->upadatePassword(id => $id, password => $password);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UserRestControllerApi->upadatePassword: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.UserRestControllerApi()
id = 789 # Long |  (default to null)
password = password_example # String |  (default to null)

try:
    api_response = api_instance.upadate_password(id, password)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UserRestControllerApi->upadatePassword: %s\n" % e)
extern crate UserRestControllerApi;

pub fn main() {
    let id = 789; // Long
    let password = password_example; // String

    let mut context = UserRestControllerApi::Context::default();
    let result = client.upadatePassword(id, password, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
Long (int64)
Required
Query parameters
Name Description
password*
String
Required

Responses


updateCreditCard


/api/users/{id}/creditCard

Usage and SDK Samples

curl -X PUT \
 -H "Accept: */*" \
 "https://localhost:8443/api/users/{id}/creditCard?creditCard=creditCard_example"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.UserRestControllerApi;

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

public class UserRestControllerApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        UserRestControllerApi apiInstance = new UserRestControllerApi();
        Long id = 789; // Long | 
        String creditCard = creditCard_example; // String | 

        try {
            Object result = apiInstance.updateCreditCard(id, creditCard);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserRestControllerApi#updateCreditCard");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.UserRestControllerApi;

public class UserRestControllerApiExample {
    public static void main(String[] args) {
        UserRestControllerApi apiInstance = new UserRestControllerApi();
        Long id = 789; // Long | 
        String creditCard = creditCard_example; // String | 

        try {
            Object result = apiInstance.updateCreditCard(id, creditCard);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserRestControllerApi#updateCreditCard");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
UserRestControllerApi *apiInstance = [[UserRestControllerApi alloc] init];
Long *id = 789; //  (default to null)
String *creditCard = creditCard_example; //  (default to null)

[apiInstance updateCreditCardWith:id
    creditCard:creditCard
              completionHandler: ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var OpenApiDefinition = require('open_api_definition');

// Create an instance of the API class
var api = new OpenApiDefinition.UserRestControllerApi()
var id = 789; // {Long} 
var creditCard = creditCard_example; // {String} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.updateCreditCard(id, creditCard, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

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

            // Create an instance of the API class
            var apiInstance = new UserRestControllerApi();
            var id = 789;  // Long |  (default to null)
            var creditCard = creditCard_example;  // String |  (default to null)

            try {
                Object result = apiInstance.updateCreditCard(id, creditCard);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling UserRestControllerApi.updateCreditCard: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\UserRestControllerApi();
$id = 789; // Long | 
$creditCard = creditCard_example; // String | 

try {
    $result = $api_instance->updateCreditCard($id, $creditCard);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling UserRestControllerApi->updateCreditCard: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::UserRestControllerApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::UserRestControllerApi->new();
my $id = 789; # Long | 
my $creditCard = creditCard_example; # String | 

eval {
    my $result = $api_instance->updateCreditCard(id => $id, creditCard => $creditCard);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UserRestControllerApi->updateCreditCard: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.UserRestControllerApi()
id = 789 # Long |  (default to null)
creditCard = creditCard_example # String |  (default to null)

try:
    api_response = api_instance.update_credit_card(id, creditCard)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UserRestControllerApi->updateCreditCard: %s\n" % e)
extern crate UserRestControllerApi;

pub fn main() {
    let id = 789; // Long
    let creditCard = creditCard_example; // String

    let mut context = UserRestControllerApi::Context::default();
    let result = client.updateCreditCard(id, creditCard, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
Long (int64)
Required
Query parameters
Name Description
creditCard*
String
Required

Responses


updateUser


/api/users/{id}

Usage and SDK Samples

curl -X PUT \
 -H "Accept: */*" \
 "https://localhost:8443/api/users/{id}?updatedUser="
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.UserRestControllerApi;

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

public class UserRestControllerApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        UserRestControllerApi apiInstance = new UserRestControllerApi();
        Long id = 789; // Long | 
        Usero updatedUser = ; // Usero | 

        try {
            Usero result = apiInstance.updateUser(id, updatedUser);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserRestControllerApi#updateUser");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.UserRestControllerApi;

public class UserRestControllerApiExample {
    public static void main(String[] args) {
        UserRestControllerApi apiInstance = new UserRestControllerApi();
        Long id = 789; // Long | 
        Usero updatedUser = ; // Usero | 

        try {
            Usero result = apiInstance.updateUser(id, updatedUser);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserRestControllerApi#updateUser");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
UserRestControllerApi *apiInstance = [[UserRestControllerApi alloc] init];
Long *id = 789; //  (default to null)
Usero *updatedUser = ; //  (default to null)

[apiInstance updateUserWith:id
    updatedUser:updatedUser
              completionHandler: ^(Usero output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var OpenApiDefinition = require('open_api_definition');

// Create an instance of the API class
var api = new OpenApiDefinition.UserRestControllerApi()
var id = 789; // {Long} 
var updatedUser = ; // {Usero} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.updateUser(id, updatedUser, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

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

            // Create an instance of the API class
            var apiInstance = new UserRestControllerApi();
            var id = 789;  // Long |  (default to null)
            var updatedUser = new Usero(); // Usero |  (default to null)

            try {
                Usero result = apiInstance.updateUser(id, updatedUser);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling UserRestControllerApi.updateUser: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\UserRestControllerApi();
$id = 789; // Long | 
$updatedUser = ; // Usero | 

try {
    $result = $api_instance->updateUser($id, $updatedUser);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling UserRestControllerApi->updateUser: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::UserRestControllerApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::UserRestControllerApi->new();
my $id = 789; # Long | 
my $updatedUser = ; # Usero | 

eval {
    my $result = $api_instance->updateUser(id => $id, updatedUser => $updatedUser);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UserRestControllerApi->updateUser: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.UserRestControllerApi()
id = 789 # Long |  (default to null)
updatedUser =  # Usero |  (default to null)

try:
    api_response = api_instance.update_user(id, updatedUser)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UserRestControllerApi->updateUser: %s\n" % e)
extern crate UserRestControllerApi;

pub fn main() {
    let id = 789; // Long
    let updatedUser = ; // Usero

    let mut context = UserRestControllerApi::Context::default();
    let result = client.updateUser(id, updatedUser, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
Long (int64)
Required
Query parameters
Name Description
updatedUser*
Usero
Required

Responses


uploadUserImage


/api/users/{id}/image

Usage and SDK Samples

curl -X POST \
 -H "Accept: */*" \
 -H "Content-Type: application/json" \
 "https://localhost:8443/api/users/{id}/image" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.UserRestControllerApi;

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

public class UserRestControllerApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        UserRestControllerApi apiInstance = new UserRestControllerApi();
        Long id = 789; // Long | 
        InlineObject2 inlineObject2 = ; // InlineObject2 | 

        try {
            Usero result = apiInstance.uploadUserImage(id, inlineObject2);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserRestControllerApi#uploadUserImage");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.UserRestControllerApi;

public class UserRestControllerApiExample {
    public static void main(String[] args) {
        UserRestControllerApi apiInstance = new UserRestControllerApi();
        Long id = 789; // Long | 
        InlineObject2 inlineObject2 = ; // InlineObject2 | 

        try {
            Usero result = apiInstance.uploadUserImage(id, inlineObject2);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserRestControllerApi#uploadUserImage");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
UserRestControllerApi *apiInstance = [[UserRestControllerApi alloc] init];
Long *id = 789; //  (default to null)
InlineObject2 *inlineObject2 = ; //  (optional)

[apiInstance uploadUserImageWith:id
    inlineObject2:inlineObject2
              completionHandler: ^(Usero output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var OpenApiDefinition = require('open_api_definition');

// Create an instance of the API class
var api = new OpenApiDefinition.UserRestControllerApi()
var id = 789; // {Long} 
var opts = {
  'inlineObject2':  // {InlineObject2} 
};

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

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

            // Create an instance of the API class
            var apiInstance = new UserRestControllerApi();
            var id = 789;  // Long |  (default to null)
            var inlineObject2 = new InlineObject2(); // InlineObject2 |  (optional) 

            try {
                Usero result = apiInstance.uploadUserImage(id, inlineObject2);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling UserRestControllerApi.uploadUserImage: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\UserRestControllerApi();
$id = 789; // Long | 
$inlineObject2 = ; // InlineObject2 | 

try {
    $result = $api_instance->uploadUserImage($id, $inlineObject2);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling UserRestControllerApi->uploadUserImage: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::UserRestControllerApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::UserRestControllerApi->new();
my $id = 789; # Long | 
my $inlineObject2 = WWW::OPenAPIClient::Object::InlineObject2->new(); # InlineObject2 | 

eval {
    my $result = $api_instance->uploadUserImage(id => $id, inlineObject2 => $inlineObject2);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UserRestControllerApi->uploadUserImage: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.UserRestControllerApi()
id = 789 # Long |  (default to null)
inlineObject2 =  # InlineObject2 |  (optional)

try:
    api_response = api_instance.upload_user_image(id, inlineObject2=inlineObject2)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UserRestControllerApi->uploadUserImage: %s\n" % e)
extern crate UserRestControllerApi;

pub fn main() {
    let id = 789; // Long
    let inlineObject2 = ; // InlineObject2

    let mut context = UserRestControllerApi::Context::default();
    let result = client.uploadUserImage(id, inlineObject2, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
Long (int64)
Required
Body parameters
Name Description
inlineObject2

Responses


VideogamesRestController

addRelatedNew


/api/videogames/{id}/addRelatedNew/{idn}

Usage and SDK Samples

curl -X PUT \
 -H "Accept: */*" \
 "https://localhost:8443/api/videogames/{id}/addRelatedNew/{idn}"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.VideogamesRestControllerApi;

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

public class VideogamesRestControllerApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        VideogamesRestControllerApi apiInstance = new VideogamesRestControllerApi();
        Long id = 789; // Long | 
        Long idn = 789; // Long | 

        try {
            array[News] result = apiInstance.addRelatedNew(id, idn);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VideogamesRestControllerApi#addRelatedNew");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.VideogamesRestControllerApi;

public class VideogamesRestControllerApiExample {
    public static void main(String[] args) {
        VideogamesRestControllerApi apiInstance = new VideogamesRestControllerApi();
        Long id = 789; // Long | 
        Long idn = 789; // Long | 

        try {
            array[News] result = apiInstance.addRelatedNew(id, idn);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VideogamesRestControllerApi#addRelatedNew");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
VideogamesRestControllerApi *apiInstance = [[VideogamesRestControllerApi alloc] init];
Long *id = 789; //  (default to null)
Long *idn = 789; //  (default to null)

[apiInstance addRelatedNewWith:id
    idn:idn
              completionHandler: ^(array[News] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var OpenApiDefinition = require('open_api_definition');

// Create an instance of the API class
var api = new OpenApiDefinition.VideogamesRestControllerApi()
var id = 789; // {Long} 
var idn = 789; // {Long} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.addRelatedNew(id, idn, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

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

            // Create an instance of the API class
            var apiInstance = new VideogamesRestControllerApi();
            var id = 789;  // Long |  (default to null)
            var idn = 789;  // Long |  (default to null)

            try {
                array[News] result = apiInstance.addRelatedNew(id, idn);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling VideogamesRestControllerApi.addRelatedNew: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\VideogamesRestControllerApi();
$id = 789; // Long | 
$idn = 789; // Long | 

try {
    $result = $api_instance->addRelatedNew($id, $idn);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VideogamesRestControllerApi->addRelatedNew: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::VideogamesRestControllerApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::VideogamesRestControllerApi->new();
my $id = 789; # Long | 
my $idn = 789; # Long | 

eval {
    my $result = $api_instance->addRelatedNew(id => $id, idn => $idn);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling VideogamesRestControllerApi->addRelatedNew: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.VideogamesRestControllerApi()
id = 789 # Long |  (default to null)
idn = 789 # Long |  (default to null)

try:
    api_response = api_instance.add_related_new(id, idn)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling VideogamesRestControllerApi->addRelatedNew: %s\n" % e)
extern crate VideogamesRestControllerApi;

pub fn main() {
    let id = 789; // Long
    let idn = 789; // Long

    let mut context = VideogamesRestControllerApi::Context::default();
    let result = client.addRelatedNew(id, idn, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
Long (int64)
Required
idn*
Long (int64)
Required

Responses


createVideogame


/api/videogames/

Usage and SDK Samples

curl -X POST \
 -H "Accept: */*" \
 -H "Content-Type: application/json" \
 "https://localhost:8443/api/videogames/" \
 -d '{
  "continent" : "continent",
  "ramR" : "ramR",
  "image" : true,
  "cpuR" : "cpuR",
  "ssooM" : "ssooM",
  "rating" : 1.4658129,
  "description" : "description",
  "storageM" : "storageM",
  "shortDescription" : "shortDescription",
  "history" : "history",
  "cpuM" : "cpuM",
  "title" : "title",
  "imageCompany" : true,
  "storageR" : "storageR",
  "gpuM" : "gpuM",
  "price" : 6.0274563,
  "gpuR" : "gpuR",
  "genre" : "genre",
  "ssooR" : "ssooR",
  "imageVg" : true,
  "company" : "company",
  "ramM" : "ramM",
  "id" : 0,
  "onePurchaseVideogame" : {
    "nick" : "nick",
    "lastName" : "lastName",
    "image" : true,
    "encodedPassword" : "encodedPassword",
    "roles" : [ "roles", "roles" ],
    "name" : "name",
    "id" : 5,
    "creditCard" : "creditCard",
    "email" : "email"
  }
}'
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.VideogamesRestControllerApi;

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

public class VideogamesRestControllerApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        VideogamesRestControllerApi apiInstance = new VideogamesRestControllerApi();
        Videogame videogame = ; // Videogame | 

        try {
            Videogame result = apiInstance.createVideogame(videogame);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VideogamesRestControllerApi#createVideogame");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.VideogamesRestControllerApi;

public class VideogamesRestControllerApiExample {
    public static void main(String[] args) {
        VideogamesRestControllerApi apiInstance = new VideogamesRestControllerApi();
        Videogame videogame = ; // Videogame | 

        try {
            Videogame result = apiInstance.createVideogame(videogame);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VideogamesRestControllerApi#createVideogame");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
VideogamesRestControllerApi *apiInstance = [[VideogamesRestControllerApi alloc] init];
Videogame *videogame = ; // 

[apiInstance createVideogameWith:videogame
              completionHandler: ^(Videogame output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var OpenApiDefinition = require('open_api_definition');

// Create an instance of the API class
var api = new OpenApiDefinition.VideogamesRestControllerApi()
var videogame = ; // {Videogame} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.createVideogame(videogame, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

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

            // Create an instance of the API class
            var apiInstance = new VideogamesRestControllerApi();
            var videogame = new Videogame(); // Videogame | 

            try {
                Videogame result = apiInstance.createVideogame(videogame);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling VideogamesRestControllerApi.createVideogame: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\VideogamesRestControllerApi();
$videogame = ; // Videogame | 

try {
    $result = $api_instance->createVideogame($videogame);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VideogamesRestControllerApi->createVideogame: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::VideogamesRestControllerApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::VideogamesRestControllerApi->new();
my $videogame = WWW::OPenAPIClient::Object::Videogame->new(); # Videogame | 

eval {
    my $result = $api_instance->createVideogame(videogame => $videogame);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling VideogamesRestControllerApi->createVideogame: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.VideogamesRestControllerApi()
videogame =  # Videogame | 

try:
    api_response = api_instance.create_videogame(videogame)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling VideogamesRestControllerApi->createVideogame: %s\n" % e)
extern crate VideogamesRestControllerApi;

pub fn main() {
    let videogame = ; // Videogame

    let mut context = VideogamesRestControllerApi::Context::default();
    let result = client.createVideogame(videogame, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
Name Description
videogame *

Responses


deleteVgCompanyImage


/api/videogames/{id}/companyImage

Usage and SDK Samples

curl -X DELETE \
 -H "Accept: */*" \
 "https://localhost:8443/api/videogames/{id}/companyImage"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.VideogamesRestControllerApi;

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

public class VideogamesRestControllerApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        VideogamesRestControllerApi apiInstance = new VideogamesRestControllerApi();
        Long id = 789; // Long | 

        try {
            Object result = apiInstance.deleteVgCompanyImage(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VideogamesRestControllerApi#deleteVgCompanyImage");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.VideogamesRestControllerApi;

public class VideogamesRestControllerApiExample {
    public static void main(String[] args) {
        VideogamesRestControllerApi apiInstance = new VideogamesRestControllerApi();
        Long id = 789; // Long | 

        try {
            Object result = apiInstance.deleteVgCompanyImage(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VideogamesRestControllerApi#deleteVgCompanyImage");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
VideogamesRestControllerApi *apiInstance = [[VideogamesRestControllerApi alloc] init];
Long *id = 789; //  (default to null)

[apiInstance deleteVgCompanyImageWith:id
              completionHandler: ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var OpenApiDefinition = require('open_api_definition');

// Create an instance of the API class
var api = new OpenApiDefinition.VideogamesRestControllerApi()
var id = 789; // {Long} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.deleteVgCompanyImage(id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

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

            // Create an instance of the API class
            var apiInstance = new VideogamesRestControllerApi();
            var id = 789;  // Long |  (default to null)

            try {
                Object result = apiInstance.deleteVgCompanyImage(id);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling VideogamesRestControllerApi.deleteVgCompanyImage: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\VideogamesRestControllerApi();
$id = 789; // Long | 

try {
    $result = $api_instance->deleteVgCompanyImage($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VideogamesRestControllerApi->deleteVgCompanyImage: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::VideogamesRestControllerApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::VideogamesRestControllerApi->new();
my $id = 789; # Long | 

eval {
    my $result = $api_instance->deleteVgCompanyImage(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling VideogamesRestControllerApi->deleteVgCompanyImage: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.VideogamesRestControllerApi()
id = 789 # Long |  (default to null)

try:
    api_response = api_instance.delete_vg_company_image(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling VideogamesRestControllerApi->deleteVgCompanyImage: %s\n" % e)
extern crate VideogamesRestControllerApi;

pub fn main() {
    let id = 789; // Long

    let mut context = VideogamesRestControllerApi::Context::default();
    let result = client.deleteVgCompanyImage(id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses


deleteVgImage


/api/videogames/{id}/image

Usage and SDK Samples

curl -X DELETE \
 -H "Accept: */*" \
 "https://localhost:8443/api/videogames/{id}/image"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.VideogamesRestControllerApi;

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

public class VideogamesRestControllerApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        VideogamesRestControllerApi apiInstance = new VideogamesRestControllerApi();
        Long id = 789; // Long | 

        try {
            Object result = apiInstance.deleteVgImage(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VideogamesRestControllerApi#deleteVgImage");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.VideogamesRestControllerApi;

public class VideogamesRestControllerApiExample {
    public static void main(String[] args) {
        VideogamesRestControllerApi apiInstance = new VideogamesRestControllerApi();
        Long id = 789; // Long | 

        try {
            Object result = apiInstance.deleteVgImage(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VideogamesRestControllerApi#deleteVgImage");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
VideogamesRestControllerApi *apiInstance = [[VideogamesRestControllerApi alloc] init];
Long *id = 789; //  (default to null)

[apiInstance deleteVgImageWith:id
              completionHandler: ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var OpenApiDefinition = require('open_api_definition');

// Create an instance of the API class
var api = new OpenApiDefinition.VideogamesRestControllerApi()
var id = 789; // {Long} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.deleteVgImage(id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

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

            // Create an instance of the API class
            var apiInstance = new VideogamesRestControllerApi();
            var id = 789;  // Long |  (default to null)

            try {
                Object result = apiInstance.deleteVgImage(id);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling VideogamesRestControllerApi.deleteVgImage: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\VideogamesRestControllerApi();
$id = 789; // Long | 

try {
    $result = $api_instance->deleteVgImage($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VideogamesRestControllerApi->deleteVgImage: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::VideogamesRestControllerApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::VideogamesRestControllerApi->new();
my $id = 789; # Long | 

eval {
    my $result = $api_instance->deleteVgImage(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling VideogamesRestControllerApi->deleteVgImage: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.VideogamesRestControllerApi()
id = 789 # Long |  (default to null)

try:
    api_response = api_instance.delete_vg_image(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling VideogamesRestControllerApi->deleteVgImage: %s\n" % e)
extern crate VideogamesRestControllerApi;

pub fn main() {
    let id = 789; // Long

    let mut context = VideogamesRestControllerApi::Context::default();
    let result = client.deleteVgImage(id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses


deleteVideogame


/api/videogames/{id}

Usage and SDK Samples

curl -X DELETE \
 -H "Accept: */*" \
 "https://localhost:8443/api/videogames/{id}"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.VideogamesRestControllerApi;

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

public class VideogamesRestControllerApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        VideogamesRestControllerApi apiInstance = new VideogamesRestControllerApi();
        Long id = 789; // Long | 

        try {
            Videogame result = apiInstance.deleteVideogame(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VideogamesRestControllerApi#deleteVideogame");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.VideogamesRestControllerApi;

public class VideogamesRestControllerApiExample {
    public static void main(String[] args) {
        VideogamesRestControllerApi apiInstance = new VideogamesRestControllerApi();
        Long id = 789; // Long | 

        try {
            Videogame result = apiInstance.deleteVideogame(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VideogamesRestControllerApi#deleteVideogame");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
VideogamesRestControllerApi *apiInstance = [[VideogamesRestControllerApi alloc] init];
Long *id = 789; //  (default to null)

[apiInstance deleteVideogameWith:id
              completionHandler: ^(Videogame output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var OpenApiDefinition = require('open_api_definition');

// Create an instance of the API class
var api = new OpenApiDefinition.VideogamesRestControllerApi()
var id = 789; // {Long} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.deleteVideogame(id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

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

            // Create an instance of the API class
            var apiInstance = new VideogamesRestControllerApi();
            var id = 789;  // Long |  (default to null)

            try {
                Videogame result = apiInstance.deleteVideogame(id);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling VideogamesRestControllerApi.deleteVideogame: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\VideogamesRestControllerApi();
$id = 789; // Long | 

try {
    $result = $api_instance->deleteVideogame($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VideogamesRestControllerApi->deleteVideogame: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::VideogamesRestControllerApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::VideogamesRestControllerApi->new();
my $id = 789; # Long | 

eval {
    my $result = $api_instance->deleteVideogame(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling VideogamesRestControllerApi->deleteVideogame: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.VideogamesRestControllerApi()
id = 789 # Long |  (default to null)

try:
    api_response = api_instance.delete_videogame(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling VideogamesRestControllerApi->deleteVideogame: %s\n" % e)
extern crate VideogamesRestControllerApi;

pub fn main() {
    let id = 789; // Long

    let mut context = VideogamesRestControllerApi::Context::default();
    let result = client.deleteVideogame(id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses


downloadVgCompanyImage


/api/videogames/{id}/companyImage

Usage and SDK Samples

curl -X GET \
 -H "Accept: */*" \
 "https://localhost:8443/api/videogames/{id}/companyImage"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.VideogamesRestControllerApi;

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

public class VideogamesRestControllerApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        VideogamesRestControllerApi apiInstance = new VideogamesRestControllerApi();
        Long id = 789; // Long | 

        try {
            Object result = apiInstance.downloadVgCompanyImage(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VideogamesRestControllerApi#downloadVgCompanyImage");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.VideogamesRestControllerApi;

public class VideogamesRestControllerApiExample {
    public static void main(String[] args) {
        VideogamesRestControllerApi apiInstance = new VideogamesRestControllerApi();
        Long id = 789; // Long | 

        try {
            Object result = apiInstance.downloadVgCompanyImage(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VideogamesRestControllerApi#downloadVgCompanyImage");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
VideogamesRestControllerApi *apiInstance = [[VideogamesRestControllerApi alloc] init];
Long *id = 789; //  (default to null)

[apiInstance downloadVgCompanyImageWith:id
              completionHandler: ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var OpenApiDefinition = require('open_api_definition');

// Create an instance of the API class
var api = new OpenApiDefinition.VideogamesRestControllerApi()
var id = 789; // {Long} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.downloadVgCompanyImage(id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

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

            // Create an instance of the API class
            var apiInstance = new VideogamesRestControllerApi();
            var id = 789;  // Long |  (default to null)

            try {
                Object result = apiInstance.downloadVgCompanyImage(id);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling VideogamesRestControllerApi.downloadVgCompanyImage: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\VideogamesRestControllerApi();
$id = 789; // Long | 

try {
    $result = $api_instance->downloadVgCompanyImage($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VideogamesRestControllerApi->downloadVgCompanyImage: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::VideogamesRestControllerApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::VideogamesRestControllerApi->new();
my $id = 789; # Long | 

eval {
    my $result = $api_instance->downloadVgCompanyImage(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling VideogamesRestControllerApi->downloadVgCompanyImage: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.VideogamesRestControllerApi()
id = 789 # Long |  (default to null)

try:
    api_response = api_instance.download_vg_company_image(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling VideogamesRestControllerApi->downloadVgCompanyImage: %s\n" % e)
extern crate VideogamesRestControllerApi;

pub fn main() {
    let id = 789; // Long

    let mut context = VideogamesRestControllerApi::Context::default();
    let result = client.downloadVgCompanyImage(id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses


downloadVgImage


/api/videogames/{id}/image

Usage and SDK Samples

curl -X GET \
 -H "Accept: */*" \
 "https://localhost:8443/api/videogames/{id}/image"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.VideogamesRestControllerApi;

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

public class VideogamesRestControllerApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        VideogamesRestControllerApi apiInstance = new VideogamesRestControllerApi();
        Long id = 789; // Long | 

        try {
            Object result = apiInstance.downloadVgImage(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VideogamesRestControllerApi#downloadVgImage");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.VideogamesRestControllerApi;

public class VideogamesRestControllerApiExample {
    public static void main(String[] args) {
        VideogamesRestControllerApi apiInstance = new VideogamesRestControllerApi();
        Long id = 789; // Long | 

        try {
            Object result = apiInstance.downloadVgImage(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VideogamesRestControllerApi#downloadVgImage");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
VideogamesRestControllerApi *apiInstance = [[VideogamesRestControllerApi alloc] init];
Long *id = 789; //  (default to null)

[apiInstance downloadVgImageWith:id
              completionHandler: ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var OpenApiDefinition = require('open_api_definition');

// Create an instance of the API class
var api = new OpenApiDefinition.VideogamesRestControllerApi()
var id = 789; // {Long} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.downloadVgImage(id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

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

            // Create an instance of the API class
            var apiInstance = new VideogamesRestControllerApi();
            var id = 789;  // Long |  (default to null)

            try {
                Object result = apiInstance.downloadVgImage(id);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling VideogamesRestControllerApi.downloadVgImage: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\VideogamesRestControllerApi();
$id = 789; // Long | 

try {
    $result = $api_instance->downloadVgImage($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VideogamesRestControllerApi->downloadVgImage: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::VideogamesRestControllerApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::VideogamesRestControllerApi->new();
my $id = 789; # Long | 

eval {
    my $result = $api_instance->downloadVgImage(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling VideogamesRestControllerApi->downloadVgImage: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.VideogamesRestControllerApi()
id = 789 # Long |  (default to null)

try:
    api_response = api_instance.download_vg_image(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling VideogamesRestControllerApi->downloadVgImage: %s\n" % e)
extern crate VideogamesRestControllerApi;

pub fn main() {
    let id = 789; // Long

    let mut context = VideogamesRestControllerApi::Context::default();
    let result = client.downloadVgImage(id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses


findVideogmamePage


/api/videogames/pages

Usage and SDK Samples

curl -X GET \
 -H "Accept: */*" \
 "https://localhost:8443/api/videogames/pages?page=56"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.VideogamesRestControllerApi;

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

public class VideogamesRestControllerApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        VideogamesRestControllerApi apiInstance = new VideogamesRestControllerApi();
        Integer page = 56; // Integer | 

        try {
            PageVideogame result = apiInstance.findVideogmamePage(page);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VideogamesRestControllerApi#findVideogmamePage");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.VideogamesRestControllerApi;

public class VideogamesRestControllerApiExample {
    public static void main(String[] args) {
        VideogamesRestControllerApi apiInstance = new VideogamesRestControllerApi();
        Integer page = 56; // Integer | 

        try {
            PageVideogame result = apiInstance.findVideogmamePage(page);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VideogamesRestControllerApi#findVideogmamePage");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
VideogamesRestControllerApi *apiInstance = [[VideogamesRestControllerApi alloc] init];
Integer *page = 56; //  (default to null)

[apiInstance findVideogmamePageWith:page
              completionHandler: ^(PageVideogame output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var OpenApiDefinition = require('open_api_definition');

// Create an instance of the API class
var api = new OpenApiDefinition.VideogamesRestControllerApi()
var page = 56; // {Integer} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.findVideogmamePage(page, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

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

            // Create an instance of the API class
            var apiInstance = new VideogamesRestControllerApi();
            var page = 56;  // Integer |  (default to null)

            try {
                PageVideogame result = apiInstance.findVideogmamePage(page);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling VideogamesRestControllerApi.findVideogmamePage: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\VideogamesRestControllerApi();
$page = 56; // Integer | 

try {
    $result = $api_instance->findVideogmamePage($page);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VideogamesRestControllerApi->findVideogmamePage: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::VideogamesRestControllerApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::VideogamesRestControllerApi->new();
my $page = 56; # Integer | 

eval {
    my $result = $api_instance->findVideogmamePage(page => $page);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling VideogamesRestControllerApi->findVideogmamePage: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.VideogamesRestControllerApi()
page = 56 # Integer |  (default to null)

try:
    api_response = api_instance.find_videogmame_page(page)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling VideogamesRestControllerApi->findVideogmamePage: %s\n" % e)
extern crate VideogamesRestControllerApi;

pub fn main() {
    let page = 56; // Integer

    let mut context = VideogamesRestControllerApi::Context::default();
    let result = client.findVideogmamePage(page, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
Name Description
page*
Integer (int32)
Required

Responses


getVideogame


/api/videogames/{id}

Usage and SDK Samples

curl -X GET \
 -H "Accept: */*" \
 "https://localhost:8443/api/videogames/{id}"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.VideogamesRestControllerApi;

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

public class VideogamesRestControllerApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        VideogamesRestControllerApi apiInstance = new VideogamesRestControllerApi();
        Long id = 789; // Long | 

        try {
            Videogame result = apiInstance.getVideogame(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VideogamesRestControllerApi#getVideogame");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.VideogamesRestControllerApi;

public class VideogamesRestControllerApiExample {
    public static void main(String[] args) {
        VideogamesRestControllerApi apiInstance = new VideogamesRestControllerApi();
        Long id = 789; // Long | 

        try {
            Videogame result = apiInstance.getVideogame(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VideogamesRestControllerApi#getVideogame");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
VideogamesRestControllerApi *apiInstance = [[VideogamesRestControllerApi alloc] init];
Long *id = 789; //  (default to null)

[apiInstance getVideogameWith:id
              completionHandler: ^(Videogame output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var OpenApiDefinition = require('open_api_definition');

// Create an instance of the API class
var api = new OpenApiDefinition.VideogamesRestControllerApi()
var id = 789; // {Long} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getVideogame(id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

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

            // Create an instance of the API class
            var apiInstance = new VideogamesRestControllerApi();
            var id = 789;  // Long |  (default to null)

            try {
                Videogame result = apiInstance.getVideogame(id);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling VideogamesRestControllerApi.getVideogame: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\VideogamesRestControllerApi();
$id = 789; // Long | 

try {
    $result = $api_instance->getVideogame($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VideogamesRestControllerApi->getVideogame: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::VideogamesRestControllerApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::VideogamesRestControllerApi->new();
my $id = 789; # Long | 

eval {
    my $result = $api_instance->getVideogame(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling VideogamesRestControllerApi->getVideogame: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.VideogamesRestControllerApi()
id = 789 # Long |  (default to null)

try:
    api_response = api_instance.get_videogame(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling VideogamesRestControllerApi->getVideogame: %s\n" % e)
extern crate VideogamesRestControllerApi;

pub fn main() {
    let id = 789; // Long

    let mut context = VideogamesRestControllerApi::Context::default();
    let result = client.getVideogame(id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses


getVideogames


/api/videogames/

Usage and SDK Samples

curl -X GET \
 -H "Accept: */*" \
 "https://localhost:8443/api/videogames/"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.VideogamesRestControllerApi;

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

public class VideogamesRestControllerApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        VideogamesRestControllerApi apiInstance = new VideogamesRestControllerApi();

        try {
            array[Videogame] result = apiInstance.getVideogames();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VideogamesRestControllerApi#getVideogames");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.VideogamesRestControllerApi;

public class VideogamesRestControllerApiExample {
    public static void main(String[] args) {
        VideogamesRestControllerApi apiInstance = new VideogamesRestControllerApi();

        try {
            array[Videogame] result = apiInstance.getVideogames();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VideogamesRestControllerApi#getVideogames");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
VideogamesRestControllerApi *apiInstance = [[VideogamesRestControllerApi alloc] init];

[apiInstance getVideogamesWithCompletionHandler: 
              ^(array[Videogame] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var OpenApiDefinition = require('open_api_definition');

// Create an instance of the API class
var api = new OpenApiDefinition.VideogamesRestControllerApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getVideogames(callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

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

            // Create an instance of the API class
            var apiInstance = new VideogamesRestControllerApi();

            try {
                array[Videogame] result = apiInstance.getVideogames();
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling VideogamesRestControllerApi.getVideogames: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\VideogamesRestControllerApi();

try {
    $result = $api_instance->getVideogames();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VideogamesRestControllerApi->getVideogames: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::VideogamesRestControllerApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::VideogamesRestControllerApi->new();

eval {
    my $result = $api_instance->getVideogames();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling VideogamesRestControllerApi->getVideogames: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.VideogamesRestControllerApi()

try:
    api_response = api_instance.get_videogames()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling VideogamesRestControllerApi->getVideogames: %s\n" % e)
extern crate VideogamesRestControllerApi;

pub fn main() {

    let mut context = VideogamesRestControllerApi::Context::default();
    let result = client.getVideogames(&context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Responses


graphic


/api/videogames/stats/genres

Usage and SDK Samples

curl -X GET \
 -H "Accept: */*" \
 "https://localhost:8443/api/videogames/stats/genres"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.VideogamesRestControllerApi;

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

public class VideogamesRestControllerApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        VideogamesRestControllerApi apiInstance = new VideogamesRestControllerApi();

        try {
            array[Object] result = apiInstance.graphic();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VideogamesRestControllerApi#graphic");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.VideogamesRestControllerApi;

public class VideogamesRestControllerApiExample {
    public static void main(String[] args) {
        VideogamesRestControllerApi apiInstance = new VideogamesRestControllerApi();

        try {
            array[Object] result = apiInstance.graphic();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VideogamesRestControllerApi#graphic");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
VideogamesRestControllerApi *apiInstance = [[VideogamesRestControllerApi alloc] init];

[apiInstance graphicWithCompletionHandler: 
              ^(array[Object] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var OpenApiDefinition = require('open_api_definition');

// Create an instance of the API class
var api = new OpenApiDefinition.VideogamesRestControllerApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.graphic(callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

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

            // Create an instance of the API class
            var apiInstance = new VideogamesRestControllerApi();

            try {
                array[Object] result = apiInstance.graphic();
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling VideogamesRestControllerApi.graphic: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\VideogamesRestControllerApi();

try {
    $result = $api_instance->graphic();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VideogamesRestControllerApi->graphic: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::VideogamesRestControllerApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::VideogamesRestControllerApi->new();

eval {
    my $result = $api_instance->graphic();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling VideogamesRestControllerApi->graphic: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.VideogamesRestControllerApi()

try:
    api_response = api_instance.graphic()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling VideogamesRestControllerApi->graphic: %s\n" % e)
extern crate VideogamesRestControllerApi;

pub fn main() {

    let mut context = VideogamesRestControllerApi::Context::default();
    let result = client.graphic(&context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Responses


graphic2


/api/videogames/stats/sales

Usage and SDK Samples

curl -X GET \
 -H "Accept: */*" \
 "https://localhost:8443/api/videogames/stats/sales"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.VideogamesRestControllerApi;

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

public class VideogamesRestControllerApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        VideogamesRestControllerApi apiInstance = new VideogamesRestControllerApi();

        try {
            array[Object] result = apiInstance.graphic2();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VideogamesRestControllerApi#graphic2");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.VideogamesRestControllerApi;

public class VideogamesRestControllerApiExample {
    public static void main(String[] args) {
        VideogamesRestControllerApi apiInstance = new VideogamesRestControllerApi();

        try {
            array[Object] result = apiInstance.graphic2();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VideogamesRestControllerApi#graphic2");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
VideogamesRestControllerApi *apiInstance = [[VideogamesRestControllerApi alloc] init];

[apiInstance graphic2WithCompletionHandler: 
              ^(array[Object] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var OpenApiDefinition = require('open_api_definition');

// Create an instance of the API class
var api = new OpenApiDefinition.VideogamesRestControllerApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.graphic2(callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

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

            // Create an instance of the API class
            var apiInstance = new VideogamesRestControllerApi();

            try {
                array[Object] result = apiInstance.graphic2();
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling VideogamesRestControllerApi.graphic2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\VideogamesRestControllerApi();

try {
    $result = $api_instance->graphic2();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VideogamesRestControllerApi->graphic2: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::VideogamesRestControllerApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::VideogamesRestControllerApi->new();

eval {
    my $result = $api_instance->graphic2();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling VideogamesRestControllerApi->graphic2: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.VideogamesRestControllerApi()

try:
    api_response = api_instance.graphic2()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling VideogamesRestControllerApi->graphic2: %s\n" % e)
extern crate VideogamesRestControllerApi;

pub fn main() {

    let mut context = VideogamesRestControllerApi::Context::default();
    let result = client.graphic2(&context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Responses


purchaseVideogame


/api/videogames/{id}/purchase/{usId}

Usage and SDK Samples

curl -X PUT \
 -H "Accept: */*" \
 "https://localhost:8443/api/videogames/{id}/purchase/{usId}"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.VideogamesRestControllerApi;

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

public class VideogamesRestControllerApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        VideogamesRestControllerApi apiInstance = new VideogamesRestControllerApi();
        Long id = 789; // Long | 
        Long usId = 789; // Long | 

        try {
            Object result = apiInstance.purchaseVideogame(id, usId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VideogamesRestControllerApi#purchaseVideogame");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.VideogamesRestControllerApi;

public class VideogamesRestControllerApiExample {
    public static void main(String[] args) {
        VideogamesRestControllerApi apiInstance = new VideogamesRestControllerApi();
        Long id = 789; // Long | 
        Long usId = 789; // Long | 

        try {
            Object result = apiInstance.purchaseVideogame(id, usId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VideogamesRestControllerApi#purchaseVideogame");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
VideogamesRestControllerApi *apiInstance = [[VideogamesRestControllerApi alloc] init];
Long *id = 789; //  (default to null)
Long *usId = 789; //  (default to null)

[apiInstance purchaseVideogameWith:id
    usId:usId
              completionHandler: ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var OpenApiDefinition = require('open_api_definition');

// Create an instance of the API class
var api = new OpenApiDefinition.VideogamesRestControllerApi()
var id = 789; // {Long} 
var usId = 789; // {Long} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.purchaseVideogame(id, usId, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

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

            // Create an instance of the API class
            var apiInstance = new VideogamesRestControllerApi();
            var id = 789;  // Long |  (default to null)
            var usId = 789;  // Long |  (default to null)

            try {
                Object result = apiInstance.purchaseVideogame(id, usId);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling VideogamesRestControllerApi.purchaseVideogame: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\VideogamesRestControllerApi();
$id = 789; // Long | 
$usId = 789; // Long | 

try {
    $result = $api_instance->purchaseVideogame($id, $usId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VideogamesRestControllerApi->purchaseVideogame: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::VideogamesRestControllerApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::VideogamesRestControllerApi->new();
my $id = 789; # Long | 
my $usId = 789; # Long | 

eval {
    my $result = $api_instance->purchaseVideogame(id => $id, usId => $usId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling VideogamesRestControllerApi->purchaseVideogame: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.VideogamesRestControllerApi()
id = 789 # Long |  (default to null)
usId = 789 # Long |  (default to null)

try:
    api_response = api_instance.purchase_videogame(id, usId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling VideogamesRestControllerApi->purchaseVideogame: %s\n" % e)
extern crate VideogamesRestControllerApi;

pub fn main() {
    let id = 789; // Long
    let usId = 789; // Long

    let mut context = VideogamesRestControllerApi::Context::default();
    let result = client.purchaseVideogame(id, usId, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
Long (int64)
Required
usId*
Long (int64)
Required

Responses


updateVideogame


/api/videogames/{id}

Usage and SDK Samples

curl -X PUT \
 -H "Accept: */*" \
 -H "Content-Type: application/json" \
 "https://localhost:8443/api/videogames/{id}" \
 -d '{
  "continent" : "continent",
  "ramR" : "ramR",
  "image" : true,
  "cpuR" : "cpuR",
  "ssooM" : "ssooM",
  "rating" : 1.4658129,
  "description" : "description",
  "storageM" : "storageM",
  "shortDescription" : "shortDescription",
  "history" : "history",
  "cpuM" : "cpuM",
  "title" : "title",
  "imageCompany" : true,
  "storageR" : "storageR",
  "gpuM" : "gpuM",
  "price" : 6.0274563,
  "gpuR" : "gpuR",
  "genre" : "genre",
  "ssooR" : "ssooR",
  "imageVg" : true,
  "company" : "company",
  "ramM" : "ramM",
  "id" : 0,
  "onePurchaseVideogame" : {
    "nick" : "nick",
    "lastName" : "lastName",
    "image" : true,
    "encodedPassword" : "encodedPassword",
    "roles" : [ "roles", "roles" ],
    "name" : "name",
    "id" : 5,
    "creditCard" : "creditCard",
    "email" : "email"
  }
}'
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.VideogamesRestControllerApi;

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

public class VideogamesRestControllerApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        VideogamesRestControllerApi apiInstance = new VideogamesRestControllerApi();
        Long id = 789; // Long | 
        Videogame videogame = ; // Videogame | 

        try {
            Videogame result = apiInstance.updateVideogame(id, videogame);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VideogamesRestControllerApi#updateVideogame");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.VideogamesRestControllerApi;

public class VideogamesRestControllerApiExample {
    public static void main(String[] args) {
        VideogamesRestControllerApi apiInstance = new VideogamesRestControllerApi();
        Long id = 789; // Long | 
        Videogame videogame = ; // Videogame | 

        try {
            Videogame result = apiInstance.updateVideogame(id, videogame);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VideogamesRestControllerApi#updateVideogame");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
VideogamesRestControllerApi *apiInstance = [[VideogamesRestControllerApi alloc] init];
Long *id = 789; //  (default to null)
Videogame *videogame = ; // 

[apiInstance updateVideogameWith:id
    videogame:videogame
              completionHandler: ^(Videogame output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var OpenApiDefinition = require('open_api_definition');

// Create an instance of the API class
var api = new OpenApiDefinition.VideogamesRestControllerApi()
var id = 789; // {Long} 
var videogame = ; // {Videogame} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.updateVideogame(id, videogame, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

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

            // Create an instance of the API class
            var apiInstance = new VideogamesRestControllerApi();
            var id = 789;  // Long |  (default to null)
            var videogame = new Videogame(); // Videogame | 

            try {
                Videogame result = apiInstance.updateVideogame(id, videogame);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling VideogamesRestControllerApi.updateVideogame: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\VideogamesRestControllerApi();
$id = 789; // Long | 
$videogame = ; // Videogame | 

try {
    $result = $api_instance->updateVideogame($id, $videogame);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VideogamesRestControllerApi->updateVideogame: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::VideogamesRestControllerApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::VideogamesRestControllerApi->new();
my $id = 789; # Long | 
my $videogame = WWW::OPenAPIClient::Object::Videogame->new(); # Videogame | 

eval {
    my $result = $api_instance->updateVideogame(id => $id, videogame => $videogame);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling VideogamesRestControllerApi->updateVideogame: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.VideogamesRestControllerApi()
id = 789 # Long |  (default to null)
videogame =  # Videogame | 

try:
    api_response = api_instance.update_videogame(id, videogame)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling VideogamesRestControllerApi->updateVideogame: %s\n" % e)
extern crate VideogamesRestControllerApi;

pub fn main() {
    let id = 789; // Long
    let videogame = ; // Videogame

    let mut context = VideogamesRestControllerApi::Context::default();
    let result = client.updateVideogame(id, videogame, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
Long (int64)
Required
Body parameters
Name Description
videogame *

Responses


uploadVgCompanyImage


/api/videogames/{id}/companyImage

Usage and SDK Samples

curl -X POST \
 -H "Accept: */*" \
 -H "Content-Type: application/json" \
 "https://localhost:8443/api/videogames/{id}/companyImage" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.VideogamesRestControllerApi;

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

public class VideogamesRestControllerApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        VideogamesRestControllerApi apiInstance = new VideogamesRestControllerApi();
        Long id = 789; // Long | 
        InlineObject1 inlineObject1 = ; // InlineObject1 | 

        try {
            Videogame result = apiInstance.uploadVgCompanyImage(id, inlineObject1);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VideogamesRestControllerApi#uploadVgCompanyImage");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.VideogamesRestControllerApi;

public class VideogamesRestControllerApiExample {
    public static void main(String[] args) {
        VideogamesRestControllerApi apiInstance = new VideogamesRestControllerApi();
        Long id = 789; // Long | 
        InlineObject1 inlineObject1 = ; // InlineObject1 | 

        try {
            Videogame result = apiInstance.uploadVgCompanyImage(id, inlineObject1);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VideogamesRestControllerApi#uploadVgCompanyImage");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
VideogamesRestControllerApi *apiInstance = [[VideogamesRestControllerApi alloc] init];
Long *id = 789; //  (default to null)
InlineObject1 *inlineObject1 = ; //  (optional)

[apiInstance uploadVgCompanyImageWith:id
    inlineObject1:inlineObject1
              completionHandler: ^(Videogame output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var OpenApiDefinition = require('open_api_definition');

// Create an instance of the API class
var api = new OpenApiDefinition.VideogamesRestControllerApi()
var id = 789; // {Long} 
var opts = {
  'inlineObject1':  // {InlineObject1} 
};

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

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

            // Create an instance of the API class
            var apiInstance = new VideogamesRestControllerApi();
            var id = 789;  // Long |  (default to null)
            var inlineObject1 = new InlineObject1(); // InlineObject1 |  (optional) 

            try {
                Videogame result = apiInstance.uploadVgCompanyImage(id, inlineObject1);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling VideogamesRestControllerApi.uploadVgCompanyImage: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\VideogamesRestControllerApi();
$id = 789; // Long | 
$inlineObject1 = ; // InlineObject1 | 

try {
    $result = $api_instance->uploadVgCompanyImage($id, $inlineObject1);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VideogamesRestControllerApi->uploadVgCompanyImage: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::VideogamesRestControllerApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::VideogamesRestControllerApi->new();
my $id = 789; # Long | 
my $inlineObject1 = WWW::OPenAPIClient::Object::InlineObject1->new(); # InlineObject1 | 

eval {
    my $result = $api_instance->uploadVgCompanyImage(id => $id, inlineObject1 => $inlineObject1);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling VideogamesRestControllerApi->uploadVgCompanyImage: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.VideogamesRestControllerApi()
id = 789 # Long |  (default to null)
inlineObject1 =  # InlineObject1 |  (optional)

try:
    api_response = api_instance.upload_vg_company_image(id, inlineObject1=inlineObject1)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling VideogamesRestControllerApi->uploadVgCompanyImage: %s\n" % e)
extern crate VideogamesRestControllerApi;

pub fn main() {
    let id = 789; // Long
    let inlineObject1 = ; // InlineObject1

    let mut context = VideogamesRestControllerApi::Context::default();
    let result = client.uploadVgCompanyImage(id, inlineObject1, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
Long (int64)
Required
Body parameters
Name Description
inlineObject1

Responses


uploadVgImage


/api/videogames/{id}/image

Usage and SDK Samples

curl -X POST \
 -H "Accept: */*" \
 -H "Content-Type: application/json" \
 "https://localhost:8443/api/videogames/{id}/image" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.VideogamesRestControllerApi;

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

public class VideogamesRestControllerApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        VideogamesRestControllerApi apiInstance = new VideogamesRestControllerApi();
        Long id = 789; // Long | 
        InlineObject inlineObject = ; // InlineObject | 

        try {
            Videogame result = apiInstance.uploadVgImage(id, inlineObject);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VideogamesRestControllerApi#uploadVgImage");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.VideogamesRestControllerApi;

public class VideogamesRestControllerApiExample {
    public static void main(String[] args) {
        VideogamesRestControllerApi apiInstance = new VideogamesRestControllerApi();
        Long id = 789; // Long | 
        InlineObject inlineObject = ; // InlineObject | 

        try {
            Videogame result = apiInstance.uploadVgImage(id, inlineObject);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VideogamesRestControllerApi#uploadVgImage");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
VideogamesRestControllerApi *apiInstance = [[VideogamesRestControllerApi alloc] init];
Long *id = 789; //  (default to null)
InlineObject *inlineObject = ; //  (optional)

[apiInstance uploadVgImageWith:id
    inlineObject:inlineObject
              completionHandler: ^(Videogame output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var OpenApiDefinition = require('open_api_definition');

// Create an instance of the API class
var api = new OpenApiDefinition.VideogamesRestControllerApi()
var id = 789; // {Long} 
var opts = {
  'inlineObject':  // {InlineObject} 
};

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

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

            // Create an instance of the API class
            var apiInstance = new VideogamesRestControllerApi();
            var id = 789;  // Long |  (default to null)
            var inlineObject = new InlineObject(); // InlineObject |  (optional) 

            try {
                Videogame result = apiInstance.uploadVgImage(id, inlineObject);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling VideogamesRestControllerApi.uploadVgImage: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\VideogamesRestControllerApi();
$id = 789; // Long | 
$inlineObject = ; // InlineObject | 

try {
    $result = $api_instance->uploadVgImage($id, $inlineObject);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VideogamesRestControllerApi->uploadVgImage: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::VideogamesRestControllerApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::VideogamesRestControllerApi->new();
my $id = 789; # Long | 
my $inlineObject = WWW::OPenAPIClient::Object::InlineObject->new(); # InlineObject | 

eval {
    my $result = $api_instance->uploadVgImage(id => $id, inlineObject => $inlineObject);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling VideogamesRestControllerApi->uploadVgImage: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.VideogamesRestControllerApi()
id = 789 # Long |  (default to null)
inlineObject =  # InlineObject |  (optional)

try:
    api_response = api_instance.upload_vg_image(id, inlineObject=inlineObject)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling VideogamesRestControllerApi->uploadVgImage: %s\n" % e)
extern crate VideogamesRestControllerApi;

pub fn main() {
    let id = 789; // Long
    let inlineObject = ; // InlineObject

    let mut context = VideogamesRestControllerApi::Context::default();
    let result = client.uploadVgImage(id, inlineObject, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
Long (int64)
Required
Body parameters
Name Description
inlineObject

Responses