Type Alias QueryOptions

QueryOptions: { url: string } | { id: string }

Argument for MediaManager.query. Contains one of:

  • url: The URL to the file to search for. It is expected that the URL is:
    • accessible
    • has correct Content-Type header
    • has correct Content-Length header
  • id: The MediaEntry.id of an media entry, to look for similar media entries.