musicApi

Default

songsGet

Get a song's information


/songs

Usage and SDK Samples

curl -X GET\
"//songs?id="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

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

public class DefaultApiExample {

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

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

// Get a song's information
[apiInstance songsGetWith:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MusicApi = require('music_api');

var api = new MusicApi.DefaultApi()
var id = ; // {{}} 

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

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

            var apiInstance = new DefaultApi();
            var id = new (); //  | 

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

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

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

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

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

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

try: 
    # Get a song's information
    api_instance.songs_get(id)
except ApiException as e:
    print("Exception when calling DefaultApi->songsGet: %s\n" % e)

Parameters

Query parameters
Name Description
id*
Required

Responses

Status: 200 -


songsIdGet

Get a song's information


/songs/{id}

Usage and SDK Samples

curl -X GET\
"//songs/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

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

public class DefaultApiExample {

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

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

// Get a song's information
[apiInstance songsIdGetWith:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MusicApi = require('music_api');

var api = new MusicApi.DefaultApi()
var id = ; // {{}} 

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

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

            var apiInstance = new DefaultApi();
            var id = new (); //  | 

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

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

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

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

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

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

try: 
    # Get a song's information
    api_instance.songs_id_get(id)
except ApiException as e:
    print("Exception when calling DefaultApi->songsIdGet: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Required

Responses

Status: 200 -


songsIdUploadMp3Post

Upload a song

Upload a song from a mp3 file


/songs/{id}/upload/mp3

Usage and SDK Samples

curl -X POST\
"//songs/{id}/upload/mp3"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

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

public class DefaultApiExample {

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

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

// Upload a song
[apiInstance songsIdUploadMp3PostWith:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MusicApi = require('music_api');

var api = new MusicApi.DefaultApi()
var id = ; // {{}} 

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

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

            var apiInstance = new DefaultApi();
            var id = new (); //  | 

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

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

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

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

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

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

try: 
    # Upload a song
    api_instance.songs_id_upload_mp3_post(id)
except ApiException as e:
    print("Exception when calling DefaultApi->songsIdUploadMp3Post: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Required

Responses


songsIdUploadUrlPost

Upload a song

Upload a song from a url that points to a mp3 file


/songs/{id}/upload/url

Usage and SDK Samples

curl -X POST\
"//songs/{id}/upload/url"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

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

public class DefaultApiExample {

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

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

// Upload a song
[apiInstance songsIdUploadUrlPostWith:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MusicApi = require('music_api');

var api = new MusicApi.DefaultApi()
var id = ; // {{}} 

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

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

            var apiInstance = new DefaultApi();
            var id = new (); //  | 

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

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

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

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

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

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

try: 
    # Upload a song
    api_instance.songs_id_upload_url_post(id)
except ApiException as e:
    print("Exception when calling DefaultApi->songsIdUploadUrlPost: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Required

Responses


songsPost

Create a song


/songs

Usage and SDK Samples

curl -X POST\
"//songs"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

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

public class DefaultApiExample {

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

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

// Create a song
[apiInstance songsPostWithCompletionHandler: 
              ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MusicApi = require('music_api');

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

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

            var apiInstance = new DefaultApi();

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

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

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

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

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

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

try: 
    # Create a song
    api_instance.songs_post()
except ApiException as e:
    print("Exception when calling DefaultApi->songsPost: %s\n" % e)

Parameters

Responses


usersDelete

Delete a user


/users

Usage and SDK Samples

curl -X DELETE\
"//users?id="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

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

public class DefaultApiExample {

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

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

// Delete a user
[apiInstance usersDeleteWith:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MusicApi = require('music_api');

var api = new MusicApi.DefaultApi()
var id = ; // {{}} 

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

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

            var apiInstance = new DefaultApi();
            var id = new (); //  | 

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

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

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

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

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

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

try: 
    # Delete a user
    api_instance.users_delete(id)
except ApiException as e:
    print("Exception when calling DefaultApi->usersDelete: %s\n" % e)

Parameters

Query parameters
Name Description
id*
Required

Responses


usersGet

Get a user's information


/users

Usage and SDK Samples

curl -X GET\
"//users?id="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

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

public class DefaultApiExample {

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

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

// Get a user's information
[apiInstance usersGetWith:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MusicApi = require('music_api');

var api = new MusicApi.DefaultApi()
var id = ; // {{}} 

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

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

            var apiInstance = new DefaultApi();
            var id = new (); //  | 

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

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

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

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

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

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

try: 
    # Get a user's information
    api_instance.users_get(id)
except ApiException as e:
    print("Exception when calling DefaultApi->usersGet: %s\n" % e)

Parameters

Query parameters
Name Description
id*
Required

Responses

Status: 200 -


usersIdDelete

Delete a user


/users/{id}

Usage and SDK Samples

curl -X DELETE\
"//users/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

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

public class DefaultApiExample {

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

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

// Delete a user
[apiInstance usersIdDeleteWith:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MusicApi = require('music_api');

var api = new MusicApi.DefaultApi()
var id = ; // {{}} 

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

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

            var apiInstance = new DefaultApi();
            var id = new (); //  | 

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

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

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

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

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

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

try: 
    # Delete a user
    api_instance.users_id_delete(id)
except ApiException as e:
    print("Exception when calling DefaultApi->usersIdDelete: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Required

Responses


usersIdGet

Get a user's information


/users/{id}

Usage and SDK Samples

curl -X GET\
"//users/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

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

public class DefaultApiExample {

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

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

// Get a user's information
[apiInstance usersIdGetWith:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MusicApi = require('music_api');

var api = new MusicApi.DefaultApi()
var id = ; // {{}} 

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

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

            var apiInstance = new DefaultApi();
            var id = new (); //  | 

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

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

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

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

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

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

try: 
    # Get a user's information
    api_instance.users_id_get(id)
except ApiException as e:
    print("Exception when calling DefaultApi->usersIdGet: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Required

Responses

Status: 200 -


usersIdPut

Update a user's information


/users/{id}

Usage and SDK Samples

curl -X PUT\
"//users/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

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

public class DefaultApiExample {

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

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

// Update a user's information
[apiInstance usersIdPutWith:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MusicApi = require('music_api');

var api = new MusicApi.DefaultApi()
var id = ; // {{}} 

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

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

            var apiInstance = new DefaultApi();
            var id = new (); //  | 

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

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

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

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

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

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

try: 
    # Update a user's information
    api_instance.users_id_put(id)
except ApiException as e:
    print("Exception when calling DefaultApi->usersIdPut: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Required

Responses


usersPost

Create a user


/users

Usage and SDK Samples

curl -X POST\
"//users"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

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

public class DefaultApiExample {

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

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

// Create a user
[apiInstance usersPostWithCompletionHandler: 
              ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MusicApi = require('music_api');

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

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

            var apiInstance = new DefaultApi();

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

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

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

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

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

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

try: 
    # Create a user
    api_instance.users_post()
except ApiException as e:
    print("Exception when calling DefaultApi->usersPost: %s\n" % e)

Parameters

Responses


usersPut

Update a user's information


/users

Usage and SDK Samples

curl -X PUT\
"//users?id="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

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

public class DefaultApiExample {

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

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

// Update a user's information
[apiInstance usersPutWith:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MusicApi = require('music_api');

var api = new MusicApi.DefaultApi()
var id = ; // {{}} 

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

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

            var apiInstance = new DefaultApi();
            var id = new (); //  | 

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

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

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

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

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

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

try: 
    # Update a user's information
    api_instance.users_put(id)
except ApiException as e:
    print("Exception when calling DefaultApi->usersPut: %s\n" % e)

Parameters

Query parameters
Name Description
id*
Required

Responses