Include app IDs in collection APIs (bug 906204)