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).
The URL of the photo stream of an archive can be obtained from the
data attribute of the corresponding entry in the archive list.
An API client can use the photo stream as follows: