﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
20416	Model Scaffold should generate REST API	juzerali	nobody	"Does it makes sense to automatically generate a REST API for a model if the switch is provided in scaffolding command?

For example, creating a model named **User** from scaffold with **--REST** switch could auto generate following REST APIs

GET /user/1 --> Send user with id 1 as JSON 
POST /user/ --> Create a user and return the user id
PUT /user/1 --> Update the user with id 1
DELETE /user/1 --> Delete the user with id 1
PATCH /user/1 --> make partial update to user with id 1.

Additionally
GET /user?limit=5&skip=10&sortBy=id-desc&contain=username

What do you guys think? Worth the effort?
"	New feature	closed	Utilities	dev	Normal	wontfix	scaffolding, automation		Unreviewed	0	0	0	0	0	0
