Browse Source

doc: update

pull/13/head
oof1lab 7 years ago
parent
commit
2fa65d2c50
  1. 52
      README.md

52
README.md

@ -108,12 +108,12 @@ Root URL (localhost:3000/) returns all REST API urls for each table in schema.
* GET       /api/parentTable/:id/childTable * GET       /api/parentTable/:id/childTable
* DELETE  /api/tableName/:id * DELETE  /api/tableName/:id
## Cool features ## HOT features
* GET       /api/tableName/groupby * GET       /api/tableName/groupby
* GET       /api/tableName/aggregate * GET       /api/tableName/aggregate
* GET       /api/tableName/groups :fire::fire: **[ HOTNESS ALERT ]** * GET       /api/tableName/groups :fire::fire: **[ HOTNESS ALERT ]**
## Only in Prototyping ## Only in Prototyping :snowboarder: :tophat:
* POST     /dynamic * POST     /dynamic
* GET       /upload * GET       /upload
* GET       /uploads * GET       /uploads
@ -361,8 +361,52 @@ http://localhost:3000/api/employees/ugroupby?_fields=jobTitle,reportsTo
response body response body
{ {
"jobTitle":[{"President":1},{"Sale Manager (EMEA)":1},{"Sales Manager (APAC)":1},{"Sales Manager (NA)":1},{"Sales Rep":17},{"VP Marketing":1},{"VP Sales":1}], "jobTitle":[
"reportsTo":[{"":1},{"1002":2},{"1056":4},{"1088":3},{"1102":6},{"1143":6},{"1621":1}] {
"Sales Rep":17
},
{
"President":1
},
{
"Sale Manager (EMEA)":1
},
{
"Sales Manager (APAC)":1
},
{
"Sales Manager (NA)":1
},
{
"VP Marketing":1
},
{
"VP Sales":1
}
],
"reportsTo":[
{
"":1
},
{
"1002":2
},
{
"1056":4
},
{
"1088":3
},
{
"1102":6
},
{
"1143":6
},
{
"1621":1
}
]
} }
``` ```

Loading…
Cancel
Save