/
mcmare
/
RustAPI
Обзор
Документация
Войти
/
mcmare
/
RustAPI
Код
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
config/endpoints/orders.yaml
64 строки
1 KB
mcmare
Wire up server binary, sample config, and README
18 июл 2026, 16:41
18 июл 2026, 16:41
f181395
Код
Авторство
О чём код?
endpoints: - method: POST path: /orders connection: main_db table: orders operation: create input: name: string price: number tags: array<string> output: id: uuid name: string price: number tags: array<string> created_at: datetime - method: GET path: /orders/{id} connection: main_db table: orders operation: read output: id: uuid name: string price: number tags: array<string> created_at: datetime - method: GET path: /orders connection: main_db table: orders operation: list output: id: uuid name: string price: number tags: array<string> created_at: datetime - method: PATCH path: /orders/{id} connection: main_db table: orders operation: update input: name: string price: number tags: array<string> output: id: uuid name: string price: number tags: array<string> created_at: datetime - method: DELETE path: /orders/{id} connection: main_db table: orders operation: delete output: id: uuid