World-Cleanup-Day icon indicating copy to clipboard operation
World-Cleanup-Day copied to clipboard

[master] webapp API: add missing endpoints

Open lynxlynxlynx opened this issue 6 years ago • 5 comments

  • [ ] last-update-time sorted trash pile listing(s)
  • [ ] enhance "/trashpoints/user" to optionally take a userid (so we can get a count of reports by an arbitrary user)
  • [ ] ??? (identify more)

related:

  • [ ] alternative auth, so fb/google login are not needed (related #17)

lynxlynxlynx avatar Feb 21 '18 17:02 lynxlynxlynx

country trashpoints - total number and list with all data available (except users data)

KristiinaKerge avatar Mar 21 '18 20:03 KristiinaKerge

~~1. how many users are in one country~~ already covered by /users 2. list of new trashpoints added during certain period of time (user would like to set the timeframe) 3. list of new trashpoints added during certain time by country 4. How many new users are joining during certain timeperiod (user can set the timeframe) With limited access: most active user's data - name or email or FB profile info , user who has mapped most trashpoints during certain period per country and per world, to contact them and ask permission to announce them as winners

KristiinaKerge avatar Apr 06 '18 09:04 KristiinaKerge

  1. Number of people in the Team - team name and number of joined users
  2. Number of trashpoints reported by the Team - team name and number of regular trashpoints, number of threat trashpoints. Option to add period of time and get results only form that period

KristiinaKerge avatar Apr 06 '18 10:04 KristiinaKerge

  1. endpoint- /reports params -country_code, start_date, end_date output- List of reports ordered by lastUpdateDate
  2. endpoint- /teams params - team_name, start_date, end_date output- List of teams ordered by lastActivityDate with general statistics (number of participants, number of reports (by status)

3.endpoint- /users params - country_code, start_date, end_date output- List of users without sensitive data (passwords, emails) with general statistics (number of trashpoints reported by status) ordered by joining date

KristiinaKerge avatar May 21 '18 18:05 KristiinaKerge

added endpoints: /users/list - list of users without sensitive data (userId, country and number of trashpoints reported by status) /trashpoints - list of trashpoints between two dates. ordered by updating time /teams endpoint is in progress.

ghost avatar May 23 '18 12:05 ghost