Open watchoutfreedom opened 3 years ago
It has its own component /Feed in the front repo
@watchoutfreedom this is very complicated to understand what is needed.
Is it something like this in swagger:
/feed/{fromDate}:
get:
summary: Get all activity for the current user
tags:
- users
security:
- tokenAuth: []
parameters:
- in: path
name: fromDate
schema:
type: string
required: true
responses:
200:
description: OK
content:
application/json:
schema:
type: array
items:
type: object
properties:
status:
type: string
created:
type: string
latitude:
type: number
longitude:
type: number
401:
$ref: "#/components/responses/UnauthorizedError"
from where do i get statuses? which api end points should i use to add new statuses?
It's similar to that @albjeremias , to make it short I would say :
we would need to update the calls with time but for now the parameters for a feed call I think would be :
ButtonFile and Profile have Feeds of notifications that import info from external app (like telegram) and show notifications of the local activity and posts. Those feed can be very simple at the beggining (just ordered by time), and we can customize them with filters in the future.