For each guide users can add reviews as comments and/or reactions. Each guide has a guide profile which is linked to his user profile.
Next are described the requests to make these operations.
Reviews/Guide Profile
getGuideProfile is a HTTP GET request which returns a list with all the posts (only with the last comment) from the guide profile and all the reactions for his profile.
getGuideProfilePostDetails is a HTTP GET request which returns details for a specific post from the guide profile. This should be used when a user is interested in a specific post and wants to see for example all comments for that post etc.
Add like/dislike to post
The following request will add reactions to an existing post. If you want to add reactions directly to guide profile remove gpid paramenter from the json body.
Request examplehttp://localhost:8094/updateFeed
and the body which is application/json
For each guide users can add reviews as comments and/or reactions. Each guide has a guide profile which is linked to his user profile.
Next are described the requests to make these operations.
Reviews/Guide Profile
Request example
http://localhost:8094/getGuideProfile?city=<city-name>&uid=<valid-uid>&uidGuide=<valid-uid-for-guide>
Request example
http://localhost:8094/getGuideProfilePostDetails?city=<city-name>&gpid=<guide-post-id>&uidCurrent=<valid-uid-current-user>&uidAuthor=<valid-uid-author>&uidGuide=<valid-uid-for-guide>
The operations a user can do for a specific guide profile are:
http://localhost:8094/updateFeed
and the body which isapplication/json
http://localhost:8094/updateFeed
and the body which isapplication/json
http://localhost:8094/updateFeed
and the body which isapplication/json
http://localhost:8094/updateFeed
and the body which isapplication/json
http://localhost:8094/updateFeed
and the body which isapplication/json
http://localhost:8094/updateFeed
and the body which isapplication/json
gpid
paramenter from thejson body
.Request example
http://localhost:8094/updateFeed
and the body which isapplication/json