Methods

Get User

GET https://fixer-uppers-api.azurewebsites.net/user/:id

This endpoint allows you to retrieve user information

Path Parameters

Name
Type
Description

id

string

ID of the user

User object

Get Badge

GET https://fixer-uppers-api.azurewebsites.net/badge/:id

This endpoint allows you to retrieve badge details

Path Parameters

Name
Type
Description

id

string

ID of the badge

Badge Object

Create Listing

POST https://fixer-uppers-api.azurewebsites.net/create-listing

This endpoint allows a user to create a listings

Headers

Name
Type
Description

authorisation

string

Author's user ID

Request Body

Name
Type
Description

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

Name
Type
Description

query

string

The search string

Array of Resource objects

Get Listings

GET https://fixer-uppers-api.azurewebsites.net/listings

This endpoint allows you to retrieve all open listings

Array of listing objects

Get Listing

GET https://fixer-uppers-api.azurewebsites.net/listing/:id

This endpoint allows you to retrieve details for a single listing

Path Parameters

Name
Type
Description

string

Listing object

Last updated

Was this helpful?