aurigma/php-asset-storage-client
Composer 安装命令:
composer require aurigma/php-asset-storage-client
包简介
PHP API Client for Asset Storage service of Customer's Canvas web-to-print system.
README 文档
README
======================================================
This module is a PHP API client for Asset Storage service which is a part of Customer's Canvas web-to-print system. It is supposed that you are familiar with its services and understand how to use its APIs. To learn more about Customer's Canvas and its services, refer the Getting Started section of its documentation.
Pre-requisites
To be able to use this package, you need to meet the following requirements:
- You must have an account at Customer's Canvas.
For other platforms, see the Backend services article in Customer's Canvas documentation.
Installation
composer require aurigma/php-asset-storage-client
Requirements
PHP 7.2 and later.
Composer
To install the bindings via Composer, add the following to composer.json:
{
"repositories": [
{
"type": "vcs",
"url": "https://github.com/aurigma/php-asset-storage-client.git"
}
],
"require": {
"aurigma/php-asset-storage-client": "*@dev"
}
}
Then run composer install
Getting Started
Please follow the installation procedure.
Receive an access token through your backend as explained in the documentation and deliver it to your app.
Then run the following:
<?php require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: apiKey $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKey('X-API-Key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed // $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-API-Key', 'Bearer'); // Configure OAuth2 access token for authorization: oauth2 $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); $apiInstance = new OpenAPI\Client\Api\ArtifactsApi( // 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(), $config ); $tenant_id = 56; // int | Tenant identifier $file = "/path/to/file.txt"; // \SplFileObject | Entity file content $description = 'description_example'; // string | Artifact description $group = 'group_example'; // string | Artifact group $alias = 'alias_example'; // string | Artifact alias (special name within group) $type = new \OpenAPI\Client\Model\ArtifactType(); // \OpenAPI\Client\Model\ArtifactType $format = 'format_example'; // string | Artifact file format try { $result = $apiInstance->artifactsCreate($tenant_id, $file, $description, $group, $alias, $type, $format); print_r($result); } catch (Exception $e) { echo 'Exception when calling ArtifactsApi->artifactsCreate: ', $e->getMessage(), PHP_EOL; } ?>
Tests
To run the tests, use:
composer install vendor/bin/phpunit
Author
Aurigma Inc info@aurigma.com (https://customerscanvas.com)
API Endpoints
All URIs are relative to https://dm-assetstorage.azurewebsites.net/
| Class | Method | HTTP request | Description |
|---|---|---|---|
| ArtifactsApi | artifactsCreate | POST /api/storage/v1/artifacts | Creates new entity |
| ArtifactsApi | artifactsDelete | DELETE /api/storage/v1/artifacts/{id} | Deletes specified entity |
| ArtifactsApi | artifactsDeleteGroup | DELETE /api/storage/v1/artifacts/group/{group} | Deletes all entities with specified group |
| ArtifactsApi | artifactsGet | GET /api/storage/v1/artifacts/{id} | Gets entity by id |
| ArtifactsApi | artifactsGetAll | GET /api/storage/v1/artifacts | Gets all entities relevant to specified query parameters |
| ArtifactsApi | artifactsGetFile | GET /api/storage/v1/artifacts/{id}/file | Gets entity file from file storage |
| ArtifactsApi | artifactsUpdate | PUT /api/storage/v1/artifacts/{id} | Updates specified entity |
| BuildInfoApi | buildInfoGetInfo | GET /api/storage/v1/info | Gets assembly build info |
| BuildInfoApi | buildInfoHeadInfo | HEAD /api/storage/v1/info | Gets assembly build info |
| ColorProfilesApi | colorProfilesBatchCopy | POST /api/storage/v1/colorProfiles/batchCopy | Copies selected entities and folders to another folder specified by path |
| ColorProfilesApi | colorProfilesBatchDelete | POST /api/storage/v1/colorProfiles/batchDelete | Deletes selected entities and folders |
| ColorProfilesApi | colorProfilesBatchUpdateParentFolder | POST /api/storage/v1/colorProfiles/batchUpdateParentFolder | Updates parent folder for selected entities and folders |
| ColorProfilesApi | colorProfilesCopy | POST /api/storage/v1/colorProfiles/{id} | Copies specified entity |
| ColorProfilesApi | colorProfilesCreate | POST /api/storage/v1/colorProfiles | Creates new entity |
| ColorProfilesApi | colorProfilesCreateCollection | POST /api/storage/v1/colorProfiles/collections | Creates new collection |
| ColorProfilesApi | colorProfilesCreateFolder | POST /api/storage/v1/colorProfiles/folders | Creates new folder |
| ColorProfilesApi | colorProfilesDelete | DELETE /api/storage/v1/colorProfiles/{id} | Deletes specified entity |
| ColorProfilesApi | colorProfilesDeleteCollection | DELETE /api/storage/v1/colorProfiles/collections/{id} | Deletes specified collection |
| ColorProfilesApi | colorProfilesDeleteFolder | DELETE /api/storage/v1/colorProfiles/folders | Deletes specified folder |
| ColorProfilesApi | colorProfilesGet | GET /api/storage/v1/colorProfiles/{id} | Gets entity by id |
| ColorProfilesApi | colorProfilesGetAll | GET /api/storage/v1/colorProfiles | Gets all entities relevant to specified query parameters |
| ColorProfilesApi | colorProfilesGetAllCollections | GET /api/storage/v1/colorProfiles/collections | Gets all collections |
| ColorProfilesApi | colorProfilesGetAllFolders | GET /api/storage/v1/colorProfiles/folders/all | Gets all folders |
| ColorProfilesApi | colorProfilesGetCollection | GET /api/storage/v1/colorProfiles/collections/{id} | Gets collection content by collection id |
| ColorProfilesApi | colorProfilesGetFile | GET /api/storage/v1/colorProfiles/{id}/file | Gets entity file from file storage |
| ColorProfilesApi | colorProfilesGetFolder | GET /api/storage/v1/colorProfiles/folders | Gets folder content by folder path |
| ColorProfilesApi | colorProfilesGetFolderInfo | GET /api/storage/v1/colorProfiles/folders/{id} | Gets folder by id |
| ColorProfilesApi | colorProfilesUpdate | PUT /api/storage/v1/colorProfiles/{id} | Updates specified entity |
| ColorProfilesApi | colorProfilesUpdateCollection | PUT /api/storage/v1/colorProfiles/collections/{id} | Updates specified collection |
| ColorProfilesApi | colorProfilesUpdateFolder | PUT /api/storage/v1/colorProfiles/folders/{id} | Updates specified folder |
| DataSchemasApi | dataSchemasBatchCopy | POST /api/storage/v1/dataSchemas/batchCopy | Copies selected entities and folders to another folder specified by path |
| DataSchemasApi | dataSchemasBatchDelete | POST /api/storage/v1/dataSchemas/batchDelete | Deletes selected entities and folders |
| DataSchemasApi | dataSchemasBatchUpdateParentFolder | POST /api/storage/v1/dataSchemas/batchUpdateParentFolder | Updates parent folder for selected entities and folders |
| DataSchemasApi | dataSchemasCopy | POST /api/storage/v1/dataSchemas/{id} | Copies specified entity |
| DataSchemasApi | dataSchemasCreate | POST /api/storage/v1/dataSchemas | Creates new entity |
| DataSchemasApi | dataSchemasCreateCollection | POST /api/storage/v1/dataSchemas/collections | Creates new collection |
| DataSchemasApi | dataSchemasCreateFolder | POST /api/storage/v1/dataSchemas/folders | Creates new folder |
| DataSchemasApi | dataSchemasDelete | DELETE /api/storage/v1/dataSchemas/{id} | Deletes specified entity |
| DataSchemasApi | dataSchemasDeleteCollection | DELETE /api/storage/v1/dataSchemas/collections/{id} | Deletes specified collection |
| DataSchemasApi | dataSchemasDeleteFolder | DELETE /api/storage/v1/dataSchemas/folders | Deletes specified folder |
| DataSchemasApi | dataSchemasGet | GET /api/storage/v1/dataSchemas/{id} | Gets entity by id |
| DataSchemasApi | dataSchemasGetAll | GET /api/storage/v1/dataSchemas | Gets all entities relevant to specified query parameters |
| DataSchemasApi | dataSchemasGetAllCollections | GET /api/storage/v1/dataSchemas/collections | Gets all collections |
| DataSchemasApi | dataSchemasGetAllFolders | GET /api/storage/v1/dataSchemas/folders/all | Gets all folders |
| DataSchemasApi | dataSchemasGetCollection | GET /api/storage/v1/dataSchemas/collections/{id} | Gets collection content by collection id |
| DataSchemasApi | dataSchemasGetFile | GET /api/storage/v1/dataSchemas/{id}/file | Gets entity file from file storage |
| DataSchemasApi | dataSchemasGetFolder | GET /api/storage/v1/dataSchemas/folders | Gets folder content by folder path |
| DataSchemasApi | dataSchemasGetFolderInfo | GET /api/storage/v1/dataSchemas/folders/{id} | Gets folder by id |
| DataSchemasApi | dataSchemasUpdate | PUT /api/storage/v1/dataSchemas/{id} | Updates specified entity |
| DataSchemasApi | dataSchemasUpdateCollection | PUT /api/storage/v1/dataSchemas/collections/{id} | Updates specified collection |
| DataSchemasApi | dataSchemasUpdateFolder | PUT /api/storage/v1/dataSchemas/folders/{id} | Updates specified folder |
| DataSetsApi | dataSetsBatchCopy | POST /api/storage/v1/dataSets/batchCopy | Copies selected entities and folders to another folder specified by path |
| DataSetsApi | dataSetsBatchDelete | POST /api/storage/v1/dataSets/batchDelete | Deletes selected entities and folders |
| DataSetsApi | dataSetsBatchUpdateParentFolder | POST /api/storage/v1/dataSets/batchUpdateParentFolder | Updates parent folder for selected entities and folders |
| DataSetsApi | dataSetsCopy | POST /api/storage/v1/dataSets/{id} | Copies specified entity |
| DataSetsApi | dataSetsCreate | POST /api/storage/v1/dataSets | Creates new entity |
| DataSetsApi | dataSetsCreateCollection | POST /api/storage/v1/dataSets/collections | Creates new collection |
| DataSetsApi | dataSetsCreateFolder | POST /api/storage/v1/dataSets/folders | Creates new folder |
| DataSetsApi | dataSetsDelete | DELETE /api/storage/v1/dataSets/{id} | Deletes specified entity |
| DataSetsApi | dataSetsDeleteCollection | DELETE /api/storage/v1/dataSets/collections/{id} | Deletes specified collection |
| DataSetsApi | dataSetsDeleteFolder | DELETE /api/storage/v1/dataSets/folders | Deletes specified folder |
| DataSetsApi | dataSetsGet | GET /api/storage/v1/dataSets/{id} | Gets entity by id |
| DataSetsApi | dataSetsGetAll | GET /api/storage/v1/dataSets | Gets all entities relevant to specified query parameters |
| DataSetsApi | dataSetsGetAllCollections | GET /api/storage/v1/dataSets/collections | Gets all collections |
| DataSetsApi | dataSetsGetAllFolders | GET /api/storage/v1/dataSets/folders/all | Gets all folders |
| DataSetsApi | dataSetsGetCollection | GET /api/storage/v1/dataSets/collections/{id} | Gets collection content by collection id |
| DataSetsApi | dataSetsGetFile | GET /api/storage/v1/dataSets/{id}/file | Gets entity file from file storage |
| DataSetsApi | dataSetsGetFolder | GET /api/storage/v1/dataSets/folders | Gets folder content by folder path |
| DataSetsApi | dataSetsGetFolderInfo | GET /api/storage/v1/dataSets/folders/{id} | Gets folder by id |
| DataSetsApi | dataSetsUpdate | PUT /api/storage/v1/dataSets/{id} | Updates specified entity |
| DataSetsApi | dataSetsUpdateCollection | PUT /api/storage/v1/dataSets/collections/{id} | Updates specified collection |
| DataSetsApi | dataSetsUpdateFolder | PUT /api/storage/v1/dataSets/folders/{id} | Updates specified folder |
| DesignsApi | designsAddPreview | PUT /api/storage/v1/designs/{id}/preview | Creates preview entity for specified source entity |
| DesignsApi | designsBatchCopy | POST /api/storage/v1/designs/batchCopy | Copies selected entities and folders to another folder specified by path |
| DesignsApi | designsBatchDelete | POST /api/storage/v1/designs/batchDelete | Deletes selected entities and folders |
| DesignsApi | designsBatchUpdateParentFolder | POST /api/storage/v1/designs/batchUpdateParentFolder | Updates parent folder for selected entities and folders |
| DesignsApi | designsCopy | POST /api/storage/v1/designs/{id} | Copies specified entity |
| DesignsApi | designsCreate | POST /api/storage/v1/designs | Creates new entity |
| DesignsApi | designsCreateCollection | POST /api/storage/v1/designs/collections | Creates new collection |
| DesignsApi | designsCreateFolder | POST /api/storage/v1/designs/folders | Creates new folder |
| DesignsApi | designsDelete | DELETE /api/storage/v1/designs/{id} | Deletes specified entity |
| DesignsApi | designsDeleteCollection | DELETE /api/storage/v1/designs/collections/{id} | Deletes specified collection |
| DesignsApi | designsDeleteFolder | DELETE /api/storage/v1/designs/folders | Deletes specified folder |
| DesignsApi | designsGet | GET /api/storage/v1/designs/{id} | Gets entity by id |
| DesignsApi | designsGetAll | GET /api/storage/v1/designs | Gets all entities relevant to specified query parameters |
| DesignsApi | designsGetAllCollections | GET /api/storage/v1/designs/collections | Gets all collections |
| DesignsApi | designsGetAllFolders | GET /api/storage/v1/designs/folders/all | Gets all folders |
| DesignsApi | designsGetCollection | GET /api/storage/v1/designs/collections/{id} | Gets collection content by collection id |
| DesignsApi | designsGetFile | GET /api/storage/v1/designs/{id}/file | Gets entity file from file storage |
| DesignsApi | designsGetFolder | GET /api/storage/v1/designs/folders | Gets folder content by folder path |
| DesignsApi | designsGetFolderInfo | GET /api/storage/v1/designs/folders/{id} | Gets folder by id |
| DesignsApi | designsUpdate | PUT /api/storage/v1/designs/{id} | Updates specified entity |
| DesignsApi | designsUpdateCollection | PUT /api/storage/v1/designs/collections/{id} | Updates specified collection |
| DesignsApi | designsUpdateFolder | PUT /api/storage/v1/designs/folders/{id} | Updates specified folder |
| FontsApi | fontsAddPreview | PUT /api/storage/v1/fonts/{id}/preview | Creates preview entity for specified source entity |
| FontsApi | fontsBatchCopy | POST /api/storage/v1/fonts/batchCopy | Copies selected entities and folders to another folder specified by path |
| FontsApi | fontsBatchDelete | POST /api/storage/v1/fonts/batchDelete | Deletes selected entities and folders |
| FontsApi | fontsBatchUpdateParentFolder | POST /api/storage/v1/fonts/batchUpdateParentFolder | Updates parent folder for selected entities and folders |
| FontsApi | fontsCopy | POST /api/storage/v1/fonts/{id} | Copies specified entity |
| FontsApi | fontsCreate | POST /api/storage/v1/fonts | Creates new entity |
| FontsApi | fontsCreateCollection | POST /api/storage/v1/fonts/collections | Creates new collection |
| FontsApi | fontsCreateFolder | POST /api/storage/v1/fonts/folders | Creates new folder |
| FontsApi | fontsDelete | DELETE /api/storage/v1/fonts/{id} | Deletes specified entity |
| FontsApi | fontsDeleteCollection | DELETE /api/storage/v1/fonts/collections/{id} | Deletes specified collection |
| FontsApi | fontsDeleteFolder | DELETE /api/storage/v1/fonts/folders | Deletes specified folder |
| FontsApi | fontsGet | GET /api/storage/v1/fonts/{id} | Gets entity by id |
| FontsApi | fontsGetAll | GET /api/storage/v1/fonts | Gets all entities relevant to specified query parameters |
| FontsApi | fontsGetAllCollections | GET /api/storage/v1/fonts/collections | Gets all collections |
| FontsApi | fontsGetAllFolders | GET /api/storage/v1/fonts/folders/all | Gets all folders |
| FontsApi | fontsGetCollection | GET /api/storage/v1/fonts/collections/{id} | Gets collection content by collection id |
| FontsApi | fontsGetFile | GET /api/storage/v1/fonts/{id}/file | Gets entity file from file storage |
| FontsApi | fontsGetFolder | GET /api/storage/v1/fonts/folders | Gets folder content by folder path |
| FontsApi | fontsGetFolderInfo | GET /api/storage/v1/fonts/folders/{id} | Gets folder by id |
| FontsApi | fontsUpdate | PUT /api/storage/v1/fonts/{id} | Updates specified entity |
| FontsApi | fontsUpdateCollection | PUT /api/storage/v1/fonts/collections/{id} | Updates specified collection |
| FontsApi | fontsUpdateFolder | PUT /api/storage/v1/fonts/folders/{id} | Updates specified folder |
| ImagesApi | imagesAddPreview | PUT /api/storage/v1/images/{id}/preview | Creates preview entity for specified source entity |
| ImagesApi | imagesBatchCopy | POST /api/storage/v1/images/batchCopy | Copies selected entities and folders to another folder specified by path |
| ImagesApi | imagesBatchDelete | POST /api/storage/v1/images/batchDelete | Deletes selected entities and folders |
| ImagesApi | imagesBatchUpdateParentFolder | POST /api/storage/v1/images/batchUpdateParentFolder | Updates parent folder for selected entities and folders |
| ImagesApi | imagesCopy | POST /api/storage/v1/images/{id} | Copies specified entity |
| ImagesApi | imagesCreate | POST /api/storage/v1/images | Creates new entity |
| ImagesApi | imagesCreateCollection | POST /api/storage/v1/images/collections | Creates new collection |
| ImagesApi | imagesCreateFolder | POST /api/storage/v1/images/folders | Creates new folder |
| ImagesApi | imagesDelete | DELETE /api/storage/v1/images/{id} | Deletes specified entity |
| ImagesApi | imagesDeleteCollection | DELETE /api/storage/v1/images/collections/{id} | Deletes specified collection |
| ImagesApi | imagesDeleteFolder | DELETE /api/storage/v1/images/folders | Deletes specified folder |
| ImagesApi | imagesGet | GET /api/storage/v1/images/{id} | Gets entity by id |
| ImagesApi | imagesGetAll | GET /api/storage/v1/images | Gets all entities relevant to specified query parameters |
| ImagesApi | imagesGetAllCollections | GET /api/storage/v1/images/collections | Gets all collections |
| ImagesApi | imagesGetAllFolders | GET /api/storage/v1/images/folders/all | Gets all folders |
| ImagesApi | imagesGetCollection | GET /api/storage/v1/images/collections/{id} | Gets collection content by collection id |
| ImagesApi | imagesGetFile | GET /api/storage/v1/images/{id}/file | Gets entity file from file storage |
| ImagesApi | imagesGetFolder | GET /api/storage/v1/images/folders | Gets folder content by folder path |
| ImagesApi | imagesGetFolderInfo | GET /api/storage/v1/images/folders/{id} | Gets folder by id |
| ImagesApi | imagesUpdate | PUT /api/storage/v1/images/{id} | Updates specified entity |
| ImagesApi | imagesUpdateCollection | PUT /api/storage/v1/images/collections/{id} | Updates specified collection |
| ImagesApi | imagesUpdateFolder | PUT /api/storage/v1/images/folders/{id} | Updates specified folder |
| PreviewsApi | previewsGet | GET /api/storage/v1/previews/{id} | Gets preview entity by id |
| PreviewsApi | previewsGetFile | GET /api/storage/v1/previews/{id}/file | Gets preview entity file from file storage |
| PrivateDesignsApi | privateDesignsAddPreview | PUT /api/storage/v1/private-designs/{id}/preview | Creates preview entity for specified source entity |
| PrivateDesignsApi | privateDesignsBatchCopy | POST /api/storage/v1/private-designs/batchCopy | Copies selected entities and folders to another folder specified by path |
| PrivateDesignsApi | privateDesignsBatchDelete | POST /api/storage/v1/private-designs/batchDelete | Deletes selected entities and folders |
| PrivateDesignsApi | privateDesignsBatchUpdateOwner | POST /api/storage/v1/private-designs/batchUpdateOwner | Updates owner for selected entities and folders |
| PrivateDesignsApi | privateDesignsBatchUpdateParentFolder | POST /api/storage/v1/private-designs/batchUpdateParentFolder | Updates parent folder for selected entities and folders |
| PrivateDesignsApi | privateDesignsCopy | POST /api/storage/v1/private-designs/{id} | Copies specified entity |
| PrivateDesignsApi | privateDesignsCreate | POST /api/storage/v1/private-designs | Creates new entity |
| PrivateDesignsApi | privateDesignsCreateCollection | POST /api/storage/v1/private-designs/collections | Creates new collection |
| PrivateDesignsApi | privateDesignsCreateFolder | POST /api/storage/v1/private-designs/folders | Creates new folder |
| PrivateDesignsApi | privateDesignsDelete | DELETE /api/storage/v1/private-designs/{id} | Deletes specified entity |
| PrivateDesignsApi | privateDesignsDeleteCollection | DELETE /api/storage/v1/private-designs/collections/{id} | Deletes specified collection |
| PrivateDesignsApi | privateDesignsDeleteFolder | DELETE /api/storage/v1/private-designs/folders | Deletes specified folder |
| PrivateDesignsApi | privateDesignsGet | GET /api/storage/v1/private-designs/{id} | Gets entity by id |
| PrivateDesignsApi | privateDesignsGetAll | GET /api/storage/v1/private-designs | Gets all entities relevant to specified query parameters |
| PrivateDesignsApi | privateDesignsGetAllCollections | GET /api/storage/v1/private-designs/collections | Gets all collections |
| PrivateDesignsApi | privateDesignsGetAllFolders | GET /api/storage/v1/private-designs/folders/all | Gets all folders |
| PrivateDesignsApi | privateDesignsGetCollection | GET /api/storage/v1/private-designs/collections/{id} | Gets collection content by collection id |
| PrivateDesignsApi | privateDesignsGetFile | GET /api/storage/v1/private-designs/{id}/file | Gets entity file from file storage |
| PrivateDesignsApi | privateDesignsGetFolder | GET /api/storage/v1/private-designs/folders | Gets folder content by folder path |
| PrivateDesignsApi | privateDesignsGetFolderInfo | GET /api/storage/v1/private-designs/folders/{id} | Gets folder by id |
| PrivateDesignsApi | privateDesignsUpdate | PUT /api/storage/v1/private-designs/{id} | Updates specified entity |
| PrivateDesignsApi | privateDesignsUpdateCollection | PUT /api/storage/v1/private-designs/collections/{id} | Updates specified collection |
| PrivateDesignsApi | privateDesignsUpdateFolder | PUT /api/storage/v1/private-designs/folders/{id} | Updates specified folder |
| PrivateImagesApi | privateImagesAddPreview | PUT /api/storage/v1/private-images/{id}/preview | Creates preview entity for specified source entity |
| PrivateImagesApi | privateImagesBatchCopy | POST /api/storage/v1/private-images/batchCopy | Copies selected entities and folders to another folder specified by path |
| PrivateImagesApi | privateImagesBatchDelete | POST /api/storage/v1/private-images/batchDelete | Deletes selected entities and folders |
| PrivateImagesApi | privateImagesBatchUpdateOwner | POST /api/storage/v1/private-images/batchUpdateOwner | Updates owner for selected entities and folders |
| PrivateImagesApi | privateImagesBatchUpdateParentFolder | POST /api/storage/v1/private-images/batchUpdateParentFolder | Updates parent folder for selected entities and folders |
| PrivateImagesApi | privateImagesCopy | POST /api/storage/v1/private-images/{id} | Copies specified entity |
| PrivateImagesApi | privateImagesCreate | POST /api/storage/v1/private-images | Creates new entity |
| PrivateImagesApi | privateImagesCreateCollection | POST /api/storage/v1/private-images/collections | Creates new collection |
| PrivateImagesApi | privateImagesCreateFolder | POST /api/storage/v1/private-images/folders | Creates new folder |
| PrivateImagesApi | privateImagesDelete | DELETE /api/storage/v1/private-images/{id} | Deletes specified entity |
| PrivateImagesApi | privateImagesDeleteCollection | DELETE /api/storage/v1/private-images/collections/{id} | Deletes specified collection |
| PrivateImagesApi | privateImagesDeleteFolder | DELETE /api/storage/v1/private-images/folders | Deletes specified folder |
| PrivateImagesApi | privateImagesGet | GET /api/storage/v1/private-images/{id} | Gets entity by id |
| PrivateImagesApi | privateImagesGetAll | GET /api/storage/v1/private-images | Gets all entities relevant to specified query parameters |
| PrivateImagesApi | privateImagesGetAllCollections | GET /api/storage/v1/private-images/collections | Gets all collections |
| PrivateImagesApi | privateImagesGetAllFolders | GET /api/storage/v1/private-images/folders/all | Gets all folders |
| PrivateImagesApi | privateImagesGetCollection | GET /api/storage/v1/private-images/collections/{id} | Gets collection content by collection id |
| PrivateImagesApi | privateImagesGetFile | GET /api/storage/v1/private-images/{id}/file | Gets entity file from file storage |
| PrivateImagesApi | privateImagesGetFolder | GET /api/storage/v1/private-images/folders | Gets folder content by folder path |
| PrivateImagesApi | privateImagesGetFolderInfo | GET /api/storage/v1/private-images/folders/{id} | Gets folder by id |
| PrivateImagesApi | privateImagesUpdate | PUT /api/storage/v1/private-images/{id} | Updates specified entity |
| PrivateImagesApi | privateImagesUpdateCollection | PUT /api/storage/v1/private-images/collections/{id} | Updates specified collection |
| PrivateImagesApi | privateImagesUpdateFolder | PUT /api/storage/v1/private-images/folders/{id} | Updates specified folder |
| TenantsApi | tenantsCreate | POST /api/storage/v1/tenants | Creates new tenant |
| TenantsApi | tenantsDelete | DELETE /api/storage/v1/tenants/{id} | Deletes specified tenant |
| TenantsApi | tenantsGet | GET /api/storage/v1/tenants/{id} | Gets tenant by id |
| TenantsApi | tenantsGetAll | GET /api/storage/v1/tenants | Gets all tenants |
| TenantsApi | tenantsUpdate | PUT /api/storage/v1/tenants/{id} | Updates specified tenant |
Models
- ArtifactDto
- ArtifactType
- BatchConflictDto
- BatchCopyInput
- BatchDeleteInput
- BatchUpdateOwnerInput
- BatchUpdateParentFolderInput
- BuildInfoModel
- CollectionContentOfColorProfileDto
- CollectionContentOfDataSchemaDto
- CollectionContentOfDataSetDto
- CollectionContentOfDesignDto
- CollectionContentOfFontDto
- CollectionContentOfImageDto
- CollectionDto
- ColorProfileClass
- ColorProfileDto
- ColorProfileMetadata
- ColorSpace
- ConflictDto
- ConflictResolvingStrategy
- ConflictType
- CreateCollectionDto
- CreateFolderDto
- CreateTenantDto
- DataSchemaDto
- DataSchemaMetadata
- DataSetDto
- DataSetMetadata
- DesignDto
- DesignFontMetadata
- DesignMetadata
- DesignSurfaceMetadata
- FolderContentOfColorProfileDto
- FolderContentOfDataSchemaDto
- FolderContentOfDataSetDto
- FolderContentOfDesignDto
- FolderContentOfFontDto
- FolderContentOfImageDto
- FolderDto
- FolderInfoDto
- FontDto
- FontMetadata
- ImageDto
- ImageMetadata
- ImagePageMetadata
- NameConflictDto
- PagedOfArtifactDto
- PagedOfColorProfileDto
- PagedOfDataSchemaDto
- PagedOfDataSetDto
- PagedOfDesignDto
- PagedOfFontDto
- PagedOfImageDto
- PagedOfTenantDto
- PreviewDto
- PreviewMetadata
- ProblemDetails
- TenantDto
- UpdateCollectionDto
- UpdateFolderDto
- UpdateTenantDto
aurigma/php-asset-storage-client 适用场景与选型建议
aurigma/php-asset-storage-client 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 529 次下载、GitHub Stars 达 0, 最近一次更新时间为 2021 年 07 月 30 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「api client」 「web-to-print」 「customers canvas」 「asset storage」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 aurigma/php-asset-storage-client 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 aurigma/php-asset-storage-client 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 aurigma/php-asset-storage-client 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
A PSR-7 compatible library for making CRUD API endpoints
Mock PSR-18 HTTP client
Asynchronous MQTT client built on React
Enable online print product personalization for your Magento 2 storefront.
Client for Google Directions API to add interpolated points to a route consisting of given coordinates.
PHP API Client for Asset Processor service of Customer's Canvas web-to-print system.
统计信息
- 总下载量: 529
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2021-07-30