The Device APIs for One Platform can be found here in the following links. I apologize as I think some of the legacy One Platform / Portals links are getting buried. It’s good for us to review this.
http://docs.exosite.com/portals/http/ - One Platform HTTP API
http://docs.exosite.com/portals/rpc/ - One Platform RPC API
This page (http://docs.exosite.com/portals) has links to the One Platform documentation, but when you go to any other link, it removes the proper side nav, we’ll have to change that.
Both have ways to send data to multiple individual resources (temperature, humidity, etc) and both have ways to send ‘recorded’ data with timestamps.
If you are sending your own formatted string and parsing, you could just add timestamps to this and update your lua script, but that is getting to be a lot of work when the API allows for timestamps.
Just fyi - recorded data is not processed through datarules (events) the same way as regularly sent data is. If you need to run rules / notifications, you may need to do this in the lua scripting.