The photo stream
The photo stream is the root of an archive. It is a collection, so it consists of an asset list and a collection list.
The asset list contains all assets in all folders and sub folders of the archive sorted by decreasing modification time. This means that the newest assets can be found at the beginning of the asset list.
The collection list contains all folders at the root level of the archive. These are either document folders (for archives that point to regular indexes in IndexManager) or union members (for archives that point to unions in IndexManager).
Endpoint
The URL of the photo stream of an archive can be obtained from the data
attribute of the corresponding entry in the archive list.
Usage
An API client can use the photo stream as follows:
- Request the asset list representation to enumerate all assets in the photo stream
- Request the collection list representation to enumerate all folders at the root level of the archive
- Search for assets in the archive by making a collection query request