mirror of https://gitee.com/bigwinds/arangodb
86 lines
2.5 KiB
Plaintext
86 lines
2.5 KiB
Plaintext
{
|
|
"basePath": "/",
|
|
"swaggerVersion": "1.1",
|
|
"apiVersion": "0.1",
|
|
"apis": [
|
|
{
|
|
"operations": [
|
|
{
|
|
"errorResponses": [],
|
|
"parameters": [],
|
|
"notes": "",
|
|
"summary": "fetches a user",
|
|
"httpMethod": "GET",
|
|
"examples": "",
|
|
"nickname": "fetchesAUser"
|
|
}
|
|
],
|
|
"path": "/_api/user"
|
|
},
|
|
{
|
|
"operations": [
|
|
{
|
|
"errorResponses": [],
|
|
"parameters": [
|
|
{
|
|
"dataType": "String",
|
|
"paramType": "body",
|
|
"required": "false",
|
|
"name": "body",
|
|
"description": "A valid json document for your data, for instance {\"hello\": \"world\"}."
|
|
}
|
|
],
|
|
"notes": "",
|
|
"summary": "creates user",
|
|
"httpMethod": "POST",
|
|
"examples": "",
|
|
"nickname": "createsUser"
|
|
}
|
|
],
|
|
"path": "/_api/user"
|
|
},
|
|
{
|
|
"operations": [
|
|
{
|
|
"errorResponses": [],
|
|
"parameters": [],
|
|
"notes": "",
|
|
"summary": "replaces user",
|
|
"httpMethod": "PUT",
|
|
"examples": "",
|
|
"nickname": "replacesUser"
|
|
}
|
|
],
|
|
"path": "/_api/user"
|
|
},
|
|
{
|
|
"operations": [
|
|
{
|
|
"errorResponses": [],
|
|
"parameters": [],
|
|
"notes": "",
|
|
"summary": "updates user",
|
|
"httpMethod": "PATCH",
|
|
"examples": "",
|
|
"nickname": "updatesUser"
|
|
}
|
|
],
|
|
"path": "/_api/user"
|
|
},
|
|
{
|
|
"operations": [
|
|
{
|
|
"errorResponses": [],
|
|
"parameters": [],
|
|
"notes": "",
|
|
"summary": "removes a user",
|
|
"httpMethod": "DELETE",
|
|
"examples": "",
|
|
"nickname": "removesAUser"
|
|
}
|
|
],
|
|
"path": "/_api/user"
|
|
}
|
|
]
|
|
}
|