Uploading an app's certificate fingerprint

Uploads a certificate fingerprint to the AppMetrica server.

Request format

POST https://api.appmetrica.yandex.ru/management/v1/application/{id}/events_certs_fingerprints/android/add

id

App ID.

Request body format

{
    "data": {
        "fingerprint": string
    }
}

data

Object with data.

data.fingerprint

Certificate fingerprint.

Response format

{
  "id": int,
  "fingerprint": string
}

id

The ID of the certificate fingerprint (in the request, this parameter is called fingerprint_id).

fingerprint

Certificate fingerprint.

Example

Request:

curl -X POST 'https://api.appmetrica.yandex.ru/management/v1/application/1111/events_certs_fingerprints/android/add' \
-H 'Content-Type: application/json' \
-H 'Authorization: OAuth oauth_token' \
-d '{
      "data": {
        "fingerprint": "A7:89:E5:05:C8:17:A1:XXXXX"
      }
    }'

Response:

{
  "id": 24,
  "fingerprint": "A7:89:E5:05:C8:17:A1:XXXXX"
}

If you didn't find the answer you were looking for, you can use the feedback form to submit your question. Please describe the problem in as much detail as possible. Attach a screenshot if possible.

Contact support