You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Description

This event is sent to the app service when an app has been successfully installed by a user.

{
    "name": "app.install",
    "userId": "u:cfc76545-3400-4864-892a-513a9f4ae409",
    "userToken": "4458f0a9-eca7-4efb-8560-2a0fd3ac858d"
}
Caution!
While no return value is expected from the app, if your app service does not respond to the HTTP request with a 200 OK status code, Flock assumes that the installation has failed and will indicate as much to the user.

Event Attributes

Attribute NameAttribute TypeAttribute Description
userIdStringUser identifier
tokenStringAuthentication token for the user

Response

No return value is required for this event. However, a 200 OK status code is expected for the installation to be considered successful. In case a 200 status code is not received as response to this event, by default Flock will assume failure and present an installation failure message to the user.