summaryrefslogtreecommitdiff
path: root/doc/api-group-procedures.markdown
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2017-01-29 11:07:42 -0500
committerFrederic Guillot <fred@kanboard.net>2017-01-29 11:07:42 -0500
commit0371acff89b14b9bdcb03e72fd9637e26e6b517c (patch)
treef5878c9c07705379d137843cb8f92e3cdf7c20a8 /doc/api-group-procedures.markdown
parent3bf4789be255650b64f42231f41383cb13b65572 (diff)
Move English documentation to folder en_US
Diffstat (limited to 'doc/api-group-procedures.markdown')
-rw-r--r--doc/api-group-procedures.markdown174
1 files changed, 0 insertions, 174 deletions
diff --git a/doc/api-group-procedures.markdown b/doc/api-group-procedures.markdown
deleted file mode 100644
index cb11fb96..00000000
--- a/doc/api-group-procedures.markdown
+++ /dev/null
@@ -1,174 +0,0 @@
-Group API Procedures
-====================
-
-## createGroup
-
-- Purpose: **Create a new group**
-- Parameters:
- - **name** (string, required)
- - **external_id** (string, optional)
-- Result on success: **link_id**
-- Result on failure: **false**
-
-Request example:
-
-```json
-{
- "jsonrpc": "2.0",
- "method": "createGroup",
- "id": 1416806551,
- "params": [
- "My Group B",
- "1234"
- ]
-}
-```
-
-Response example:
-
-```json
-{
- "jsonrpc": "2.0",
- "id": 1416806551,
- "result": 2
-}
-```
-
-## updateGroup
-
-- Purpose: **Update a group**
-- Parameters:
- - **group_id** (integer, required)
- - **name** (string, optional)
- - **external_id** (string, optional)
-- Result on success: **true**
-- Result on failure: **false**
-
-Request example:
-
-```json
-{
- "jsonrpc": "2.0",
- "method": "updateGroup",
- "id": 866078030,
- "params": {
- "group_id": "1",
- "name": "ABC",
- "external_id": "something"
- }
-}
-```
-
-Response example:
-
-```json
-{
- "jsonrpc": "2.0",
- "id": 866078030,
- "result": true
-}
-```
-
-## removeGroup
-
-- Purpose: **Remove a group**
-- Parameters:
- - **group_id** (integer, required)
-- Result on success: **true**
-- Result on failure: **false**
-
-Request example:
-
-```json
-{
- "jsonrpc": "2.0",
- "method": "removeGroup",
- "id": 566000661,
- "params": [
- "1"
- ]
-}
-```
-
-Response example:
-
-```json
-{
- "jsonrpc": "2.0",
- "id": 566000661,
- "result": true
-}
-```
-
-## getGroup
-
-- Purpose: **Get one group**
-- Parameters:
- - **group_id** (integer, required)
-- Result on success: **Group dictionary**
-- Result on failure: **false**
-
-Request example:
-
-```json
-{
- "jsonrpc": "2.0",
- "method": "getGroup",
- "id": 1968647622,
- "params": [
- "1"
- ]
-}
-```
-
-Response example:
-
-```json
-{
- "jsonrpc": "2.0",
- "id": 1968647622,
- "result": {
- "id": "1",
- "external_id": "",
- "name": "My Group A"
- }
-}
-```
-
-## getAllGroups
-
-- Purpose: **Get all groups**
-- Parameters: none
-- Result on success: **list of groups**
-- Result on failure: **false**
-
-Request example:
-
-```json
-{
- "jsonrpc": "2.0",
- "method": "getAllGroups",
- "id": 546070742
-}
-```
-
-Response example:
-
-```json
-{
- "jsonrpc": "2.0",
- "id": 546070742,
- "result": [
- {
- "id": "1",
- "external_id": "",
- "name": "My Group A"
- },
- {
- "id": "2",
- "external_id": "1234",
- "name": "My Group B"
- }
- ]
-}
-```