Cloud Repo API Documentation

Register App

Register an app under the user.

Request Path

POST /cr/v1/register/user/app HTTP/1.1
"Yahoo-App-Auth": "... ..."
"Content-type": "application/json"

Request Parameters

Field Description
guid The user identity in guid format
app_id The Bundle id of App
device_id Identify a physical device, generated by SDK

Request Sample

{
    "guid": "MWNQGQZP7A4IUNPBVZ6IIOGW6W",
    "app_id": "com.yahoo.mail",
    "device_id": "P7A4IUNPBVZ6IIOM"
}

Response Sample

{
    "code" : 0, "message" : ""
}

Note

The non-zero code is used to identity the detailed problems.