Skip to content

Request: GET API to find an NZB that was previously imported #512

@lostgit

Description

@lostgit

This is to allow Stremio/Nuvio addons like AIOStreams to efficiently find imported NZBs by name, so they can mark their search result items as "already in the user's library" (without ARR stack in use).

Currently, I think there are two ways but both are rather inefficient:

  • Browse /webdav and look for the title,
  • or call GET /import/history and find the NZB in the response JSON.

A new API can accomplish the above more efficiently:

  • GET /import/status/nzb?name=ABC
  • Respond with status (e.g., Incomplete, Ready, Failed, Unsubmitted) and, if available, the stream URL
  • Optionally, allow multiple request parameter name so one call can cover multiple NZBs; AIOStreams search result has multiple NZBs per title, so this will reduce the API calls.

Thank you.

Note: if there is already a way to do this, please note and I'll close this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions