This is a RESTful API for managing dog and breed data. Users can create, read, update, and delete dog and breed records using HTTP requests.
git clone https://github.com/asif17r/Django-Rest-Api
cd Django-Rest-Api
pip install -r requirements.txt
python manage.py runserver
The following endpoints are available for the Dog model:
- GET /api/dogs/: Get a list of all dogs
- POST /api/dogs/: Create a new dog
- GET /api/dogs/<id>/: Get details for a specific dog
- PUT /api/dogs/<id>/: Update a specific dog
- DELETE /api/dogs/<id>/: Delete a specific dog
The following endpoints are available for the Breed model:
- GET /api/breeds/: Get a list of all breeds
- POST /api/breeds/: Create a new breed
- GET /api/breeds/<id>/: Get details for a specific breed
- PUT /api/breeds/<id>/: Update a specific breed
- DELETE /api/breeds/<id>/: Delete a specific breed
This is the default view for this api. Those are some interesting dog variants. Contact me if you need one.
Contributions to this project are welcome! To contribute, please fork the repository and submit a pull request with your changes. Please include tests for any new functionality you add.