Skip to content

URL Schemes

Wilson Styres edited this page May 1, 2020 · 2 revisions

The following URL schemes are supported by Zebra:

  • zbra://home: Opens the Home page of Zebra
  • zbra://sources: Opens the Sources tab of Zebra
    • zbra://sources/add/<sourceURL>: Opens Zebra and prompts the user if they would like to add the source specified from the sourceURL
      • Example: zbra://sources/add/https://repo.chariz.com/
  • zbra://packages: Opens the Packages tab of Zebra
    • zbra://packages/<package ID>: Opens Zebra and displays the depiction of the specified package if it is able to be located. The Packages tab will be displayed if Zebra cannot locate the package
      • Example: zbra://packages/xyz.willy.zebra
    • zbra://packages/<packageID>?source=<sourceURL>: Opens Zebra, adds a source URL if not already added, then navigates to the packageID specified from the sourceURL
      • Example: zbra://packages/xyz.willy.zebra?source=https://getzbra.com/beta/
  • zbra://search: Opens the Search tab of Zebra.
    • zbra://search/<search term>: Opens the Search tab of Zebra and searches the database for a package name matching the string provided
Clone this wiki locally