PageSourceSearch

https://docs.openremote.io/assets/js/e067e2d7.1d648c96.js

js openremote.io collected 2026-10-02 04:24:20 UTC 12,164 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkopenremote_docs=self.webpackChunkopenremote_docs||[]).push([["110852"],{889221(t,e,i){i.r(e),i.d(e,{metadata:()=>r,default:()=>S,frontMatter:()=>y,contentTitle:()=>f,toc:()=>h,assets:()=>b});var r=JSON.parse('{"id":"rest-api/write-attribute-events","title":"Update attribute values with timestamps","description":"Update attribute values with timestamps","source":"@site/versioned_docs/version-1.26.0/rest-api/write-attribute-events.api.mdx","sourceDirName":"rest-api","slug":"/rest-api/write-attribute-events","permalink":"/docs/1.26.0/rest-api/write-attribute-events","draft":false,"unlisted":false,"editUrl":null,"tags":[],"version":"1.26.0","frontMatter":{"id":"write-attribute-events","title":"Update attribute values with timestamps","description":"Update attribute values with timestamps","sidebar_label":"Update attribute values with timestamps","hide_title":true,"hide_table_of_contents":true,"api":"eJztWeFz4rYS/1cYTT+0UwMOd7278uU9QsgdbQIUzLXvCC+j2AuoJ0s+ST6OMvzvb1a2sU1MckmPmfeh+ZCEXe1qtVrt/nbZEkOXmrRnpKM1GDJ3iIxAUcOk6AekTdaKGegYo9hdbKD3GYTRxCERVTQEAwplt0TQEEibdGKzkor9ZcWJQ5ggbbICGoAiDtH+CkJK2ltiNhEu10YxsSS7nbPX8Ef9Uqo1VQEE9ZGSRv5tLe+kNk9QMneIgk8xaHMugw2u8KUwIAz+S6OIM9+ervmnlgJp91RRpegGdzQQ6gJd3v0JPpoSKXSxYWC5NPPtxFADj69XsEj+fIqZggCvzp567jwiyAL8HVFjQKEz/jtz6z936h9o/a/5ttXafUecA284JADtKxbZ62wTbwU1imFSYwEIwxbMOhO+0DDiKPf63Ly5fuH/0Ru9On83Wr1RL19f/GdBdk56MVsSMnEFYmlWpH3mFI25uVn/+JUWZA6rWaXF/blMLgeDgRhmLHEfvGOwpnymPK7wc6VIcic75x+vn8rrKBGCNjSMClwmDC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/Vsxs7E6oFt/BbF5kTfBJJtqyBfkrpLFZtTAtcbm2S3zOQJiuAvsGKE/erPwIYmrP0USJpjVLNxNTmhFOCH3Jm4n+ui+FAN80rRixUxsFevV8BdqXUXKCSMkFs3ed/WcTb3Hg2ZWBDf8S8el741J8sf/XR7eBjbl3nA9Le1nCmFVNNdMEi1FwLKFl+ayQcPLB0S6fwj1fR2na5JZmScXcmI6QjIphPzTK+fmsKKcVRkTVMyE3e8CzTGhemujkqgqDnJxYmN+Qltt6WXdf11s/e2c/tX86a7feNNzXZx9IPuMQBzpLA5dZYU6SLzko8PPiSKM0tEi8Uj2mcI8OIdyjIwb3oQGC+9B4wC01/4ldWbuffcoa/Owu85beLb
1XwBcxa6LoL1EKjXKBmvW2ift/NJh/3/WtBwLachc9Jl1ggpI1dgZL0YmVT7hlR1pE2KQVS1lcUSMdaAfcQ6JesK2PzYthmkDxzfQrCs4/3YPd+XQFoZ7QCtE7jLQfTSMhxcuk9HeJg9wDlJrpyXFv63oeJhbRFJy3qaNfYFsvaNRV0Car2zvNGtc6oX4GgmK4xXTMrqAXSj631yKstpLLUB7Q1arWRdUpNA9jFs5KO+ff7Ii59XS7iP9gNQqmghvY3UqRMfftwIaSMW8y/kP8uyWFa5MwHBNd5wui8HV3VXjRc4hygh/V63ViKuCHVspmK6SZdRrz+ouE2QDRWJuQ21YLSiUuQ4dpJt9QmTMZz6TZfj4FKXt6jBwNfTDPilNnsbi3d7tOrzZ8YkHuERIppf47vRRtcud3eUQ1TxXc7JH+KAeNtNs+hkIU0Tva9IWbOgGlkBKS9oFzDPQv3bQrJc2rZ3I+wOfJFZ1qmCMGvMk+xUfpdaGmfZFU30Va3zyJfca/TyiU6vg+ReXDtvIBhR1OPOOQu/U41tFCJKLpGqELXySmkPVwCP5G2JZyKZZwUqkQl/vwPz69r+Q==","sidebar_class_name":"put api-method","info_path":"docs/rest-api/openremote-manager-http-api","custom_edit_url":null},"sidebar":"docsSidebar","previous":{"title":"Update the parent of assets","permalink":"/docs/1.26.0/rest-api/update-asset-parent"},"next":{"title":"Write to a single attribute","permalink":"/docs/1.26.0/rest-api/write-attribute-value"}}'),a=i(474848),n=i(28453),s=i(673094),p=i.n(s),m=i(915866),o=i.n(m),u=i(818192),d=i.n(u),l=i(711258),g=i.n(l);i(463795),i(729694);var c=i(272072);let y={id:"write-attribute-events",title:"Update attribute values with timestamps",description:"Update attribute values with timestamps",sidebar_label:"Update attribute values with timestamps",hide_title:!0,hide_table_of_contents:!0,api:"eJztWeFz4rYS/1cYTT+0UwMOd7278uU9QsgdbQIUzLXvCC+j2AuoJ0s+ST6OMvzvb1a2sU1MckmPmfeh+ZCEXe1qtVrt/nbZEkOXmrRnpKM1GDJ3iIxAUcOk6AekTdaKGegYo9hdbKD3GYTRxCERVTQEAwplt0TQEEibdGKzkor9ZcWJQ5ggbbICGoAiDtH+CkJK2ltiNhEu10YxsSS7nbPX8Ef9Uqo1VQEE9ZGSRv5tLe+kNk9QMneIgk8xaHMugw2u8KUwIAz+S6OIM9+ervmnlgJp91RRpegGdzQQ6gJd3v0JPpoSKXSxYWC5NPPtxFADj69XsEj+fIqZggCvzp567jwiyAL8HVFjQKEz/jtz6z936h9o/a/5ttXafUecA284JADtKxbZ62wTbwU1imFSYwEIwxbMOhO+0DDiKPf63Ly5fuH/0Ru9On83Wr1RL19f/GdBdk56MVsSMnEFYmlWpH3mFI25uVn/+JUWZA6rWaXF/blMLgeDgRhmLHEfvGOwpnymPK7wc6VIcic75x+vn8rrKBGCNjSMClwmDCztMRdShdQkpFcvcX0IWtMl9C8qni9azsFAUODdScmBiuQWKQ8rxSKqQJh+UMmUPHh/1PyM6T3xGBHF63g0a+TZjdggGKRXes9Iy/UstYLrK6AGgqG4zy0YF1ADdbwPey9lXUfiOwuxg6D6/uZmdnMz/+Ff96MLrZFCG0UZ1pIHXFB8bXbNo68tjY1KF5hq32DMMIz2kAlqpLKHSZRuEmcnEoXYtvfd3Z/B6sh8+Ji/Yg1vlYwj3LsyRkMmW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qgqDnJxYmN+Qltt6WXdf11s/e2c/tX86a7feNNzXZx9IPuMQBzpLA5dZYU6SLzko8PPiSKM0tEi8Uj2mcI8OIdyjIwb3oQGC+9B4wC01/4ldWbuffcoa/Owu85beLb
1XwBcxa6LoL1EKjXKBmvW2ift/NJh/3/WtBwLachc9Jl1ggpI1dgZL0YmVT7hlR1pE2KQVS1lcUSMdaAfcQ6JesK2PzYthmkDxzfQrCs4/3YPd+XQFoZ7QCtE7jLQfTSMhxcuk9HeJg9wDlJrpyXFv63oeJhbRFJy3qaNfYFsvaNRV0Car2zvNGtc6oX4GgmK4xXTMrqAXSj631yKstpLLUB7Q1arWRdUpNA9jFs5KO+ff7Ii59XS7iP9gNQqmghvY3UqRMfftwIaSMW8y/kP8uyWFa5MwHBNd5wui8HV3VXjRc4hygh/V63ViKuCHVspmK6SZdRrz+ouE2QDRWJuQ21YLSiUuQ4dpJt9QmTMZz6TZfj4FKXt6jBwNfTDPilNnsbi3d7tOrzZ8YkHuERIppf47vRRtcud3eUQ1TxXc7JH+KAeNtNs+hkIU0Tva9IWbOgGlkBKS9oFzDPQv3bQrJc2rZ3I+wOfJFZ1qmCMGvMk+xUfpdaGmfZFU30Va3zyJfca/TyiU6vg+ReXDtvIBhR1OPOOQu/U41tFCJKLpGqELXySmkPVwCP5G2JZyKZZwUqkQl/vwPz69r+Q==",sidebar_class_name:"put api-method",info_path:"docs/rest-api/openremote-manager-http-api",custom_edit_url:null},f,b={},h=[];function w(t){let e={p:"p",...(0,n.R)(),...t.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(c.default,{as:"h1",className:"openapi__heading",children:"Update attribute values with timestamps"}),"\n",(0,a.jsx)(p(),{method:"put",path:"/asset/attributes/timestamp",context:"endpoint"}),"\n",(0,a.jsx)(e.p,{children:"Update attribute values with timestamps"}),"\n",(0,a.jsx)(c.default,{id:"request",as:"h2",className:"openapi-tabs__heading",children:"Request"}),"\n",(0,a.jsx)(o(),{parameters:[{name:"Authorization",in:"header",schema:{type:"string"}},{name:"X-Forwarded-Proto",in:"header",schema:{type:"string"}},{name:"X-Forwarded-Host",in:"header",schema:{type:"string"}}]}),"\n",(0,a.jsx)(d(),{title:"Body",body:{content:{"application/json":{schema:{type:"array",items:{type:"object",properties:{attributeState:{type:"object",properties:{ref:{required:["name"],type:"object",properties:{id:{pattern:"^[0-9A-Za-z]{22}$",type:"string",description:"The asset identifier",example:"7Bt8M3cXEP6BHPh8r47DYf"},name:{minLength:1,pattern:"^\\w+$",type:"string",description:"The attribute name",example:"location"}},title:"AttributeRef"},value:{type:"object"}},title:"AttributeState"},ref:{required:["name"],type:"object",properties:{id:{pattern:"^[0-9A-Za-z]{22}$",type:"string",description:"The asset identifier",example:"7Bt8M3cXEP6BHPh8r47DYf"},name:{minLength:1,pattern:"^\\w+$",type:"string",description:"The attribute name",example:"location"}},title:"AttributeRef"},value:{type:"object"},timestamp:{type:"integer",format:"int64"},messageID:{type:"string"},deleted:{type:"boolean"},realm:{type:"string"},parentId:{type:"string"},oldValue:{type:"object"},oldValueTimestamp:{type:"integer",format:"int64"},path:{type:"array",items:{type:"string"}},assetName:{type:"string"},assetType:{type:"string"},createdOn:{type:"string",format:"date-time"},type:{type:"object",properties:{name:{pattern:"^\\w+(\\[\\])?$",type:"string"},constraints:{type:"array",items:{required:["type"],type:"object",properties:{message:{type:"string"},type:{type:"string"}},discriminator:{propertyName:"type"},title:"ValueConstraint"}},format:{type:"object",properties:{useGrouping:{type:"boolean"},minimumIntegerDigits:{type:"integer",format:"int32"},minimumFractionDigits:{type:"integer",format:"int32"},maximumFractionDigits:{type:"integer",format:"int32"},minimumSignificantDigits:{type:"integer",format:"int32"},maximumSignificantDigits:{type:"integer",format:"int32"},asBoolean:{type:"boolean"},asDate:{type:"boolean"},asSlider:{type:"boolean"},resolution:{type:"number"},dateStyle:{type:"string",enum:["numeric","2-digit","full","long","medium","short","narrow"]},timeStyle:{type:"string",enum:["numeric","2-digit","full","long","medium","short","narrow"]},dayPeriod:{type:"string",enum:["numeric","2-digit","full","long","medium","short","narrow"]},hour12:{type:"boolean"},iso8601:{type:"boolean"},weekday:{type:"string",enum:["numeric","2-digit","full","long","medium","short","narrow"]},era:{type:"string",enum:["numeric","2-digit","full","long","medium","short","narrow"]},year:{type:"string",enum:["numeric","2-digit","full","long","medium","short","narrow"]},month:{type:"string",enum:["numeric","2-digit","full","long","medium","short","narrow"]},week:{type:"string",enum:["numeric","2-digit","full","long","medium","short","narrow"]},day:{type:"string",enum:["numeric","2-digit","full","long","medium","short","narrow"]},hour:{type:"string",enum:["numeric","2-digit","full","long","medium","short","narrow"]},minute:{type:"string",enum:["numeric","2-digit","full","long","medium","short","narrow"]},second:{type:"string",enum:["numeric","2-digit","full","long","medium","short","narrow"]},fractionalSecondDigits:{type:"integer",format:"int32"},timeZoneName:{type:"string",enum:["numeric","2-digit","full","long","medium","short","narrow"]},momentJsFormat:{type:"string"},asNumber:{type:"boolean"},asOnOff:{type:"boolean"},asPressedReleased:{type:"boolean"},asOpenClosed:{type:"boolean"},asMomentary:{type:"boolean"},multiline:{type:"boolean"}},title:"ValueFormat"},units:{type:"array",items:{type:"string"}},arrayDimensions:{type:"integer",format:"int32"},metaUseOnly:{type:"boolean"},jsonType:{type:"string"}},title:"ValueDescriptor"}},title:"AttributeEvent"}}}}}}),"\n",(0,a.jsx)(g(),{id:void 0,label:void 0,responses:{200:{description:"default response",content:{"application/json":{schema:{type:"array",items:{type:"object",properties:{ref:{required:["name"],type:"object",properties:{id:{pattern:"^[0-9A-Za-z]{22}$",type:"string",description:"The asset identifier",example:"7Bt8M3cXEP6BHPh8r47DYf"},name:{minLength:1,pattern:"^\\w+$",type:"string",description:"The attribute name",example:"location"}},title:"AttributeRef"},failure:{type:"string",enum:["ASSET_NOT_FOUND","ATTRIBUTE_NOT_FOUND","INSUFFICIENT_ACCESS","INVALID_VALUE","INTERCEPTOR_FAILURE","STATE_STORAGE_FAILED","CANNOT_PROCESS","QUEUE_FULL","UNKNOWN","ASSET_ID_MISSING","ATTRIBUTE_NAME_MISSING"]}},title:"AttributeWriteResult"}}}}}}})]})}function S(t={}){let{wrapper:e}={...(0,n.R)(),...t.components};return e?(0,a.jsx)(e,{...t,children:(0,a.jsx)(w,{...t})}):w(t)}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.