get_library_metadata_by_id_nearest
Retrieve metadata for media items nearest to a given library item, with options to limit results and exclude parent or grandparent items.
Instructions
Get Nearest Metadata.
GET /library/metadata/{id}/nearest
Args: id: The unique identifier of the item exclude_parent_id: The unique identifier of the excludeparent exclude_grandparent_id: The unique identifier of the excludegrandparent limit: Maximum number of items to return max_distance: The maxDistance
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| limit | No | ||
| max_distance | No | ||
| exclude_parent_id | No | ||
| exclude_grandparent_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |