bounswe / bounswe2018group9

Actopus - an activity social octopus
14 stars 6 forks source link

Event Edit & Timeline #407

Closed kemaltulum closed 5 years ago

kemaltulum commented 5 years ago

I implemented event edit page.

The creator of the user can edit the event going its detail page.

In addition to this, I think, it would be good to show events created by a user on his/her timeline, which can be editable by him/her.

I am asking whether it is doable in this limited time to provide an endpoint for giving events of a spesific user.

This endpoint is important for the functionality of timeline page.

Thanks

okyksl commented 5 years ago

@gumityolcu?

gumityolcu commented 5 years ago

Yes it is possible. I will try to handle the issue today.

gumityolcu commented 5 years ago

Turns out we had the endpoint but it was not up to date with the current data model. I committed the last version to staging.

Currently: GET /api/events endpoint returns all events if no creator parameter is given, else it give the events of the given user.

Paging is done via query parameters skip(default: 0) and limit(default: 10).

Closing the issue.

okyksl commented 5 years ago

@kemaltulum does this resolve our issue completely?