Mobile Symbolication API - PUT pin files

Pins or unpins all symbol files of an app version. A pinned file is not deleted automatically when the symbol file storage runs out of space.

The request produces an application/json payload.

PUTSaaShttps://{your-environment-id}.live.dynatrace.com/api/config/v1/symfiles/{applicationId}/{packageName}/{os}/{versionCode}/{versionName}/pinning
Environment ActiveGatehttps://{your-activegate-domain}:9999/e/{your-environment-id}/api/config/v1/symfiles/{applicationId}/{packageName}/{os}/{versionCode}/{versionName}/pinning

Authentication

To execute this request, you need an access token with DssFileManagement scope.

To learn how to obtain and use it, see Tokens and authentication.

Parameters

ParameterTypeDescriptionInRequired
applicationIdstring

The UUID of the required mobile or custom application. It can be found in the Instrumentation Wizard of your app.

pathrequired
packageNamestring

The CFBundleIdentifier (iOS) or the package name (Android) of the required mobile app.

pathrequired
osstring

The operating system of the required app.

  • ANDROID
  • IOS
  • TVOS
pathrequired
versionCodestring

The version code (Android) / CFBundleVersion (iOS) of the required app.

pathrequired
versionNamestring

The version name (Android) / CFBundleShortVersionString (iOS) of the required app.

pathrequired
bodySymbolFilePinning

The JSON body of the request. Contains the pinning status to set.

bodyoptional

Request body objects

The SymbolFilePinning object

ElementTypeDescriptionRequired
pinnedboolean

The pinning status of the file: true to pin the file, false to unpin the file.

required

Request body JSON model

This is a model of the request body, showing the possible elements. It has to be adjusted for usage in an actual request.

{
"pinned": true
}

Response

Response codes

CodeTypeDescription
204-

Success. The pinning status of the filed has been updated. Response doesn't have a body.

400ErrorEnvelope

Failed. The input is invalid.

Validate payload

We recommend that you validate the payload before submitting it with an actual request. A response code of 204 indicates a valid payload.

The request consumes an application/json payload.

PUTSaaShttps://{your-environment-id}.live.dynatrace.com/api/config/v1/symfiles/{applicationId}/{packageName}/{os}/{versionCode}/{versionName}/pinning/validator
Environment ActiveGatehttps://{your-activegate-domain}:9999/e/{your-environment-id}/api/config/v1/symfiles/{applicationId}/{packageName}/{os}/{versionCode}/{versionName}/pinning/validator

Authentication

To execute this request, you need an access token with DssFileManagement scope.

To learn how to obtain and use it, see Tokens and authentication.

Response

Response codes

CodeTypeDescription
204-

Validated. The submitted body is valid. Response does not have a body.

400ErrorEnvelope

Failed. The input is invalid.