2016-11-06 16:04:17 +00:00
|
|
|
{
|
2017-12-11 11:15:05 +00:00
|
|
|
"GET": {
|
2017-12-11 17:01:49 +00:00
|
|
|
"description": "Returns the API documentation",
|
2017-12-11 11:15:05 +00:00
|
|
|
"permissions": [],
|
2017-12-11 17:30:29 +00:00
|
|
|
"parameters": {
|
2017-12-11 17:42:56 +00:00
|
|
|
"URL0": { "description": "Method name", "type": "varchar(1,30)", "rename": "method_name", "optional": true, "default": null, "default": null }
|
2017-12-11 17:30:29 +00:00
|
|
|
}
|
2017-12-11 11:15:05 +00:00
|
|
|
},
|
2016-11-08 08:54:59 +00:00
|
|
|
|
2017-12-10 19:33:18 +00:00
|
|
|
"admin": {
|
|
|
|
|
|
|
|
"POST": {
|
|
|
|
"description": "Creates a new administrator",
|
|
|
|
"permissions": [["admin"]],
|
|
|
|
"parameters": {
|
|
|
|
"username": { "description": "The new administrator username", "type": "varchar(3,20,alphanumeric)" },
|
|
|
|
"mail": { "description": "The new administrator email address", "type": "mail" },
|
|
|
|
"password": { "description": "The new administrator passowrd", "type": "text" }
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2017-12-10 20:24:39 +00:00
|
|
|
"PUT": {
|
2017-12-10 21:57:47 +00:00
|
|
|
"description": "Updates an existing administrator's data",
|
2017-12-10 22:05:24 +00:00
|
|
|
"permissions": [["admin"]],
|
2017-12-10 20:24:39 +00:00
|
|
|
"parameters": {
|
2017-12-10 21:57:47 +00:00
|
|
|
"URL0": { "description": "The UID of the wanted administrator.", "type": "id", "rename": "id_admin" },
|
|
|
|
"mail": { "description": "The new administrator email address", "type": "mail", "optional": true },
|
|
|
|
"password": { "description": "The new administrator passowrd", "type": "text", "optional": true }
|
2017-12-10 20:24:39 +00:00
|
|
|
}
|
2017-12-10 19:33:18 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
"DELETE": {
|
|
|
|
"description": "Deletes an administrator",
|
|
|
|
"permissions": [["admin"]],
|
2017-12-10 21:57:47 +00:00
|
|
|
"parameters": {
|
|
|
|
"URL0": { "description": "The UID of the wanted administrator.", "type": "id", "optional": true, "rename": "id_admin" }
|
|
|
|
}
|
2017-12-10 19:33:18 +00:00
|
|
|
},
|
|
|
|
|
2017-12-10 20:24:39 +00:00
|
|
|
"GET": {
|
2017-12-10 21:33:23 +00:00
|
|
|
"description": "Gets an administrator | Gets all administrators if no id defined",
|
2017-12-10 19:33:18 +00:00
|
|
|
"permissions": [["admin"]],
|
2017-12-10 21:33:23 +00:00
|
|
|
"parameters": {
|
|
|
|
"URL0": { "description": "The UID of the wanted administrator.", "type": "id", "optional": true, "rename": "id_admin" }
|
|
|
|
}
|
2017-12-10 19:33:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
|
2017-12-10 22:20:06 +00:00
|
|
|
"release": {
|
2017-12-10 19:33:18 +00:00
|
|
|
|
2017-12-10 22:30:19 +00:00
|
|
|
"GET": {
|
2017-12-10 22:20:06 +00:00
|
|
|
|
2016-11-07 07:15:16 +00:00
|
|
|
"description": "Pulls project from git branch.",
|
2017-12-10 22:20:06 +00:00
|
|
|
"permissions": [["admin"]],
|
2016-11-07 07:15:16 +00:00
|
|
|
"parameters": {
|
2017-12-10 22:36:11 +00:00
|
|
|
"URL0": { "description": "Name of the project to release", "type": "alphanumeric", "rename": "project" },
|
|
|
|
"URL1": { "description": "Step to run, if not given, all steps will be run", "type": "id", "rename": "step", "optional": true }
|
2016-11-07 07:15:16 +00:00
|
|
|
}
|
2017-12-10 22:20:06 +00:00
|
|
|
|
2016-11-07 07:15:16 +00:00
|
|
|
}
|
2017-12-11 11:15:05 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
"a": {
|
|
|
|
|
|
|
|
"b": {
|
|
|
|
|
|
|
|
"c": {
|
|
|
|
"PUT": {
|
|
|
|
"description": "PUT A/B/C.",
|
|
|
|
"permissions": [],
|
|
|
|
"parameters": {}
|
|
|
|
},
|
|
|
|
"DELETE": {
|
|
|
|
"description": "DELETE A/B/C.",
|
|
|
|
"permissions": [],
|
|
|
|
"parameters": {}
|
|
|
|
}
|
|
|
|
|
2017-12-11 17:01:49 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
"PUT": {
|
|
|
|
"description": "PUT A/B.",
|
|
|
|
"permissions": [],
|
|
|
|
"parameters": {}
|
|
|
|
},
|
|
|
|
"DELETE": {
|
|
|
|
"description": "DELETE A/B.",
|
|
|
|
"permissions": [],
|
|
|
|
"parameters": {}
|
2017-12-11 11:15:05 +00:00
|
|
|
}
|
2017-12-11 17:01:49 +00:00
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
"GET": {
|
|
|
|
"description": "GET A.",
|
|
|
|
"permissions": [],
|
|
|
|
"parameters": {}
|
|
|
|
},
|
|
|
|
"POST": {
|
|
|
|
"description": "POST A.",
|
|
|
|
"permissions": [],
|
|
|
|
"parameters": {}
|
2017-12-11 11:15:05 +00:00
|
|
|
}
|
2016-11-07 07:15:16 +00:00
|
|
|
}
|
2016-11-06 16:04:17 +00:00
|
|
|
}
|