/**
 * @name restSvcs
 * @type {angular.Module}
 * @description Module containing the REST services
 */
var restSvcs = angular.module('restSvcs',['ngResource']);

/**
 * @ngdoc service
 * @name restSvcs.Workshops
 * @description Provides CRUD operations for Workshop-functions provided by the API
 */
restSvcs.factory('Workshops',['$resource',function($resource){
    return $resource('/api/workshops/:id',{},{
        /**
         * @ngdoc funtion
         * @name restSvcs.Workshops#getAll
         * @description get a list of all currently available workshops.
         * @methodOf restSvcs.Workshops
         * @returns {httpPromise} resolve with fetched data, or fails with error description.
         */
        'getAll': {method: 'GET',params: {id: 'all'}, isArray: true},
        /**
         * @ngdoc funtion
         * @name restSvcs.Workshops#get
         * @description get a single workshops
         * @methodOf restSvcs.Workshops
         * @param {integer} id Workshop-ID
         */
        'get': {method: 'GET',params: {id: '@id'}, isArray: false},
        /**
         * @ngdoc funtion
         * @name restSvcs.Workshops#getParticipants
         * @description Get list of enrolled participants to a workshop
         * @methodOf restSvcs.Workshops
         * @param {integer} id Workshop-ID
         */
        'getParticipants': {method: 'GET',url:'/api/workshops/:id/participants',params: {id: '@id'},isArray: true}
    });
}]);
@@ -1433,16 +1433,1663 @@
 y: true%7D
+, %0A        /**%0A         * @ngdoc funtion%0A         * @name restSvcs.Workshops#enrollWorkshop%0A         * @description Action to enroll a Workshop%0A         * @methodOf restSvcs.Workshops%0A         * @param %7Binteger%7D id Workshop-ID%0A         */%0A        'post': %7Bmethod: 'POST',url:'/api/workshops/:id/enrolls',params: %7Bid: '@id'%7D,isArray: true%7D,%0A        /**%0A         * @ngdoc funtion%0A         * @name restSvcs.Workshops#unsubscribeWorkshop%0A         * @description Action to unsubscribe a Workshop%0A         * @methodOf restSvcs.Workshops%0A         * @param %7Binteger%7D id Workshop-ID%0A         * @param %7Bstring%7D token Unsubscribetoken%0A         */%0A        'getUnsubscribes': %7Bmethod: 'GET',url:'/api/workshops/:id/unsubscribes/:token',params: %7Bid: '@id', token: '@token'%7D,isArray: true%7D,%0A        /**%0A         * @ngdoc funtion%0A         * @name restSvcs.Workshops#unsubscribeWorkshop%0A         * @description Get Waitinglist of a Workshop%0A         * @methodOf restSvcs.Workshops%0A         * @param %7Binteger%7D id Workshop-ID%0A         */%0A        'getWaitinglist': %7Bmethod: 'GET',url:'/api/workshops/:id/waitinglist',params: %7Bid: '@id'%7D,isArray: true%7D,/**%0A         * @ngdoc funtion%0A         * @name restSvcs.Workshops#unsubscribeWorkshop%0A         * @description Confirm Enrollment of the WOrkshop%0A         * @methodOf restSvcs.Workshops%0A         * @param %7Binteger%7D id Workshop-ID, participantsid Participants-ID%0A         * @param %7Bstring%7D token Confirmtoken%0A         */%0A        'getConfirmEnrollment': %7Bmethod: 'GET',url:'/api/workshops/:id/enrolls/:participantsid/confirms/:token',params: %7Bid: '@id',participantsid: '@participantsid',token: '@token'%7D,isArray: true%7D,
 %0A    %7D);
@@ -3093,8 +3093,9 @@
 %7D);%0A%7D%5D);
+%0A

Update restService.js