Skip to content

Commit 6c3c48a

Browse files
committed
update
1 parent 431840a commit 6c3c48a

File tree

3 files changed

+0
-270
lines changed

3 files changed

+0
-270
lines changed

server/docs/docs.go

Lines changed: 0 additions & 102 deletions
Original file line numberDiff line numberDiff line change
@@ -131,83 +131,6 @@ const docTemplate = `{
131131
}
132132
}
133133
},
134-
"/fuse/mount": {
135-
"post": {
136-
"description": "Mounts the FUSE filesystem at the specified path",
137-
"consumes": [
138-
"application/json"
139-
],
140-
"produces": [
141-
"application/json"
142-
],
143-
"tags": [
144-
"FUSE"
145-
],
146-
"summary": "Mount FUSE filesystem",
147-
"parameters": [
148-
{
149-
"description": "Mount request",
150-
"name": "request",
151-
"in": "body",
152-
"required": true,
153-
"schema": {
154-
"$ref": "#/definitions/api.FuseMountRequest"
155-
}
156-
}
157-
],
158-
"responses": {
159-
"200": {
160-
"description": "OK",
161-
"schema": {
162-
"$ref": "#/definitions/fusefs.FuseStatus"
163-
}
164-
}
165-
}
166-
}
167-
},
168-
"/fuse/status": {
169-
"get": {
170-
"description": "Returns the current status of the FUSE filesystem mount",
171-
"produces": [
172-
"application/json"
173-
],
174-
"tags": [
175-
"FUSE"
176-
],
177-
"summary": "Get FUSE filesystem status",
178-
"responses": {
179-
"200": {
180-
"description": "OK",
181-
"schema": {
182-
"$ref": "#/definitions/fusefs.FuseStatus"
183-
}
184-
}
185-
}
186-
}
187-
},
188-
"/fuse/unmount": {
189-
"post": {
190-
"description": "Unmounts the FUSE filesystem",
191-
"consumes": [
192-
"application/json"
193-
],
194-
"produces": [
195-
"application/json"
196-
],
197-
"tags": [
198-
"FUSE"
199-
],
200-
"summary": "Unmount FUSE filesystem",
201-
"responses": {
202-
"200": {
203-
"description": "OK",
204-
"schema": {
205-
"$ref": "#/definitions/fusefs.FuseStatus"
206-
}
207-
}
208-
}
209-
}
210-
},
211134
"/magnets": {
212135
"get": {
213136
"description": "Get HTML of magnet links.",
@@ -628,17 +551,6 @@ const docTemplate = `{
628551
}
629552
},
630553
"definitions": {
631-
"api.FuseMountRequest": {
632-
"type": "object",
633-
"required": [
634-
"mount_path"
635-
],
636-
"properties": {
637-
"mount_path": {
638-
"type": "string"
639-
}
640-
}
641-
},
642554
"api.cacheReqJS": {
643555
"type": "object",
644556
"properties": {
@@ -704,20 +616,6 @@ const docTemplate = `{
704616
}
705617
}
706618
},
707-
"fusefs.FuseStatus": {
708-
"type": "object",
709-
"properties": {
710-
"enabled": {
711-
"type": "boolean"
712-
},
713-
"error": {
714-
"type": "string"
715-
},
716-
"mount_path": {
717-
"type": "string"
718-
}
719-
}
720-
},
721619
"models.TorrentDetails": {
722620
"type": "object",
723621
"properties": {

server/docs/swagger.json

Lines changed: 0 additions & 102 deletions
Original file line numberDiff line numberDiff line change
@@ -124,83 +124,6 @@
124124
}
125125
}
126126
},
127-
"/fuse/mount": {
128-
"post": {
129-
"description": "Mounts the FUSE filesystem at the specified path",
130-
"consumes": [
131-
"application/json"
132-
],
133-
"produces": [
134-
"application/json"
135-
],
136-
"tags": [
137-
"FUSE"
138-
],
139-
"summary": "Mount FUSE filesystem",
140-
"parameters": [
141-
{
142-
"description": "Mount request",
143-
"name": "request",
144-
"in": "body",
145-
"required": true,
146-
"schema": {
147-
"$ref": "#/definitions/api.FuseMountRequest"
148-
}
149-
}
150-
],
151-
"responses": {
152-
"200": {
153-
"description": "OK",
154-
"schema": {
155-
"$ref": "#/definitions/fusefs.FuseStatus"
156-
}
157-
}
158-
}
159-
}
160-
},
161-
"/fuse/status": {
162-
"get": {
163-
"description": "Returns the current status of the FUSE filesystem mount",
164-
"produces": [
165-
"application/json"
166-
],
167-
"tags": [
168-
"FUSE"
169-
],
170-
"summary": "Get FUSE filesystem status",
171-
"responses": {
172-
"200": {
173-
"description": "OK",
174-
"schema": {
175-
"$ref": "#/definitions/fusefs.FuseStatus"
176-
}
177-
}
178-
}
179-
}
180-
},
181-
"/fuse/unmount": {
182-
"post": {
183-
"description": "Unmounts the FUSE filesystem",
184-
"consumes": [
185-
"application/json"
186-
],
187-
"produces": [
188-
"application/json"
189-
],
190-
"tags": [
191-
"FUSE"
192-
],
193-
"summary": "Unmount FUSE filesystem",
194-
"responses": {
195-
"200": {
196-
"description": "OK",
197-
"schema": {
198-
"$ref": "#/definitions/fusefs.FuseStatus"
199-
}
200-
}
201-
}
202-
}
203-
},
204127
"/magnets": {
205128
"get": {
206129
"description": "Get HTML of magnet links.",
@@ -621,17 +544,6 @@
621544
}
622545
},
623546
"definitions": {
624-
"api.FuseMountRequest": {
625-
"type": "object",
626-
"required": [
627-
"mount_path"
628-
],
629-
"properties": {
630-
"mount_path": {
631-
"type": "string"
632-
}
633-
}
634-
},
635547
"api.cacheReqJS": {
636548
"type": "object",
637549
"properties": {
@@ -697,20 +609,6 @@
697609
}
698610
}
699611
},
700-
"fusefs.FuseStatus": {
701-
"type": "object",
702-
"properties": {
703-
"enabled": {
704-
"type": "boolean"
705-
},
706-
"error": {
707-
"type": "string"
708-
},
709-
"mount_path": {
710-
"type": "string"
711-
}
712-
}
713-
},
714612
"models.TorrentDetails": {
715613
"type": "object",
716614
"properties": {

server/docs/swagger.yaml

Lines changed: 0 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
11
basePath: /
22
definitions:
3-
api.FuseMountRequest:
4-
properties:
5-
mount_path:
6-
type: string
7-
required:
8-
- mount_path
9-
type: object
103
api.cacheReqJS:
114
properties:
125
action:
@@ -49,15 +42,6 @@ definitions:
4942
hash:
5043
type: string
5144
type: object
52-
fusefs.FuseStatus:
53-
properties:
54-
enabled:
55-
type: boolean
56-
error:
57-
type: string
58-
mount_path:
59-
type: string
60-
type: object
6145
models.TorrentDetails:
6246
properties:
6347
audioQuality:
@@ -411,56 +395,6 @@ paths:
411395
summary: Gather informations using ffprobe
412396
tags:
413397
- API
414-
/fuse/mount:
415-
post:
416-
consumes:
417-
- application/json
418-
description: Mounts the FUSE filesystem at the specified path
419-
parameters:
420-
- description: Mount request
421-
in: body
422-
name: request
423-
required: true
424-
schema:
425-
$ref: '#/definitions/api.FuseMountRequest'
426-
produces:
427-
- application/json
428-
responses:
429-
"200":
430-
description: OK
431-
schema:
432-
$ref: '#/definitions/fusefs.FuseStatus'
433-
summary: Mount FUSE filesystem
434-
tags:
435-
- FUSE
436-
/fuse/status:
437-
get:
438-
description: Returns the current status of the FUSE filesystem mount
439-
produces:
440-
- application/json
441-
responses:
442-
"200":
443-
description: OK
444-
schema:
445-
$ref: '#/definitions/fusefs.FuseStatus'
446-
summary: Get FUSE filesystem status
447-
tags:
448-
- FUSE
449-
/fuse/unmount:
450-
post:
451-
consumes:
452-
- application/json
453-
description: Unmounts the FUSE filesystem
454-
produces:
455-
- application/json
456-
responses:
457-
"200":
458-
description: OK
459-
schema:
460-
$ref: '#/definitions/fusefs.FuseStatus'
461-
summary: Unmount FUSE filesystem
462-
tags:
463-
- FUSE
464398
/magnets:
465399
get:
466400
description: Get HTML of magnet links.

0 commit comments

Comments
 (0)