mirror of
https://github.com/datarhei/core.git
synced 2025-10-05 07:57:13 +08:00
Merge branch 'dev' into vod
This commit is contained in:
23
docs/docs.go
23
docs/docs.go
@@ -322,6 +322,7 @@ const docTemplate = `{
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"v16.12.0",
|
||||
"v16.12.0"
|
||||
],
|
||||
"summary": "List all registered filesystems",
|
||||
@@ -389,7 +390,7 @@ const docTemplate = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"/api/v3/fs/{name}": {
|
||||
"/api/v3/fs/{storage}": {
|
||||
"get": {
|
||||
"security": [
|
||||
{
|
||||
@@ -401,6 +402,7 @@ const docTemplate = `{
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"v16.7.2",
|
||||
"v16.7.2"
|
||||
],
|
||||
"summary": "List all files on a filesystem",
|
||||
@@ -409,7 +411,7 @@ const docTemplate = `{
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Name of the filesystem",
|
||||
"name": "name",
|
||||
"name": "storage",
|
||||
"in": "path",
|
||||
"required": true
|
||||
},
|
||||
@@ -445,7 +447,7 @@ const docTemplate = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"/api/v3/fs/{name}/{path}": {
|
||||
"/api/v3/fs/{storage}/{filepath}": {
|
||||
"get": {
|
||||
"security": [
|
||||
{
|
||||
@@ -458,6 +460,7 @@ const docTemplate = `{
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"v16.7.2",
|
||||
"v16.7.2"
|
||||
],
|
||||
"summary": "Fetch a file from a filesystem",
|
||||
@@ -466,14 +469,14 @@ const docTemplate = `{
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Name of the filesystem",
|
||||
"name": "name",
|
||||
"name": "storage",
|
||||
"in": "path",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Path to file",
|
||||
"name": "path",
|
||||
"name": "filepath",
|
||||
"in": "path",
|
||||
"required": true
|
||||
}
|
||||
@@ -514,6 +517,7 @@ const docTemplate = `{
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"v16.7.2",
|
||||
"v16.7.2"
|
||||
],
|
||||
"summary": "Add a file to a filesystem",
|
||||
@@ -522,14 +526,14 @@ const docTemplate = `{
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Name of the filesystem",
|
||||
"name": "name",
|
||||
"name": "storage",
|
||||
"in": "path",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Path to file",
|
||||
"name": "path",
|
||||
"name": "filepath",
|
||||
"in": "path",
|
||||
"required": true
|
||||
},
|
||||
@@ -578,6 +582,7 @@ const docTemplate = `{
|
||||
"text/plain"
|
||||
],
|
||||
"tags": [
|
||||
"v16.7.2",
|
||||
"v16.7.2"
|
||||
],
|
||||
"summary": "Remove a file from a filesystem",
|
||||
@@ -586,14 +591,14 @@ const docTemplate = `{
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Name of the filesystem",
|
||||
"name": "name",
|
||||
"name": "storage",
|
||||
"in": "path",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Path to file",
|
||||
"name": "path",
|
||||
"name": "filepath",
|
||||
"in": "path",
|
||||
"required": true
|
||||
}
|
||||
|
Reference in New Issue
Block a user