GET
/
library
/
hashes
using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components;

var sdk = new PlexAPI(accessToken: "<YOUR_API_KEY_HERE>");

var res = await sdk.Library.GetFileHashAsync(
    url: "file://C:\Image.png&type=13",
    type: 4462.17D
);

// handle response
This response does not have an example.

Authorizations

X-Plex-Token
string
header
required

Plex Authentication Token

Query Parameters

url
string
required

This is the path to the local file, must be prefixed by file://

Example:

"file://C:\\Image.png&type=13"

type
number

Item type

Response

200
_mintlify/placeholder

The hash of the file