return blobs;
}
@Path("{projectId}")
public ServicesCollectionResource retrieveServiceList(@PathParam("projectId") String projectKey) {
ProjectAuthorization authz = AuthenticationFilter.authorizeProject(getAuthenticationCredentials(),
authTokenValidator, projectKey);
if (authz == null) {
throw new WebApplicationException(HttpServletResponse.SC_UNAUTHORIZED);
}
List<RoleId> roles = authz.getRoles();
if (roles == null || !roles.contains(RoleId.OWNER)) {
throw new WebApplicationException(HttpServletResponse.SC_UNAUTHORIZED);
}
// Note that we have a different notion of project id from the auth system