My intention is to write a small java program which uses the API. I want to fetch all spaces and sub-spaces (no blogs, groups or projects) and display them (like the Spaces widget does). In a public community like this one a lot of the existing spaces can be retrieved without login. So I'd like to fetch the public spaces without authentication and cache them - they do usually not change too often.
To display the user-specific spaces and sub-spaces I'd like to fetch only them.
Is this possible in API v3 using a filter? Does it make sense to cache all public places (spaces, projects) and retrieve the user-specific places only when needed?