All URIs are relative to https://localhost
Method | HTTP request | Description |
---|---|---|
addFavoriteList | POST /core/addfavoritelist | |
clearFavoritesInNamedList | POST /core/clearfavoritesinnamedlist | |
getAllFavoriteLists | GET /core/getallfavoritelists | |
getFavoriteListForItem | GET /core/getfavoritelistforitem | |
getFavoritesInList | GET /core/getfavoritesinlist | |
getFavoritesInNamedList | GET /core/getfavoritesinnamedlist | |
removeFavoriteList | POST /core/removefavoritelist | |
replaceFavoriteList | POST /core/replacefavoritelist | |
setFavorite | POST /core/setfavorite | |
unsetFavorite | POST /core/unsetfavorite | |
updateFavoriteList | POST /core/updatefavoritelist |
string addFavoriteList($name)
User can add new favorite list in the system (HTTP POST)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Swagger\Client\Api\FavoriteApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$name = "name_example"; // string | Name of the file to be added to favorites.
try {
$result = $apiInstance->addFavoriteList($name);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling FavoriteApi->addFavoriteList: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
name | string | Name of the file to be added to favorites. |
string
No authorization required
- Content-Type: application/x-www-form-urlencoded
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
string clearFavoritesInNamedList($name)
User can clear favorites from the named list
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Swagger\Client\Api\FavoriteApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$name = "name_example"; // string | Name of the Favorite List
try {
$result = $apiInstance->clearFavoritesInNamedList($name);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling FavoriteApi->clearFavoritesInNamedList: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
name | string | Name of the Favorite List |
string
No authorization required
- Content-Type: application/x-www-form-urlencoded
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
string getAllFavoriteLists($type)
User can get all the favorites list of the system
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Swagger\Client\Api\FavoriteApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$type = "type_example"; // string | Type here is favorites
try {
$result = $apiInstance->getAllFavoriteLists($type);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling FavoriteApi->getAllFavoriteLists: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
type | string | Type here is favorites |
string
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
string getFavoriteListForItem($path)
User can get favorite list available for the item
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Swagger\Client\Api\FavoriteApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$path = "path_example"; // string | Specify the path of file
try {
$result = $apiInstance->getFavoriteListForItem($path);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling FavoriteApi->getFavoriteListForItem: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
path | string | Specify the path of file |
string
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
string getFavoritesInList($id)
User can get all the favorites from list
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Swagger\Client\Api\FavoriteApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$id = "id_example"; // string | Id of the Favorite List
try {
$result = $apiInstance->getFavoritesInList($id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling FavoriteApi->getFavoritesInList: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
id | string | Id of the Favorite List |
string
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
string getFavoritesInNamedList($name)
User can get all the favorites from named list
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Swagger\Client\Api\FavoriteApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$name = "name_example"; // string | Name of the Favorite List
try {
$result = $apiInstance->getFavoritesInNamedList($name);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling FavoriteApi->getFavoritesInNamedList: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
name | string | Name of the Favorite List |
string
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
string removeFavoriteList($id)
User can remove favorite list from the system (HTTP POST)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Swagger\Client\Api\FavoriteApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$id = "id_example"; // string | Id no. of the favorite list to be deleted
try {
$result = $apiInstance->removeFavoriteList($id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling FavoriteApi->removeFavoriteList: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
id | string | Id no. of the favorite list to be deleted |
string
No authorization required
- Content-Type: application/x-www-form-urlencoded
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
string replaceFavoriteList($id, $count)
User replace favorite list
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Swagger\Client\Api\FavoriteApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$id = "id_example"; // string | Id number of the Favorite list
$count = "count_example"; // string | Number of files
try {
$result = $apiInstance->replaceFavoriteList($id, $count);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling FavoriteApi->replaceFavoriteList: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
id | string | Id number of the Favorite list | |
count | string | Number of files |
string
No authorization required
- Content-Type: application/x-www-form-urlencoded
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
string setFavorite($name, $id)
User can add file to their Favorite list in the system (HTTP POST)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Swagger\Client\Api\FavoriteApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$name = "name_example"; // string | Name of the file to be added to favorites.
$id = "id_example"; // string | Id number of the Favorite list
try {
$result = $apiInstance->setFavorite($name, $id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling FavoriteApi->setFavorite: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
name | string | Name of the file to be added to favorites. | |
id | string | Id number of the Favorite list |
string
No authorization required
- Content-Type: application/x-www-form-urlencoded
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
string unsetFavorite($id, $name)
User can remove file from their Favorite list in the system (HTTP POST)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Swagger\Client\Api\FavoriteApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$id = "id_example"; // string | Id number of the Favorite list
$name = "name_example"; // string | Name of the file to be added to favorites.
try {
$result = $apiInstance->unsetFavorite($id, $name);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling FavoriteApi->unsetFavorite: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
id | string | Id number of the Favorite list | |
name | string | Name of the file to be added to favorites. |
string
No authorization required
- Content-Type: application/x-www-form-urlencoded
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
string updateFavoriteList($id, $name)
User can update favorite list
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Swagger\Client\Api\FavoriteApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$id = "id_example"; // string | Id number of the Favorite list
$name = "name_example"; // string | Name of the file to be added to favorites.
try {
$result = $apiInstance->updateFavoriteList($id, $name);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling FavoriteApi->updateFavoriteList: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
id | string | Id number of the Favorite list | |
name | string | Name of the file to be added to favorites. |
string
No authorization required
- Content-Type: application/x-www-form-urlencoded
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]