GET v1/application/button-type/templates?version={version}

Use this method to get the list of existing button types that can be used as templates to create button types for an application.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
version

Optional parameter that can be used to filter template results by platform. Examples can be 4.0, 4.* or * where * is translated to all.

string

Default value is *

Body Parameters

None.

Response Information

Resource Description

Returns a list of button types that have no unique identifier, and can be used as templates for new button types.

Collection of ButtonType
NameDescriptionTypeAdditional information
id

The button type unique identifier. Null if the button type is a template for creating button types.

string

None.

type

The most important value, and what the client sdks evaluate to identify a button type

integer

None.

internalName

The internal name is used through logical paths to identify certain features needed to be shown/hidden. Is not required but very important that a button type is given an internal name.

string

None.

name

User friendly button type display name.

string

None.

platforms

Collection of string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": "sample string 1",
    "type": 2,
    "internalName": "sample string 3",
    "name": "sample string 4",
    "platforms": [
      "sample string 1",
      "sample string 2"
    ]
  },
  {
    "id": "sample string 1",
    "type": 2,
    "internalName": "sample string 3",
    "name": "sample string 4",
    "platforms": [
      "sample string 1",
      "sample string 2"
    ]
  }
]