The Project Items API allows you to manage a project's items. Learn more about project items in Wix Portfolio.
With the Project Items API, you can:
It’s important to note the following points before starting to code:
This article presents possible use cases and corresponding sample flows that you can support. This can be a helpful jumping off point as you plan your implementation.
You can display a live photo gallery on a digital photo frame, updating dynamically in real-time.
Call Create Project to create a project that will act as the photo gallery, allowing you to store and manage photos represented as project items within the gallery.
Share the newly created project's ID with those who need to access the gallery so they can add or remove photos from the digital photo frame.
Listen for Project Item Created, Project Item Updated, and Project Item Deleted events to detect when new photos are added, existing photos are updated, or photos are removed from the gallery.
Periodically call List Project Items to retrieve the latest gallery content and ensure the photo frame reflects real-time changes.
Project ID.
Project item ID.
Index that determines which position a project is displayed in the project.
Default: Epoch timestamp.
Project item title.
Project item description.
Project item data type.
Date and time the project item was created.
Date and time the project item was last updated.
Project item link.
Information about the Wix Media image.
Information about the Wix Media video.
{
"projectId": "123e4567-e89b-12d3-a456-426614174000",
"id": "987e6543-e21a-10d2-b987-426614176789",
"sortOrder": 1694090400.0,
"title": "Sample Project Item Title",
"description": "This is a description for the sample project item.",
"type": "IMAGE",
"image": {
"imageInfo": {
"id": "987e6543-e21a-10d2-b987-426614176789",
"url": "https://example.com/image.jpg",
"width": 1920,
"height": 1080
}
},
"createdDate": "2024-07-31T12:00:00Z",
"updatedDate": "2024-07-31T12:00:00Z",
"link": {
"text": "View Project",
"url": "https://example.com/project",
"target": "_blank"
}
}