The document provides an overview of the data services, specifically data storage, mock, and data files. Here is a summary of the key points:
- Data Services Introduction: The data services offer three types of data retrieval methods: data storage, mock, and data files. These services allow for customization of request paths and parameters to fetch data.
- Data Storage (Mock Simplified): This service stores data in the desert server and allows for manual setting of request paths and parameters. It supports both GET and POST requests, with parameters currently limited to key-value format.
- Mock Service: The mock service is similar to data storage but offers additional configurations. It can mimic real interface paths, adapt to specific parameter conditions, and prioritize mock data over real data based on predefined rules.
- Data Files: This service is similar to data storage but stores text or file data.
- Mock-Related Interfaces:
- Mock Data Pagination: The YAPI interface is used to query mock data in batches.
- Mock Data Value Retrieval: The YAPI interface is used to retrieve specific mock data by ID.
- Mock Data Update: The YAPI interface is used to update mock data, including setting the data type, ID, application ID, and mock application name.
- Mock Data Deletion: The YAPI interface is used to delete mock data by ID.
In summary, the document outlines a system for managing and retrieving data through various services, including mock data for testing purposes.