Deep Links
Breveto has limited support for deep links, with support for more actions on our roadmap!
Deep links let you open files in Breveto from other apps using the breveto:// url scheme. A deep link acts like a regular link in a web browser, but when clicked opens Breveto directly triggering an action.
Actions
Deep links follow a simple pattern: breveto://x-callback-url/[action]?[parameters]. The action tells Breveto what to do (like opening a file), and the parameters provide additional information (like which file to open). Parameters are added after a ? and separated by & if you need multiple parameters. For example, breveto://x-callback-url/open-file?id=123&newWindow=true tells Breveto to open the file with ID "123" in a new window.
Open File
Open a file in Breveto. To copy the deep link to a file, click the share button and select "Copy Deep Link", or go to "Menu > File > Copy Deep Link".
breveto://x-callback-url/open-file?id=FILE_ID
| Parameters | |
|---|---|
id | The id of the file to open. |
newWindow | Opens the file in a new window if set to true. If not set, it will open in the main window. |
Callback URL
Breveto uses the breveto://x-callback-url/ url scheme, which follows the x-callback-url protocol. We're using this protocol to future-proof Breveto and enable advanced features down the road, but callback URLs are not implemented yet.