Group7
  1. phones
Group7
  • phones
    • Get a list of all phones
      GET
    • Get phone by id
      GET
    • Get the 5 phones that will sell out soon
      GET
    • Get the hot 5 mobile phones
      GET
    • Search for mobile phones by title keyword
      GET
    • Shopping Cart Checkout
      POST
    • Post mobile reviews (as a buyer)
      POST
    • Hide/Show Comments (as a buyer)
      PUT
    • Get details and quantities of phones purchased (as a buyer)
      POST
    • Get details of reviewed phones (as a buyer)
      POST
    • Get reviewed phones and corresponding reviews (as a buyer)
      POST
    • View phones for sale and reviews (as a seller)
      POST
    • Enable/disable mobile phones (as a seller)
      PUT
    • Change mobile phone information
      PUT
    • createPhone
      POST
    • Delete phone
      DELETE
    • Sellers view phones for sale
      POST
    • Get phone by id for list
      GET
  • users & auth
    • Registration
      POST
    • Verify email address
      GET
    • Login
      POST
    • Forgot your password (enter your email address)
      POST
    • Reset password
      PUT
    • Obtaining user information
      GET
    • Modify user information
      PUT
    • Reset password
      PUT
  1. phones

Get the 5 phones that will sell out soon

GET
localhost:5001/api/phones/end

Request

None

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'localhost:5001/api/phones/end'

Responses

🟢200ok
application/json
Body
array of:
_id
string 
required
title
string 
required
brand
string 
required
image
string 
required
stock
integer 
required
seller
string 
required
price
number  | integer 
required
reviews
array [object {5}] 
required
_id
string 
required
reviewer
string 
required
rating
integer 
required
comment
string 
required
hidden
string 
optional
Example
[{"_id":"645a0a8ca81a402de8668997","title":"4G Huawei Honor 6 Plus PE-UL00 FNC 3GB+16GB 5.5 inch FHD EMUI 3.0 (Android 4.4) Smart Phone Octa Core Hisilicon Kirin 925 1.8GHz 3600mAh Dual SIM FDD-LTE WCDMA GSM (White) (International Version)","brand":"Huawei","image":"/Huawei.jpeg","stock":1,"seller":"5f5237a4c1beb1523fa3db11","price":127.95,"reviews":[]},{"_id":"645a0a8ca81a402de86689ac","title":"Apple iPhone 3GS A1303 16GB GSM Unlocked SmartPhone - Black","brand":"Apple","image":"/Apple.jpeg","stock":1,"seller":"5f5237a4c1beb1523fa3dbf0","price":39,"reviews":[{"_id":"64627655a877d1f913640345","reviewer":"5f5237a4c1beb1523fa3da75","rating":1,"comment":"I had purchased this as a replacement for a 3gs phone that I apparently used as a basketball too often. I had to return it because several features did not work. I subsequently ordered a 4s, an upgrade at a similar price which works fine."},{"_id":"64627655a877d1f913640346","reviewer":"5f5237a4c1beb1523fa3db7b","rating":4,"comment":"I was skeptical about buying the unlock iPhone 3GS from Amazon after seeing the bad reviews, but I checked with the seller and went ahead and purchased it after he confirmed it. I gotta say, I'm very happy with this purchase. It wasn't hard to set up the sim's card into the device. It came in the mail like it was brand new with the original packaging and everything. I love texting and calling my friends and family with it. I have experienced the white screen of death, but I restarted it without a second thought and everything has been fine ever since. I haven't really experience any serious heating problems and I've played some high capacity games on it while being plugged in. It does get rather warm in the hands, but it wasn't enough to be uncomfortable for me. The main reason why I got this phone was because I wanted an easier and more convenient way to call and text my friends and family. The phone I had before was a flip phone without a proper keyboard. This does what I want and so much more. For $115, I got a really good deal and I'm happy to say that I'll be using this until my dad stops paying for the contract or it does die out on me. Just to let those who have flip phones know, the iPhone 3GS can PREVENT data being used when you're not on that plan. The flip phone that I had would take me onto the web without warning me first and that caused my phone to be charged a few extra dollars for just a few seconds of being on the internet. At least now, I don't have to worry about those slippages because I can only use data when i'm using wi-fi.I don't really have any complaints for this phone because it's more then what I want in an phone, but as an Apple product, I have to say that the screen really takes a miss. I'm so spoiled by Retina Display on my iPod Touch 5g, that it bugs me when everything is in low resolution. When comparing watching videos or pictures, it's just ain't the same. It's good when I'm bored at college, but for casual use, it's not that great from today's standards.It's a little bulky, but I kind of like it that way. It gives it a feel to it and it doesn't slip out of my hands unlike the new iPod Touch.Seeing that I got the white screen of death on the second day scared me. I'm hoping that wasn't the reason why the seller sold it to me.Summery:Pros:Great for a phone and great for texting.Has great cellular connection.Satisfying battery life.Can handle playing games without taking too much heat.Can prevent using data on cellular network unlike my old flip phone.Cons:Poor screen quality compared to today's standard for Apple products.Sort of bulky, but having some weight is a pro for me.White screen of death on the second day of using it."}]},{"_id":"645a0a8ca81a402de8668993","title":"Brand New Nokia E75-1 Silver Black Factory Unlocked made in Finland GSM phone","brand":"Nokia","image":"/Nokia.jpeg","stock":2,"seller":"5f5237a4c1beb1523fa3da41","price":299,"reviews":[]},{"_id":"645a0a8ca81a402de8668990","title":"Samsung A777 Unlocked Phone with 3G Support, 1.3MP Camera, Bluetooth and GPS - US Warranty - Red","brand":"Samsung","image":"/Samsung.jpeg","stock":2,"seller":"5f5237a4c1beb1523fa3dacb","price":59.99,"reviews":[{"_id":"64627655a877d1f913640347","reviewer":"5f5237a4c1beb1523fa3db12","rating":5,"comment":"Love the fact that I can swap sim cards and have a phone that works in Europe. Didn't even have to unlock it"},{"_id":"64627655a877d1f913640348","reviewer":"5f5237a4c1beb1523fa3dae4","rating":1,"comment":"Product looked good but wouldn't work properly at all. Service was mostly not there. Not the area or the service. It's the phone."},{"_id":"64627655a877d1f913640349","reviewer":"5f5237a4c1beb1523fa3da70","rating":2,"comment":"El teléfono estaba muy sucio y los protectores plasticos más, no tenía buena apariencia y el cargador estaba rayado como si ya se hubiera usado, no quedé satisfecho con el producto.Samsung A777 Unlocked Phone with 3G Support, 1.3MP Camera, Bluetooth and GPS - US Warranty - Red"},{"_id":"64627655a877d1f91364034a","reviewer":"5f5237a4c1beb1523fa3da21","rating":1,"comment":"Does not work."},{"_id":"64627655a877d1f91364034b","reviewer":"5f5237a4c1beb1523fa3dbde","rating":5,"comment":"Husband Love's This Phone Can Not Get Him To Upgrade LOL!!"},{"_id":"64627655a877d1f91364034c","reviewer":"5f5237a4c1beb1523fa3db72","rating":1,"comment":"ITS REALLY BAD I bought Samsung A 777 and gave it to my mom, the screen was not working really when turn on the phone the screen turn blue and cant see anythingreally not new"}]},{"_id":"645a0a8ca81a402de866898f","title":"Samsung A670 Phone (Verizon Wireless)","brand":"Samsung","image":"/Samsung.jpeg","stock":2,"seller":"5f5237a4c1beb1523fa3db52","price":16.5,"reviews":[]}]
Modified at 2023-05-16 06:34:40
Previous
Get phone by id
Next
Get the hot 5 mobile phones
Built with