Details
-
Bug
-
Resolution: Fixed
-
Medium
-
5.3, 2014.07, 5.4-dev
-
None
Description
Description of contentTypeId param is incorrect.
There should be content type id (in form of rest url) instead of content type name.
ContentCreateStruct.js
/** * Returns a structure used to create a new Content object. See * {{#crossLink "ContentService/createContent"}}ContentService.createContent{{/crossLink}} * * @class ContentCreateStruct * @constructor * @param contentTypeId {String} Content Type for new Content object (e.g. "blog") * @param locationCreateStruct {LocationCreateStruct} create structure for a Location object, where the new Content object will be situated * @param languageCode {String} The language code (e.g. "eng-GB") */