Open philipashlock opened 11 years ago
Comment handling with Accela Open311 is documented at https://github.com/Accela-Inc/accela-open311#get-comments-for-a-service-request
bump
@philipashlock Perhaps we could revisit support for comments on one of the next monthly calls?
For reading existing info, we've always include comments in the status_notes field. Currently they're strings with string timestamps, but we're about to adopt an extension to clean that up for GET /requests.FMT and GET /requests/NNN.FMT and present each comment as a unquie object in the response.
We have a UI use case that would benefit from status_notes being structured data (so the UI could highlight new comments on requests of interest to the user).
If the querystring argument "x_structured_notes" is passed with a value of "true", then we will fill <text>
(textual content of the note), <created_utc>
and <updated_utc>
(integer number of seconds after the Unix Epoch UTC), and <updated_string>
(textual display of updated_utc). created_utc and updated_utc are proposed as simple, machine-friendly integers to reduce processing cost on the client side. Example:
`
`
Comments or other updates are crucial to enable collaboration around around issue reporting without generating duplicate reports. This could potentially be merged with #51 (ticket history) much like Trac handles comments and revisions in the same way.
This has been discussed on the following thread: http://lists.open311.org/groups/discuss/messages/topic/2L05gDVaunVQpQzcqdLDpT