Master Data Reference of GS2-Version

{
  "version": "2019-10-09",
  "versionModels": [
    {
      "name": "[string]Version Model Name",
      "metadata": "[string?]metadata",
      {
      },
      {
      },
      "scope": "[string]Type of version value used for judgment",
      {
      },
      "needSignature": "[bool]Whether the version value to be determined requires signature verification",
      "signatureKeyId": "[string]encryption key GRN"
    }
  ]
}
TypeRequireDefaultLimitationDescription
version2019-10-09Format version of master data
versionModelsList<VersionModel>

Version

TypeRequireDefaultLimitationDescription
majorint~ 2147483646Major version
minorint~ 2147483646Minor version
microint~ 2147483646Micro version

VersionModel

Version Model

You can set a warning version that accepts login but notifies you that you can upgrade, and an error version that does not accept login.

You can specify whether or not to have the client declare the current version with or without a signature. If you select signed, the client will not be able to declare a false version.

TypeRequireDefaultLimitationDescription
versionModelIdstring~ 1024 charsVersion Model GRN
namestring~ 128 charsVersion Model Name
metadatastring~ 2048 charsmetadata
warningVersionVersionVersion that prompts for version upgrade
errorVersionVersionVersion that kicks version check
scopeenum [‘passive’, ‘active’]~ 128 charsType of version value used for judgment
currentVersionVersion{scope} == “active”Current Version
needSignaturebool{scope} == “passive”Whether the version value to be determined requires signature verification
signatureKeyIdstring{needSignature} != none and {needSignature}~ 1024 charsencryption key GRN

Status

TypeRequireDefaultLimitationDescription
versionModelVersionModelVersion Model
currentVersionVersionCurrent Version

TargetVersion

TypeRequireDefaultLimitationDescription
versionNamestring~ 128 charsVersion Name
versionVersionVersion
bodystring~ 1048576 charsBody
signaturestring~ 256 charsSignature

SignTargetVersion

TypeRequireDefaultLimitationDescription
regionstring~ 128 charsRegion
namespaceNamestring~ 128 charsNamespace name
versionNamestring~ 128 charsVersion Model Name
versionVersionVersion