# jards\gcsjardsapiclient\Swagger\Client\FilesApi All URIs are relative to *https://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- [**filesAppidFileGet**](FilesApi.md#filesAppidFileGet) | **GET** /files/{appid}/{file} | [**filesAppidGet**](FilesApi.md#filesAppidGet) | **GET** /files/{appid} | # **filesAppidFileGet** > \SplFileObject filesAppidFileGet($appid, $file) Download file for an application ID ### Example ```php <?php require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new jards\gcsjardsapiclient\Swagger\Client\Api\FilesApi(); $appid = 56; // int | ID of the application. $file = "file_example"; // string | Name of requested file. try { $result = $api_instance->filesAppidFileGet($appid, $file); print_r($result); } catch (Exception $e) { echo 'Exception when calling FilesApi->filesAppidFileGet: ', $e->getMessage(), PHP_EOL; } ?> ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **appid** | **int**| ID of the application. | **file** | **string**| Name of requested file. | ### Return type [**\SplFileObject**](../Model/\SplFileObject.md) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: application/json - **Accept**: application/pdf [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **filesAppidGet** > string[] filesAppidGet($appid) Get a list of files available for an application ID ### Example ```php <?php require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new jards\gcsjardsapiclient\Swagger\Client\Api\FilesApi(); $appid = 56; // int | ID of the application. try { $result = $api_instance->filesAppidGet($appid); print_r($result); } catch (Exception $e) { echo 'Exception when calling FilesApi->filesAppidGet: ', $e->getMessage(), PHP_EOL; } ?> ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **appid** | **int**| ID of the application. | ### Return type **string[]** ### Authorization No authorization required ### HTTP request headers - **Content-Type**: application/json - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md)