added static php-crud-api

This commit is contained in:
zino
2021-01-20 13:13:22 +01:00
parent ea9085b4a4
commit fda9de0fa5
175 changed files with 770 additions and 15545 deletions

View File

@@ -1,10 +1,9 @@
===
PUT /columns/barcodes
{"name":"barcodes2"}
===
200
Content-Type: application/json; charset=utf-8
Content-Type: application/json
Content-Length: 4
true
@@ -12,7 +11,7 @@ true
GET /columns/barcodes2
===
200
Content-Type: application/json; charset=utf-8
Content-Type: application/json
Content-Length: 284
{"name":"barcodes2","type":"table","columns":[{"name":"id","type":"integer","pk":true},{"name":"product_id","type":"integer","fk":"products"},{"name":"hex","type":"varchar","length":255},{"name":"bin","type":"blob"},{"name":"ip_address","type":"varchar","length":15,"nullable":true}]}
@@ -22,7 +21,7 @@ PUT /columns/barcodes2
{"name":"barcodes"}
===
200
Content-Type: application/json; charset=utf-8
Content-Type: application/json
Content-Length: 4
true
@@ -30,7 +29,7 @@ true
GET /columns/barcodes
===
200
Content-Type: application/json; charset=utf-8
Content-Type: application/json
Content-Length: 283
{"name":"barcodes","type":"table","columns":[{"name":"id","type":"integer","pk":true},{"name":"product_id","type":"integer","fk":"products"},{"name":"hex","type":"varchar","length":255},{"name":"bin","type":"blob"},{"name":"ip_address","type":"varchar","length":15,"nullable":true}]}