Reorganizes the API documentation to mirror the API project structure

This commit is contained in:
BinaryAlley committed 2026-09-10 07:49:38 -07:00
1 parent 3f8eac43ea
commit 3a2c80b615
74 files changed
+3225 -392

No files matched your search

@@ -0,0 +1,17 @@
POST {{host}}/api/v1/libraries
Authorization: Bearer {{ACCESS_TOKEN}}
Content-Type: application/json
{
"title": "Books",
"libraryType": "Book",
"contentLocations": [
"/media/books"
],
"coverImage": null,
"isEnabled": true,
"isLocked": false,
"downloadMetadataFromWeb": true,
"shouldSaveMetadataInMediaDirectories": true,
"shouldSkipUnchangedDirectoriesDuringScan": true
}
@@ -0,0 +1,2 @@
POST {{host}}/api/v1/libraries/scans/cancel
Authorization: Bearer {{ACCESS_TOKEN}}
@@ -0,0 +1,2 @@
POST {{host}}/api/v1/libraries/{{$guid}}/scans/{{$guid}}/cancel
Authorization: Bearer {{ACCESS_TOKEN}}
@@ -0,0 +1,2 @@
DELETE {{host}}/api/v1/libraries/{{$guid}}
Authorization: Bearer {{ACCESS_TOKEN}}
@@ -0,0 +1,2 @@
GET {{host}}/api/v1/libraries/enabled
Authorization: Bearer {{ACCESS_TOKEN}}
@@ -0,0 +1,2 @@
GET {{host}}/api/v1/libraries
Authorization: Bearer {{ACCESS_TOKEN}}
@@ -0,0 +1,2 @@
GET {{host}}/api/v1/libraries/{{$guid}}
Authorization: Bearer {{ACCESS_TOKEN}}
@@ -0,0 +1,2 @@
GET {{host}}/api/v1/libraries/{{$guid}}/scans/{{$guid}}/progress
Authorization: Bearer {{ACCESS_TOKEN}}
@@ -0,0 +1,2 @@
GET {{host}}/api/v1/libraries/scans/running
Authorization: Bearer {{ACCESS_TOKEN}}
@@ -0,0 +1,2 @@
POST {{host}}/api/v1/libraries/scans
Authorization: Bearer {{ACCESS_TOKEN}}
@@ -0,0 +1,2 @@
POST {{host}}/api/v1/libraries/{{$guid}}/scans
Authorization: Bearer {{ACCESS_TOKEN}}
@@ -0,0 +1,19 @@
PUT {{host}}/api/v1/libraries/{{$guid}}
Authorization: Bearer {{ACCESS_TOKEN}}
Content-Type: application/json
{
"id": "{{$guid}}",
"userId": "{{$guid}}",
"title": "Books",
"libraryType": "Book",
"contentLocations": [
"/media/books"
],
"coverImage": null,
"isEnabled": true,
"isLocked": false,
"downloadMetadataFromWeb": true,
"shouldSaveMetadataInMediaDirectories": true,
"shouldSkipUnchangedDirectoriesDuringScan": true
}