libraryGet method

Future<Map<String, dynamic>> libraryGet(
  1. String libraryId
)
inherited

libraryGet -> /v1/library/{library_id}

Requests an array of all items in the specified library.

PARAMETERS

libraryId : The ID of the library, either UUID, name, or index, in order of interpretation and search priority.

  • Example (by_uuid): 3C39C433-5C18-4F51-B357-55BB870227C4
  • Example (by_name): Library Name
  • Example (by_index): 3

RESPONSE 200:

The request was processed successfully.

content-type: application/json

schema:

{
  "type": "object",
  "required": [
    "updateType",
    "items"
  ]
}

Implementation

Future<Map<String, dynamic>> libraryGet(String libraryId) async {
  String url = '/v1/library/$libraryId';

  return await call('get', url, httpAccept: 'application/json');
}