Closed divine-comedian closed 3 months ago
sample query
{
projects(where:{
source_in:["giveth"],
},
orderBy:totalFlags_ASC
) {
id
totalVouches
totalFlags
totalAttests
}
}
response
{
"data": {
"projects": [
{
"id": "giveth-2880",
"totalVouches": 3,
"totalFlags": 0,
"totalAttests": 3
},
{
"id": "giveth-2881",
"totalVouches": 1,
"totalFlags": 0,
"totalAttests": 1
},
{
"id": "giveth-123",
"totalVouches": 1,
"totalFlags": 2,
"totalAttests": 3
}
]
}
}
- [x] can filter list for only projects from Gitcoin
- [ ] can filter list for only projects from RPGF
each project returned in the response has the following data:
- [x] the titles of the project
- [x] the short description of the project
- [ ] banner image
When getting the unified list of projects we should be able to filter for only projects that are from a particular source such as Giveth, Gitcoin or RPGF.
The response should only show projects from the filtered platform, along with any other applicable filtering or sorting applied.
AC
each project returned in the response has the following data: