added static php-crud-api
This commit is contained in:
@@ -1,11 +1,9 @@
|
||||
skip-for-sqlite: table (columns) cannot be altered online
|
||||
===
|
||||
POST /columns/barcodes
|
||||
|
||||
{"name":"alternative_product_id","type":"integer","nullable":true,"fk":"products"}
|
||||
===
|
||||
200
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Content-Type: application/json
|
||||
Content-Length: 4
|
||||
|
||||
true
|
||||
@@ -13,7 +11,7 @@ true
|
||||
GET /columns/barcodes/alternative_product_id
|
||||
===
|
||||
200
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Content-Type: application/json
|
||||
Content-Length: 82
|
||||
|
||||
{"name":"alternative_product_id","type":"integer","nullable":true,"fk":"products"}
|
||||
@@ -21,7 +19,7 @@ Content-Length: 82
|
||||
DELETE /columns/barcodes/alternative_product_id
|
||||
===
|
||||
200
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Content-Type: application/json
|
||||
Content-Length: 4
|
||||
|
||||
true
|
||||
|
||||
Reference in New Issue
Block a user