update specs/docs

This commit is contained in:
Tit Petric
2018-07-05 13:02:53 +00:00
parent 8d4a60b86f
commit ec6b2cb875
4 changed files with 10 additions and 10 deletions
+5 -5
View File
@@ -42,7 +42,7 @@ CRM module definitions
| URI | Protocol | Method | Authentication |
| --- | -------- | ------ | -------------- |
| `/modules/list` | HTTP/S | GET | |
| `/module/list` | HTTP/S | GET | |
#### Request parameters
@@ -56,7 +56,7 @@ CRM module definitions
| URI | Protocol | Method | Authentication |
| --- | -------- | ------ | -------------- |
| `/modules/edit` | HTTP/S | POST | |
| `/module/edit` | HTTP/S | POST | |
#### Request parameters
@@ -71,7 +71,7 @@ CRM module definitions
| URI | Protocol | Method | Authentication |
| --- | -------- | ------ | -------------- |
| `/modules/content/list` | HTTP/S | GET | |
| `/module/content/list` | HTTP/S | GET | |
#### Request parameters
@@ -84,7 +84,7 @@ CRM module definitions
| URI | Protocol | Method | Authentication |
| --- | -------- | ------ | -------------- |
| `/modules/content/edit` | HTTP/S | POST | |
| `/module/content/edit` | HTTP/S | POST | |
#### Request parameters
@@ -99,7 +99,7 @@ CRM module definitions
| URI | Protocol | Method | Authentication |
| --- | -------- | ------ | -------------- |
| `/modules/content/delete` | HTTP/S | DELETE | |
| `/module/content/delete` | HTTP/S | DELETE | |
#### Request parameters
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/php
#!/usr/bin/env php
<?php
error_reporting(E_ALL^E_NOTICE);
+2 -2
View File
@@ -30,8 +30,8 @@
"title": "Modules",
"description": "CRM module definitions",
"package": "crm",
"entrypoint": "modules",
"path": "modules",
"entrypoint": "module",
"path": "module",
"authentication": [],
"struct": [
{ "name": "id", "type": "uint64" },
@@ -2,7 +2,7 @@
"Title": "Modules",
"Description": "CRM module definitions",
"Package": "crm",
"Interface": "Modules",
"Interface": "Module",
"Struct": [
{
"name": "id",
@@ -15,7 +15,7 @@
],
"Protocol": "",
"Authentication": [],
"Path": "/modules",
"Path": "/module",
"APIs": [
{
"Name": "list",