Provides endpoints to register/deregister your cloud app and to receive notifications about migration events. To learn more about notifications, see Prepare your cloud app.
Retrieves all the webhook endpoints for a cloud site
This request has no parameters.
OK
1
2
3
curl --request GET \
--url 'https://your-site.atlassian.net/rest/atlassian-connect/1/migration/webhook' \
--header 'Accept: application/json'
1
2
3
4
5
{
"endpoints": [
"<string>"
]
}
Replaces existing URLs with a new set of URLs provided by your cloud app to receive notifications
Set of endpoints called after the app migration
array<string>
OK
1
2
3
4
5
6
7
8
9
curl --request PUT \
--url 'https://your-site.atlassian.net/rest/atlassian-connect/1/migration/webhook' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"endpoints": [
"<string>"
]
}'
1
2
3
4
5
{
"endpoints": [
"<string>"
]
}
Rate this page: