Drive and Photo Service (Developer Edition) is an open platform for building applications that provide data management, content recognition, and data sharing services for enterprise and individual users.
Overview
Drive and Photo Service (PDS) is an open platform for developing applications that provide data management, content recognition, and data sharing. PDS supports the following features:
-
Efficient and reliable file management: manage drives, folders, and files with support for instant file transfer, resumable upload, and resumable download. You can create, delete, modify, and query drives and create, delete, modify, query, rename, move, and copy folders and files.
-
Real-time sorting: sort files in folders by file name or modification time, and sort favorited files and folders on drives in real time.
-
Photo features: tag recognition and facial recognition for images, metadata extraction (capture time and location) from images and videos, face clustering, thumbnails for images, documents, and videos, and timeline sorting.
-
Quick search: search for files by combining conditions such as tags, locations, creation time, and favorite status, or search by strings in file names or descriptions.
-
Multiple access methods: access as applications by using Alibaba Cloud AccessKey pairs or JSON Web Token (JWT) authentication based on OAuth, or access as users by using mobile numbers or OAuth 2.0 access tokens.
-
Various application types: self-managed applications, official applications, third-party applications, and combinations of these.
-
Event notification: receive notifications on data changes to facilitate data management.
-
Different network types: access PDS from the Internet or a virtual private cloud (VPC).
Architecture
PDS provides RESTful APIs for the service plane and management plane, along with SDKs for mainstream programming languages, widgets, and out-of-the-box BasicUI applications.
Service plane: PDS provides RESTful APIs for identity authentication, drive, and photo services.
-
Identity authentication: account management and OAuth services, with support for third-party accounts such as DingTalk. The access URL is {domainid}.api.aliyunpds.com.
-
Drive: user, drive, folder, and file management. The access URL is {domainid}.api.aliyunpds.com.
-
Photo: image and video management. The access URL is {domainid}.api.aliyunpds.com.
Management plane: PDS supports domain, application, and storage management.
Data plane: Access links are assigned by the service plane, with no RESTful API on the data plane. However, PDS supports custom domain names on the data plane.
User types
-
Alibaba Cloud account owners can activate PDS, and create and maintain domains.
-
O&M engineers can perform O&M operations on domains, including domain configuration, application configuration, monitoring and alerting, and data operations management.
-
Developers can develop applications and integrate applications with PDS.
-
Create a self-managed application: Create an application of a specific type and obtain the credential for accessing the application.
-
Develop a self-managed application: Develop an application based on business requirements.
-
-
End users use applications.
Domains
Data storage mode
-
Standard mode: suitable for most scenarios. Store, upload, download, and share data by using cloud drives. Cloud drives support data transmission within seconds. This mode supports intelligent image analysis such as tagging, classification, and facial recognition, as well as content-based intelligent searches.
-
Hosting mode: manage data stored in Object Storage Service (OSS) through a PDS domain. PDS provides dedicated pages for end users to manage their drives, folders, and files. End users access the data stored in OSS by using the OSS API, facilitating data-centric interactions between applications and users and data transmission among partners.
User system
-
Custom user system.
-
PDS user system. PDS supports logon by using mobile phone numbers or email addresses.
-
Third-party user systems. For more information, see Account access.
Configure an official application or a third-party application
-
Policies for third-party applications to access domains
-
Deny access from all third-party applications and configure a whitelist.
-
Allow access from all third-party applications and configure a blacklist.
-
-
The OAuth applications created by using an Alibaba Cloud account can access the domains created by using the same Alibaba Cloud account.
Develop an application and integrate the application with PDS by using a developer account
Integrate applications with PDS in the following scenarios:
-
Develop an application for other PDS users.
In this scenario, you must contact us to apply for manual integration of the application with PDS. After the application is approved, other PDS users can select the application from the application list.
-
Develop an application for yourself. In this scenario, perform the following operations to integrate the application with PDS:
-
Create a domain.
-
Perform at least one of the following operations:
-
Select an official application or a third-party application.
-
Create the self-managed application.
-
-