Skip to content

FOXRAIDER/test_work_

Repository files navigation

Project Title

A brief description of what this project does and who it's for

Тестовое задание

Usage/Examples

Поднять все контейнеры командой:

docker compose up --build -d

API Reference

Add start data

Добавить стартовые данные

  GET /items/add_start_data

Get brands

Получить все бренды

  GET /items/brands

Get models

Получить все модели

  GET /items/models

Get car

Получить все машины

  GET /items/cars

Get car by id

Получить все машины по id

  GET /items/cars_by_id?id=4
Parameter Type Description
id int Required. Id of item to fetch

Update car by id

Обновить машину по id

  PUT /items/cars_by_id?id=4
Parameter Type Description
id int Required. Id of item to fetch
brand_name string Required. Brand name of item to fetch
model_name string Required. Model name of item to fetch
power string Required. Power of item to fetch

Add car

Добавить машину, модель и бренд

  POST /items/add_car
Parameter Type Description
brand_name string Required. Brand name of item to fetch
model_name string Required. Model name of item to fetch
power string Required. Power of item to fetch

Delete car by id

Удалить все машины по id

  DELETE /items/cars_by_id?id=4
Parameter Type Description
id int Required. Id of item to fetch

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published