Skip to content

amrelsayed/property-management-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Property Management REST API

Basic CRUD operations written in Symfony 7

API Reference

List properties

  GET /api/properties
Parameter Type Description
page integer Page number for pagination (default: 1)
limit integer Number of items per page (default: 10)
status string Filter properties by status (e.g., available, sold)

Get Property

  GET /api/properties/{id}
Parameter Type Description
id integer Required. Id of item to fetch

Create Property

  POST /api/properties
Parameter Type Description
title string Required
description string Required
price decimal Required
location string Required

Update Property

  PUT /api/properties
Parameter Type Description
title string Required
description string Required
price decimal Required
location string Required

Delete Property

  DELETE /api/properties/{id}
Parameter Type Description
id integer Required. Id of item to delete

Update Property Status

  PUT /api/properties/{id}/status
Parameter Type Description
id integer Required. Id of item to update
status string Required. New status of the property

About

Symfony 7 Api

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages