Is it possible to fetch all projects?

Hey @Glenn you might want something like this:

query User {
    user {
        projects(limit: 20) {
            totalCount
            cursor
            items {
                id
                name
                description
                visibility
                allowPublicComments
                role
                createdAt
                updatedAt
                sourceApps
            }
        }
    }
}

This will fetch 20 of your projects if you make the request as yourself/token. If you want to display more projects or loop through them you can use cursor.

Hope this helps.

1 Like