-
Notifications
You must be signed in to change notification settings - Fork 1
Gives
Creates a new Give for a given user.
Does not need to be unique.
Example script to call the API
POST
/give
{
"user_name": String,
"user_email": String,
"user_location": String,
"item": String,
"quantity": Number
}
HTTP Status Code | Meanings |
---|---|
201 Created |
Created the Give succesfully |
500 Internal Server Error |
The server crapped itself |
{
"id": String UUID
}
Returns all Gives from all users.
If the Give has been matched or fulfilled, it will have the ID of the corresponding match as well as the name, email, and location of the match.
Example script to call the API
GET
/give
HTTP Status Code | Meanings |
---|---|
200 OK |
Retrieved all Gives successfully |
500 Internal Server Error |
The server crapped itself |
[ array
{
"posted": Number (Unix timestamp)
"id": String UUID,
"user_name": String,
"user_email": String,
"user_location": String,
"item": String,
"quantity": Number,
"status": String,
"match_id": String (Optional),
"match_name": String (Optional),
"match_email": String (Optional),
"match_location": String (Optional)
}
]
For the possible values of status
, see Values.
Give+Seek is where we provide unconditionally to those who need assistance and ask without hesitation from those who are kind. A platform for human connection and support when we need it most.
Looking for kindness from those who have compassion to spare? Seek for what you need, when you need it most.
Have resources to help those who rely on you? Give back to the community that cares for you.