Methods
Get User
GET https://fixer-uppers-api.azurewebsites.net/user/:id
This endpoint allows you to retrieve user information
Path Parameters
id
string
ID of the user
User object{
"message": "User not found"
}Get Badge
GET https://fixer-uppers-api.azurewebsites.net/badge/:id
This endpoint allows you to retrieve badge details
Path Parameters
id
string
ID of the badge
Badge Object{
"message": "Badge not found"
}Create Listing
POST https://fixer-uppers-api.azurewebsites.net/create-listing
This endpoint allows a user to create a listings
Headers
authorisation
string
Author's user ID
Request Body
title
string
Listing title
description
string
Listing description
listing_type
string
The type of listing, as defined by ListingType
{
"message": "Listing successfully created",
"id": listing ID
}Search Resources
GET https://fixer-uppers-api.azurewebsites.net/search
This endpoint allows you to retrieve listings in your local area
Path Parameters
query
string
The search string
Array of Resource objectsGet Listings
GET https://fixer-uppers-api.azurewebsites.net/listings
This endpoint allows you to retrieve all open listings
Array of listing objectsGet Listing
GET https://fixer-uppers-api.azurewebsites.net/listing/:id
This endpoint allows you to retrieve details for a single listing
Path Parameters
string
Listing object{
"message": "Listing not found"
}Last updated
Was this helpful?