I'm quite new to Umbraco and ASP. net, but I have to create an Umbraco API for a project which will Create, Read, Update and Delete news articles with title, datetime, text and images.
so far I've figured out that I need to use the UmbracoApiController extension, ContentService and Media service.
I'm just very lost about how to set up the controller to actually have these different methods. One method would be creating a new article, another would be getting the list of all articles with the option to edit and delete each one.
CRUD Api
I'm quite new to Umbraco and ASP. net, but I have to create an Umbraco API for a project which will Create, Read, Update and Delete news articles with title, datetime, text and images.
so far I've figured out that I need to use the UmbracoApiController extension, ContentService and Media service.
I'm just very lost about how to set up the controller to actually have these different methods. One method would be creating a new article, another would be getting the list of all articles with the option to edit and delete each one.
Appreciate any help.
Hi Mortkey
Have a look at "Umbraco REST API" project - https://github.com/umbraco/UmbracoRestApi
It's a good point for the start.
Thanks,
Alex
is working on a reply...