Allows an app to specify a URL users will be redirected to when an app is successfully installed in Bitbucket.
The following context parameters are available for use in a postInstallRedirect url:
Example:
1 2 3 4 5 6 7 8 9
{
"modules": {
"postInstallRedirect": {
"key": "redirect",
"url": http://www.example.com?user={user_username}"
}
}
}
key
Type | |
Required | Yes |
Description | A key to identify this module. This key must be unique across all modules defined by your app. |
url
Type | |
Required | Yes |
Description | The location users will redirect to after an app is installed. The value can either be an absolute or relative URL. When a relative URL is specified, the URL is relative to your app's base URL. |
Rate this page: