- Source
Methods
(static) APIRequest(url, paramsopt) → {dynamic}
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
url | string | |||
params | object | <optional> | {} |
- Source
Returns:
- Type:
- dynamic
(static) authRequest(req) → {object}
Takes and returns a roUrlTransfer object after adding a Jellyfin "Authorization" header
Parameters:
Name | Type | Description |
---|---|---|
req | object |
Returns:
- Type:
- object
(static) buildAuthHeader() → {string}
Returns a string containing the "Authorization" header payload
Returns:
- Type:
- string
(static) buildParams(paramsopt) → {string}
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
params | object | <optional> | {} |
- Source
Returns:
- Type:
- string
(static) buildURL(path, paramsopt) → {dynamic}
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
path | string | |||
params | object | <optional> | {} |
- Source
Returns:
- Type:
- dynamic
(static) deleteVoid(req) → {dynamic}
Parameters:
Name | Type | Description |
---|---|---|
req | dynamic |
- Source
Returns:
- Type:
- dynamic
(static) getJson(req) → {dynamic}
Parameters:
Name | Type | Description |
---|---|---|
req | dynamic |
- Source
Returns:
- Type:
- dynamic
(static) getString(req) → {dynamic}
Parameters:
Name | Type | Description |
---|---|---|
req | dynamic |
- Source
Returns:
- Type:
- dynamic
(static) getVoid(req) → {boolean}
Parameters:
Name | Type | Description |
---|---|---|
req | dynamic |
- Source
Returns:
- Type:
- boolean
(static) get_url() → {dynamic}
- Source
Returns:
- Type:
- dynamic
(static) headVoid(req) → {boolean}
Parameters:
Name | Type | Description |
---|---|---|
req | dynamic |
- Source
Returns:
- Type:
- boolean
(static) postJson(req, dataopt) → {dynamic}
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
req | dynamic | |||
data | string | <optional> | "" |
- Source
Returns:
- Type:
- dynamic
(static) postString(req, dataopt) → {dynamic}
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
req | dynamic | |||
data | string | <optional> | "" |
Returns:
- Type:
- dynamic
(static) postVoid(req, dataopt) → {boolean}
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
req | dynamic | |||
data | string | <optional> | "" |
- Source
Returns:
- Type:
- boolean
(static) setCertificateAuthority(request) → {void}
sets the certificate authority by file path on the passed node
Parameters:
Name | Type | Description |
---|---|---|
request | object |
Returns:
- Type:
- void