mirror of
https://github.com/LukeHagar/plex-api-spec.git
synced 2025-12-09 04:20:46 +00:00
added library hashes endpoint
This commit is contained in:
@@ -42,7 +42,7 @@ get:
|
||||
- 0
|
||||
- 1
|
||||
default: 0
|
||||
required: fallse
|
||||
required: false
|
||||
responses:
|
||||
"200":
|
||||
description: The details of the library
|
||||
|
||||
25
referenced/paths/library-hashes.yaml
Normal file
25
referenced/paths/library-hashes.yaml
Normal file
@@ -0,0 +1,25 @@
|
||||
get:
|
||||
tags:
|
||||
- Hashes
|
||||
summary: Get Hash Value
|
||||
description: This resource returns hash values for local files
|
||||
operationId: getFileHash
|
||||
parameters:
|
||||
- name: url
|
||||
description: This is the path to the local file, must be prefixed by `file://`
|
||||
in: path
|
||||
schema:
|
||||
type: string
|
||||
example: file://C:\Image.png&type=13
|
||||
required: true
|
||||
- name: type
|
||||
description: Item type
|
||||
in: query
|
||||
schema:
|
||||
type: number
|
||||
required: false
|
||||
responses:
|
||||
"200":
|
||||
description: The hash of the file
|
||||
"401":
|
||||
$ref: "../responses/401.yaml"
|
||||
@@ -67,6 +67,8 @@ paths:
|
||||
$ref: "./paths/library-details.yaml"
|
||||
/library/sections:
|
||||
$ref: "./paths/all-libraries.yaml"
|
||||
/library/hashes:
|
||||
$ref: "./paths/library-hashes.yaml"
|
||||
/hubs:
|
||||
$ref: "./paths/hubs.yaml"
|
||||
/hubs/sections/{sectionId}:
|
||||
|
||||
Reference in New Issue
Block a user