Enhancement Request: Include Modified
Timestamp in PI Vision Display API Endpoint
Background: We utilize the PI Vision API to back up displays by creating a local folder structure and exporting each display as a JSON file. This backup process involves iterating through all folders and displays to replicate them locally. Currently, the display API endpoint provides the Id
, Name
, and Owner
fields, but not the Modified
timestamp, which we need to identify and update only modified displays.
Current Limitation: To determine if a display has been modified, we must use the export endpoint to retrieve the Modified
timestamp, which requires a full export of each display. Given our setup with over 6,000 displays, this process is very time-consuming and significantly impacts performance.
Proposed Solution: We request the addition of the Modified
timestamp field to the display API endpoint. By including this timestamp directly in the initial display listing response, we could efficiently compare it with our local backup timestamps to identify modified displays. This enhancement would eliminate the need for a full export when only checking for modifications, streamlining our backup process and reducing the processing time.
Benefits of the Proposed Enhancement:
Improved Efficiency: Reduces API calls and eliminates unnecessary exports, particularly for large setups.
Faster Backup Process: Decreases the time required to check for display modifications, allowing us to focus resources on actual updates.
Better Resource Management: Lowers server load by minimizing the need for full exports.
Example Current API Response:
{
"Items": [
{
"Id": 78103,
"Name": "Display1",
"Owner": "Domain\\user"
},
{
"Id": 78127,
"Name": "Display2",
"Owner": "Domain\\user"
}
],
"HasMore": false}
Requested Change: Incorporate a Modified
field within each display item:
{
"Items": [
{
"Id": 78103,
"Name": "Display1",
"Owner": "Domain\\user",
"Modified": "2023-10-12T08:30:00Z"
},
{
"Id": 78127,
"Name": "Display2",
"Owner": "Domain\\user",
"Modified": "2023-10-12T09:00:00Z"
}
],
"HasMore": false}
This enhancement would significantly increase the functionality and efficiency of the PI Vision API for backup and synchronization operations. Thank you for considering this request.