Vote #71325
完了Updating journal notes via REST API
0%
説明
Currently viewing journals via REST API is possible (with include=journals), but there is no way to update them.
Note that journal notes are edtiable in main ui.
journals
Is there any plan to fix this issue?
--------------------------------------------------------------------------------
It seems that we not only can't edit notes via REST API.
See http://www.redmine.org/boards/1/topics/16513?r=29807
We also can't ADD notes to issue through REST API.
Please write here if something changed.
--------------------------------------------------------------------------------
I would like to enjoy to this feature. Will it be possible in the future ? I found also similar issue "Journals in REST API":http://www.redmine.org/issues/8630
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Without this feature, there is no way to clean spam from Redmine websites in an automated way. This is a serious problem for our usage of Remdine.
--------------------------------------------------------------------------------
This patch adds a PUT update API for journal.
This API has the following functions similar to those available from the page:
* Of the journal values, you can only update notes.
* When the notes of the journal that does not have the associated journal_details are changed to empty, the journal record is deleted.
Example:
<pre>
curl -X PUT -d '{"journal": { "notes": "new notes" }}' -H "Content-Type: application/json" http://localhost:3000/journals/1.json?key=<api key>
</pre>
--------------------------------------------------------------------------------
Committed the patch. Thank you for your contribution.
--------------------------------------------------------------------------------
related_issues
relates,New,8630,Journals in REST API
duplicates,Closed,27870,API for editing/deleting notes in an issue