Skip to content
View as Markdown

Platform

Used to represent available or target platforms. This can either be used either to provide a top level platform to a workflow or dashboard, or to filter certain requests i.e. listing workflows filtered by platform. Complex app version info is used to provide secondary filters for dashboards or workflow rules.

Field Type Description
apple bitdrift.public.shared.platform.v1.Platform.Apple Targets Apple platforms.

(Only one of apple, or android, electron can be set)
android bitdrift.public.shared.platform.v1.Platform.Android Targets Android platforms.

(Only one of android, or apple, electron can be set)

Example

JSON
{
  "apple": {
    "apps": [
      {
        "app_id": "com.example.app"
      }
    ]
  }
}

Platform.AppVersions

Field Type Description
app_id string The app id.
app_versions repeated string The known app versions for a given app id.

Example

JSON
{
  "app_id": "com.example.app",
  "app_versions": [
    "example"
  ]
}

Platform.App

Represents app selection criteria within a platform filter. At the moment every platform filter can narrow by app information.

Field Type Description
app_id string Filters by app ID only.

(Only one of app_id, or app_versions can be set)
app_versions bitdrift.public.shared.platform.v1.Platform.AppVersions Filters by app ID and app versions.

(Only one of app_versions, or app_id can be set)

Example

JSON
{
  "app_id": "com.example.app"
}

Platform.Apple

Field Type Description
apps repeated bitdrift.public.shared.platform.v1.Platform.App App selection criteria for Apple platforms.

Example

JSON
{
  "apps": [
    {
      "app_id": "com.example.app"
    }
  ]
}

Platform.Android

Field Type Description
apps repeated bitdrift.public.shared.platform.v1.Platform.App App selection criteria for Android platforms.

Example

JSON
{
  "apps": [
    {
      "app_id": "com.example.app"
    }
  ]
}