Patch #13468

News creation over REST

Added by C. X. over 6 years ago. Updated about 1 month ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:REST API
Target version:4.1.0

Description

Some small changes for supporting news creation over REST.

news.patch Magnifier (1.32 KB) C. X., 2013-03-13 18:52

news-creating-via-api.patch Magnifier (7.1 KB) Takenori TAKAKI, 2019-03-29 07:33

0002-news-getting-via-api.patch Magnifier (4.71 KB) Takenori TAKAKI, 2019-04-04 17:07

0001-news-creating-via-api.patch Magnifier (7.48 KB) Takenori TAKAKI, 2019-04-04 17:07

0003-news-deleting-via-api.patch Magnifier (2.08 KB) Takenori TAKAKI, 2019-04-04 17:07

0004-news-updating-via-api.patch Magnifier (5.65 KB) Takenori TAKAKI, 2019-04-04 17:07


Related issues

Related to Redmine - Feature #26653: REST API - Add full CRUD support for News Closed

History

#1 Updated by Mischa The Evil over 6 years ago

  • Category set to REST API

#2 Updated by Go MAEDA almost 2 years ago

  • Related to Feature #26653: REST API - Add full CRUD support for News added

#3 Updated by Jesse Hopkins over 1 year ago

+1

#4 Updated by Guillaume Masclet over 1 year ago

Hi, is this patch planned to be merged in an upcoming release ?
This would be great as I have to make a few dozen announcements each month on some of the projects I manage with Redmine. This is really tedious without automation.

#5 Updated by Takenori TAKAKI 5 months ago

I made a patch with small changes and tests to the C. X.'s patch.
I'm looking forward to using this feature in future Redmine.

#6 Updated by Go MAEDA 5 months ago

  • Target version set to Candidate for next major release

#7 Updated by Go MAEDA 5 months ago

It looks a bit awkward to me to implement POST only without implementing GET, PUT, and DELETE. I think that GET should be implemented at least.

With the current patch implemented, users can create news but they don't have the means to retrieve the news using an id.

#8 Updated by Takenori TAKAKI 4 months ago

Go MAEDA wrote:

It looks a bit awkward to me to implement POST only without implementing GET, PUT, and DELETE. I think that GET should be implemented at least.

Certainly, that is more beautiful as an API design.
I made a patch so that POST, GET, DELETE and PUT functions can be added gradually.

#9 Updated by Go MAEDA 4 months ago

  • Target version changed from Candidate for next major release to 4.1.0

#10 Updated by Go MAEDA 4 months ago

  • Target version deleted (4.1.0)

#11 Updated by Go MAEDA about 1 month ago

  • Target version set to 4.1.0

Also available in: Atom PDF