Skip to main content
Version: Next

Retrieve the asset type information of each available asset type

GET 

https://demo.openremote.io/api/master/model/assetInfos

Retrieve the asset type information of each available asset type

Request

Query Parameters

    parentId string
    parentType string

Header Parameters

    Authorization string
    X-Forwarded-Proto string
    X-Forwarded-Host string

Responses

default response

Schema
  • Array [
  • assetDescriptor object
    descriptorType stringrequired

    Possible values: []

    namestring

    Possible values: Value must match regular expression ^\w+$

    iconstring
    colourstring
    dynamicboolean
    attributeDescriptors object[]
  • Array [
  • namestring
    type object
    namestring

    Possible values: Value must match regular expression ^\w+(\[\])?$

    constraints object[]
  • Array [
  • messagestring
    type stringrequired

    Possible values: []

  • ]
  • format object
    useGroupingboolean
    minimumIntegerDigitsint32
    minimumFractionDigitsint32
    maximumFractionDigitsint32
    minimumSignificantDigitsint32
    maximumSignificantDigitsint32
    asBooleanboolean
    asDateboolean
    asSliderboolean
    resolutionnumber
    dateStylestring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    timeStylestring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    dayPeriodstring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    hour12boolean
    iso8601boolean
    weekdaystring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    erastring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    yearstring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    monthstring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    weekstring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    daystring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    hourstring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    minutestring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    secondstring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    fractionalSecondDigitsint32
    timeZoneNamestring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    momentJsFormatstring
    asNumberboolean
    asOnOffboolean
    asPressedReleasedboolean
    asOpenClosedboolean
    asMomentaryboolean
    multilineboolean
    unitsstring[]
    arrayDimensionsint32
    metaUseOnlyboolean
    jsonTypestring
    constraints object[]
  • Array [
  • messagestring
    type stringrequired

    Possible values: []

  • ]
  • format object
    useGroupingboolean
    minimumIntegerDigitsint32
    minimumFractionDigitsint32
    maximumFractionDigitsint32
    minimumSignificantDigitsint32
    maximumSignificantDigitsint32
    asBooleanboolean
    asDateboolean
    asSliderboolean
    resolutionnumber
    dateStylestring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    timeStylestring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    dayPeriodstring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    hour12boolean
    iso8601boolean
    weekdaystring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    erastring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    yearstring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    monthstring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    weekstring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    daystring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    hourstring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    minutestring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    secondstring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    fractionalSecondDigitsint32
    timeZoneNamestring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    momentJsFormatstring
    asNumberboolean
    asOnOffboolean
    asPressedReleasedboolean
    asOpenClosedboolean
    asMomentaryboolean
    multilineboolean
    unitsstring[]
    meta object
    delegate object
    property name* MetaItemObject
    type object
    namestring

    Possible values: Value must match regular expression ^\w+(\[\])?$

    constraints object[]
  • Array [
  • messagestring
    type stringrequired

    Possible values: []

  • ]
  • format object
    useGroupingboolean
    minimumIntegerDigitsint32
    minimumFractionDigitsint32
    maximumFractionDigitsint32
    minimumSignificantDigitsint32
    maximumSignificantDigitsint32
    asBooleanboolean
    asDateboolean
    asSliderboolean
    resolutionnumber
    dateStylestring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    timeStylestring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    dayPeriodstring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    hour12boolean
    iso8601boolean
    weekdaystring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    erastring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    yearstring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    monthstring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    weekstring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    daystring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    hourstring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    minutestring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    secondstring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    fractionalSecondDigitsint32
    timeZoneNamestring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    momentJsFormatstring
    asNumberboolean
    asOnOffboolean
    asPressedReleasedboolean
    asOpenClosedboolean
    asMomentaryboolean
    multilineboolean
    unitsstring[]
    arrayDimensionsint32
    metaUseOnlyboolean
    jsonTypestring
    namestringrequired

    Possible values: Value must match regular expression ^\w+$

    property name* MetaItemObject
    type object
    namestring

    Possible values: Value must match regular expression ^\w+(\[\])?$

    constraints object[]
  • Array [
  • messagestring
    type stringrequired

    Possible values: []

  • ]
  • format object
    useGroupingboolean
    minimumIntegerDigitsint32
    minimumFractionDigitsint32
    maximumFractionDigitsint32
    minimumSignificantDigitsint32
    maximumSignificantDigitsint32
    asBooleanboolean
    asDateboolean
    asSliderboolean
    resolutionnumber
    dateStylestring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    timeStylestring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    dayPeriodstring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    hour12boolean
    iso8601boolean
    weekdaystring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    erastring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    yearstring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    monthstring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    weekstring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    daystring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    hourstring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    minutestring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    secondstring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    fractionalSecondDigitsint32
    timeZoneNamestring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    momentJsFormatstring
    asNumberboolean
    asOnOffboolean
    asPressedReleasedboolean
    asOpenClosedboolean
    asMomentaryboolean
    multilineboolean
    unitsstring[]
    arrayDimensionsint32
    metaUseOnlyboolean
    jsonTypestring
    namestringrequired

    Possible values: Value must match regular expression ^\w+$

    optionalboolean
  • ]
  • metaItemDescriptors object[]
  • Array [
  • namestring
    type object
    namestring

    Possible values: Value must match regular expression ^\w+(\[\])?$

    constraints object[]
  • Array [
  • messagestring
    type stringrequired

    Possible values: []

  • ]
  • format object
    useGroupingboolean
    minimumIntegerDigitsint32
    minimumFractionDigitsint32
    maximumFractionDigitsint32
    minimumSignificantDigitsint32
    maximumSignificantDigitsint32
    asBooleanboolean
    asDateboolean
    asSliderboolean
    resolutionnumber
    dateStylestring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    timeStylestring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    dayPeriodstring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    hour12boolean
    iso8601boolean
    weekdaystring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    erastring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    yearstring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    monthstring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    weekstring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    daystring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    hourstring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    minutestring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    secondstring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    fractionalSecondDigitsint32
    timeZoneNamestring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    momentJsFormatstring
    asNumberboolean
    asOnOffboolean
    asPressedReleasedboolean
    asOpenClosedboolean
    asMomentaryboolean
    multilineboolean
    unitsstring[]
    arrayDimensionsint32
    metaUseOnlyboolean
    jsonTypestring
    constraints object[]
  • Array [
  • messagestring
    type stringrequired

    Possible values: []

  • ]
  • format object
    useGroupingboolean
    minimumIntegerDigitsint32
    minimumFractionDigitsint32
    maximumFractionDigitsint32
    minimumSignificantDigitsint32
    maximumSignificantDigitsint32
    asBooleanboolean
    asDateboolean
    asSliderboolean
    resolutionnumber
    dateStylestring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    timeStylestring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    dayPeriodstring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    hour12boolean
    iso8601boolean
    weekdaystring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    erastring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    yearstring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    monthstring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    weekstring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    daystring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    hourstring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    minutestring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    secondstring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    fractionalSecondDigitsint32
    timeZoneNamestring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    momentJsFormatstring
    asNumberboolean
    asOnOffboolean
    asPressedReleasedboolean
    asOpenClosedboolean
    asMomentaryboolean
    multilineboolean
    unitsstring[]
  • ]
  • valueDescriptors object[]
  • Array [
  • namestring

    Possible values: Value must match regular expression ^\w+(\[\])?$

    constraints object[]
  • Array [
  • messagestring
    type stringrequired

    Possible values: []

  • ]
  • format object
    useGroupingboolean
    minimumIntegerDigitsint32
    minimumFractionDigitsint32
    maximumFractionDigitsint32
    minimumSignificantDigitsint32
    maximumSignificantDigitsint32
    asBooleanboolean
    asDateboolean
    asSliderboolean
    resolutionnumber
    dateStylestring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    timeStylestring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    dayPeriodstring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    hour12boolean
    iso8601boolean
    weekdaystring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    erastring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    yearstring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    monthstring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    weekstring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    daystring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    hourstring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    minutestring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    secondstring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    fractionalSecondDigitsint32
    timeZoneNamestring

    Possible values: [numeric, 2-digit, full, long, medium, short, narrow]

    momentJsFormatstring
    asNumberboolean
    asOnOffboolean
    asPressedReleasedboolean
    asOpenClosedboolean
    asMomentaryboolean
    multilineboolean
    unitsstring[]
    arrayDimensionsint32
    metaUseOnlyboolean
    jsonTypestring
  • ]
  • ]

Authorization: oauth2

name: openidtype: oauth2flows: {
  "clientCredentials": {
    "tokenUrl": "/auth/realms/master/protocol/openid-connect/token",
    "refreshUrl": "/auth/realms/master/protocol/openid-connect/token",
    "scopes": {
      "profile": "profile"
    }
  },
  "authorizationCode": {
    "authorizationUrl": "/auth/realms/master/protocol/openid-connect/auth",
    "tokenUrl": "/auth/realms/master/protocol/openid-connect/token",
    "refreshUrl": "/auth/realms/master/protocol/openid-connect/token",
    "scopes": {
      "profile": "profile"
    }
  }
}
curl -L 'https://demo.openremote.io/api/master/model/assetInfos' \
-H 'Authorization: Bearer <token>'
Request Collapse all
Base URL
https://demo.openremote.io/api/master
Auth
Parameters
— query
— query
— header
— header
— header
ResponseClear

Click the Send API Request button above and see the response here!