{ "sections": [ "title", "description", "supported_soap_calls", "supported_rest_api_http_methods", "fields", "wsdl_segment" ], "title": "MetadataPackageVersion - Tooling API", "description": "Represents a package version (managed or unmanaged) that has been uploaded from the org you’re logged in to. Available in Tooling API version 38.0 and later.", "supported_soap_calls": "`describeSObjects()`, `query()`, `retrieve()`", "supported_rest_api_http_methods": "`GET`", "fields_columns": [ "type", "properties", "description" ], "fields": { "BuildNumber": { "type": "int", "properties": "Filter, Group, Nillable, Sort", "description": "The build number of the version. For example, if you upload two beta versions, they have build numbers 1 and 2. Then, when you upload a released build of the same version, the build number is 3. When you upload a new version, the build number resets to 1." }, "IsDeprecated": { "type": "boolean", "properties": "Defaulted on create, Filter, Group, Sort", "description": "Indicates whether the package version is deprecated. Available in API version 46.0 and later." }, "MajorVersion": { "type": "int", "properties": "Filter, Group, Nillable, Sort", "description": "The first number in a package version number. A version number either has an x.y format or an x.y.z format. The x represents the major version, y the minor version, and z the patch version." }, "MetadataPackageId": { "type": "reference", "properties": "Filter, Group, Nillable, Sort", "description": "The 18-character package ID, which starts with 033." }, "MinorVersion": { "type": "int", "properties": "Filter, Group, Nillable, Sort", "description": "The second number in a package version number. A version number either has an x.y format or an x.y.z format. The x represents the major version, y the minor version, and z the patch version." }, "Name": { "type": "string", "properties": "Filter, Group, idLookup, Sort", "description": "The name of the package version." }, "PatchVersion": { "type": "int", "properties": "Filter, Group, Nillable, Sort", "description": "The third number in a package version number, if present. A version number either has an x.y format or an x.y.z format. The x represents the major version, y the minor version, and z the patch version." }, "ReleaseState": { "type": "picklist", "properties": "Filter, Group, Nillable, Restricted picklist, Sort", "description": "If the package version is a beta version, the value is Beta. Otherwise, the value is Released." } }, "wsdl_segment": "```xml\n\n \n \n \n \n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n```" }