<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Topics tagged with api]]></title><description><![CDATA[A list of topics that have been tagged with api]]></description><link>https://forum.mango-os.com/tags/api</link><generator>RSS for Node</generator><lastBuildDate>Thu, 21 May 2026 07:46:36 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/tags/api.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 01 Oct 2018 14:28:41 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Bookend point-values for time range]]></title><description><![CDATA[Hi dstoryQuest, welcome to the forum!
Have you checked the bookend option on the existing /rest/v2/point-values endpoints? Most include a "bookend" boolean request parameter that will add one, possibly two data values to the data returned which are,

Bookend start value - the value the point had at the start millisecond of the period. If there was a sample exactly at that time it is a real value, otherwise it is marked as a bookend and presented as having the same timestamp as the requested period start time.
Bookend end value - the last value in the period or the start value, presented with the period end timestamp. Because all Mango time queries have an inclusive start time but an exclusive end time, the value presented as the closing bookend is always flagged as a bookend value (as opposed to being a real value at that time, since even if there were one it would be excluded by the end time being exclusive)

So that's slightly different than what you're requesting since the timestamps match the times for the period requested, but I suspect that is nicer behavior for a user requesting a specific time period. There is not a way through the API to query for one additional value on either side of a period, but there is support for that in the NoSQL database (which is what we're using, just possibly fibbing on the timestamps), so it would be easy to add. We chose what we did to not affect the time period covered in the result.
]]></description><link>https://forum.mango-os.com/topic/3807/bookend-point-values-for-time-range</link><guid isPermaLink="true">https://forum.mango-os.com/topic/3807/bookend-point-values-for-time-range</guid><dc:creator><![CDATA[phildunlap]]></dc:creator><pubDate>Mon, 01 Oct 2018 14:28:41 GMT</pubDate></item><item><title><![CDATA[Mango REST API -- event detectors]]></title><description><![CDATA[You're both absolutely right, maybe I wasn't refreshing the page to see the newly created events, I can now... Thanks so much for all of your help! :)
]]></description><link>https://forum.mango-os.com/topic/3081/mango-rest-api-event-detectors</link><guid isPermaLink="true">https://forum.mango-os.com/topic/3081/mango-rest-api-event-detectors</guid><dc:creator><![CDATA[silvia]]></dc:creator><pubDate>Tue, 14 Nov 2017 15:03:32 GMT</pubDate></item><item><title><![CDATA[Continue the topic RESTful API for CRUD data point]]></title><description><![CDATA[Thank you very much for your responses. I am new to the Mango system and still trying to get my ways around it, Really appreciate this forum and all the helps you all provided!
]]></description><link>https://forum.mango-os.com/topic/3072/continue-the-topic-restful-api-for-crud-data-point</link><guid isPermaLink="true">https://forum.mango-os.com/topic/3072/continue-the-topic-restful-api-for-crud-data-point</guid><dc:creator><![CDATA[jyc9999]]></dc:creator><pubDate>Fri, 10 Nov 2017 19:36:02 GMT</pubDate></item><item><title><![CDATA[Mango REST API -- how to create Data Sources &#x2F; Data Points?]]></title><description><![CDATA[Wonderful!!!
It works perfectly :D
Thanks @phildunlap
]]></description><link>https://forum.mango-os.com/topic/3060/mango-rest-api-how-to-create-data-sources-data-points</link><guid isPermaLink="true">https://forum.mango-os.com/topic/3060/mango-rest-api-how-to-create-data-sources-data-points</guid><dc:creator><![CDATA[silvia]]></dc:creator><pubDate>Tue, 07 Nov 2017 15:53:48 GMT</pubDate></item></channel></rss>