update specs/docs
This commit is contained in:
+5
-5
@@ -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
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/php
|
||||
#!/usr/bin/env php
|
||||
<?php
|
||||
|
||||
error_reporting(E_ALL^E_NOTICE);
|
||||
|
||||
@@ -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",
|
||||
Reference in New Issue
Block a user