FSE - Emergency social network API doc
Retrieves the list of anouncements made in the past by a coordinator. This list can be searched and X number of results can be skipped. The list is sorted by
Request parameters
allows us to search the DB of announcements
number of results to retrieve
Responses
Body
Has all the operations available that involve private chat messages and the private chatroom
Authentication
Request parameters
Keyword to search for
Responses
Body
how are you??
Bond
2012-12-12
OK
Has all the operations available that involve public chat messages and the public chatroom
Request parameters
keyword to search for
page #
Responses
Body
Has a list of operations used to managed JWT token life cycle.
JWT token
This creates a new token when a JWT token is expired.
Request headers
Responses
Body
Has the list of operations available to the User entity.
{id}
{id}
/personal-messageAuthentication
Creates a user during the signup process and identifies existing users to log them in if username and password are correct. This operations validates the structure of the username, password, validates for unique users, validates for prohibited usernames and registers the user. It returns the information of the user (id, name, username, acknowledgement) and the tokens associated to the user.
Request body
Responses
Body
Authentication
Updates the user’s information (acknowledgement, status, online/offline). It requires a valid JWT token .
Request headers
JWT token
Request body
User acknowledgement of initial instructions
First name
Last name
Users addres
User’s phone number
Users current city
Indicates the step that will be saved
for username update only by admin
for username update only by admin
for username update only by admin
is the acount active ? //for username update only by admin
Responses
Body
{id}
Path variables
Request parameters
Responses
Body
Authentication
Request parameters
username to search
user status
Responses
Body
username
online status
user status
Authentication
create a spam report
Request body
message or user
False/Harassing/AD/Others
any info
Responses
Body
{id}
Authentication
Request body
User that register the resource
Resource Type
Resource Name
Resource Location
Resource Description
Answer to question One
Answer to question Two
Answer to question three
Imge to upload
Body
User who register the resource
Type of Resource
Resource Name
Resource descriiption location
Resource description
Answer of question two
Answer of question two
Answer of question Three
Resource uploaded image
Image
Image Content Type
Authentication
Responses
Body
User ID
Brief description of user situation
Brief description of user location
Request body
Description of the newly upload picture
Responses
Body
Description of picture
Path of the picture
Name of the picture
user id
Authentication
Responses
Body
user id
Description of a picture
Path of the picture
Name of the picture
Request body
New description
Responses
Body
user id
New description
Path of the picture
Name of picture
Authentication
Responses
Body
user id
Description of the deleted picture
The path to the deleted picture
Name of the deleted picture