diff --git a/docs/api/rest_api/rest_api_reference/input/ez-calendar.raml b/docs/api/rest_api/rest_api_reference/input/ez-calendar.raml index 449ae87b73..1e990bb0d4 100644 --- a/docs/api/rest_api/rest_api_reference/input/ez-calendar.raml +++ b/docs/api/rest_api/rest_api_reference/input/ez-calendar.raml @@ -81,7 +81,6 @@ displayName: Calendar description: A calendar action that e.g. reschedules or unschedules calendar events. The event type should always be copied from an event. headers: Content-Type: - description: example: | application/vnd.ibexa.api.calendar.future_publication.UnscheduleAction+json body: diff --git a/docs/api/rest_api/rest_api_reference/input/ez-corporate.raml b/docs/api/rest_api/rest_api_reference/input/ez-corporate.raml index c5cd0af1f6..0bc2bec903 100644 --- a/docs/api/rest_api/rest_api_reference/input/ez-corporate.raml +++ b/docs/api/rest_api/rest_api_reference/input/ez-corporate.raml @@ -73,7 +73,6 @@ get: post: displayName: Create a company - description: headers: Accept: description: If set, the new company is returned in XML or JSON format. diff --git a/docs/api/rest_api/rest_api_reference/input/ez-types.raml b/docs/api/rest_api/rest_api_reference/input/ez-types.raml index 97059475e7..0e347b3179 100644 --- a/docs/api/rest_api/rest_api_reference/input/ez-types.raml +++ b/docs/api/rest_api/rest_api_reference/input/ez-types.raml @@ -559,10 +559,10 @@ ContentTypeUpdateStruct: type: datetime names: description: 'If set this array of names with languageCode keys replace the complete name collection.' - type: array + type: Value[] descriptions: description: 'If set this array of descriptions with languageCode keys replace the complete description collection.' - type: array + type: Value[] ContentUpdateStruct: description: 'This class is used for updating the fields of a Content item draft.' @@ -615,6 +615,7 @@ CreateStruct: data: description: 'Notification data.' type: array + items: mixed Criterion: description: 'Criterion implementations.' type: object @@ -625,6 +626,7 @@ Criterion: value: description: 'The value(s) matched by the Criteria.' type: array + items: mixed target: description: 'The target used by the Criteria (field, metadata...).' type: string @@ -813,10 +815,10 @@ FieldDefinitionCreateStruct: type: string names: description: 'An array of names with languageCode keys.' - type: array + type: Value[] descriptions: description: 'An array of descriptions with languageCode keys.' - type: array + type: Value[] fieldGroup: description: 'Field group name.' type: string @@ -853,10 +855,10 @@ FieldDefinitionUpdateStruct: type: string names: description: 'If set this array of names with languageCode keys replace the complete name collection.' - type: array + type: Value[] descriptions: description: 'If set this array of descriptions with languageCode keys replace the complete description collection.' - type: array + type: Value[] fieldGroup: description: 'If set the field group is changed to this name.' type: string @@ -905,9 +907,6 @@ Language: description: 'This class represents a language in the Repository.' type: BaseObject properties: - ALL: - description: "Constant for use in API's to specify that you want to load all languages." - type: array id: description: 'The language ID (auto generated).' type: integer @@ -1073,6 +1072,7 @@ Message: values: description: 'Translation value objects. May not contain any numbers, which might result in requiring plural forms. Use Plural for that.' type: array + items: mixed Notification: description: 'This class represents a notification value.' type: object @@ -1095,6 +1095,7 @@ Notification: data: description: 'This class represents data.' type: array + items: mixed NotificationList: description: 'This class represents a notifications list.' type: object @@ -1291,6 +1292,7 @@ Plural: values: description: 'Translation value objects. May not contain any numbers, which might result in requiring plural forms. Use MessagePlural for that.' type: array + items: mixed Policy: description: 'This class represents a policy value.' type: BaseObject @@ -1720,7 +1722,7 @@ UrlAlias: type: any path: description: 'The full path of the alias.' - type: + type: string languageCodes: description: 'The languageCodes for which this path is valid.' type: string[] @@ -2046,6 +2048,7 @@ ValueObject: Properties: description: 'Function where list of properties are returned.' type: array + items: mixed Version: description: 'Returns the VersionInfo for this version.' type: BaseObject @@ -2175,9 +2178,9 @@ ContentTypeCreate: defaultAlwaysAvailable: type: boolean names: - type: array + type: Value[] descriptions: - type: array + type: Value[] FieldDefinition: type: FieldDefinition creatorId: @@ -2212,9 +2215,9 @@ ContentTypeUpdate: defaultAlwaysAvailable: type: boolean names: - type: array + type: Value[] descriptions: - type: array + type: Value[] modifierId: description: 'If set, this value overrides the current user as creator.' type: any @@ -2475,9 +2478,9 @@ CatalogCreate: Criteria: type: Criterion names: - type: array + type: object descriptions: - type: array + type: object status: type: string creator_id: @@ -2494,9 +2497,9 @@ CatalogUpdate: Criteria: type: Criterion names: - type: array + type: object descriptions: - type: array + type: object CatalogCopy: description: 'This class is used to copy a catalog.' @@ -2610,11 +2613,9 @@ AttributeGroupCreate: identifier: type: string names: - type: array + type: string[] position: type: integer - languages: - type: array AttributeGroupUpdate: description: 'This class is used to update an attribute group.' @@ -2623,11 +2624,9 @@ AttributeGroupUpdate: identifier: type: string names: - type: array + type: object position: type: integer - languages: - type: array AttributeGroupList: description: 'This class represents an attribute group list.' @@ -2669,7 +2668,7 @@ Attribute: position: type: integer options: - type: array + type: object AttributeCreate: description: 'This class is used to create an attribute.' @@ -2682,13 +2681,14 @@ AttributeCreate: group: type: string names: - type: array + type: object descriptions: - type: array + type: object positions: type: integer options: type: array + items: mixed AttributeUpdate: description: 'This class is used to update an attribute.' @@ -2697,13 +2697,14 @@ AttributeUpdate: identifier: type: string names: - type: array + type: object descriptions: - type: array + type: object positions: type: integer options: type: array + items: mixed AttributeList: description: 'This class represents an attribute list.' @@ -2780,9 +2781,9 @@ CustomerGroupCreate: identifier: type: string names: - type: array + type: object descriptions: - type: array + type: object global_price_rate: description: 'numeric-string' type: string @@ -2792,13 +2793,11 @@ CustomerGroupUpdate: type: object properties: names: - type: array + type: object identifier: type: string position: type: integer - languages: - type: array CustomerGroupViewInput: description: 'This class represents a customer group view input.' @@ -2940,14 +2939,14 @@ ProductListGet: limit: type: integer languages: - type: array + type: string[] ProductGet: description: 'This class represents a product GET.' type: object properties: languages: - type: array + type: string[] ProductCreate: description: 'This class is used to create a product.' @@ -2959,9 +2958,10 @@ ProductCreate: type: string attributes: type: array + items: object ProductUpdate: - description: 'This class is used to create a product.' + description: 'This class is used to update a product.' type: object properties: ContentUpdate: @@ -2970,6 +2970,7 @@ ProductUpdate: type: string attributes: type: array + items: object ProductViewInput: description: 'This class represents a product view input.' @@ -3000,7 +3001,7 @@ ProductVariant: Product: type: Product DiscriminatorAttributesList: - type: array + type: Attribute[] ProductVariantCreate: description: 'This class is used to create a product variant.' @@ -3011,6 +3012,7 @@ ProductVariantCreate: attributes: description: 'array' type: array + items: mixed ProductVariantGenerate: description: 'This class is used to generate a product variant.' @@ -3019,6 +3021,7 @@ ProductVariantGenerate: attributes: description: 'array' type: array + items: mixed ProductVariantUpdate: description: 'This class is used to update a product variant.' @@ -3029,6 +3032,7 @@ ProductVariantUpdate: attributes: description: 'array' type: array + items: mixed ProductVariantViewInput: description: 'This class represents a product variant view input.' @@ -3087,6 +3091,7 @@ TaxonomyEntry: type: string names: type: array + items: mixed Parent: type: TaxonomyEntry Content: @@ -3139,6 +3144,7 @@ TaxonomyEntryUpdateStruct: type: string names: type: array + items: mixed languageCode: type: string mainLanguageCode: @@ -3326,7 +3332,7 @@ Order: OrderItemsList: type: OrderItem[] context: - type: array + type: object OrderUser: description: 'This class represents order user.' @@ -3412,7 +3418,7 @@ OrderItem: quantity: type: integer context: - type: array + type: object OrderItemValue: description: 'This class represents order item value.' @@ -3650,6 +3656,7 @@ PaymentMethodUpdateStruct: type: boolean options: type: array + items: mixed PaymentMethodView: type: object diff --git a/docs/api/rest_api/rest_api_reference/rest_api_reference.html b/docs/api/rest_api/rest_api_reference/rest_api_reference.html index 8d5d9301ed..fcbaa5dd63 100644 --- a/docs/api/rest_api/rest_api_reference/rest_api_reference.html +++ b/docs/api/rest_api/rest_api_reference/rest_api_reference.html @@ -110220,7 +110220,7 @@
Types
ProductUpdate - This class is used to create a product. + This class is used to update a product. @@ -119986,7 +119986,7 @@
Types
* -([] +(Value[] ) - @@ -119999,7 +119999,7 @@
Types
* -([] +(Value[] ) - @@ -120257,7 +120257,7 @@
Types
* -([] +(mixed[] ) - @@ -120310,7 +120310,7 @@
Types
* -([] +(mixed[] ) - @@ -121257,7 +121257,7 @@
Types
* -([] +(Value[] ) - @@ -121270,7 +121270,7 @@
Types
* -([] +(Value[] ) - @@ -121431,7 +121431,7 @@
Types
* -([] +(Value[] ) - @@ -121444,7 +121444,7 @@
Types
* -([] +(Value[] ) - @@ -121681,19 +121681,6 @@
Types
  • - ALL - - * - -([] - ) - - - - Constant for use in API's to specify that you want to load all languages. - - -
  • -
  • id * @@ -122532,7 +122519,7 @@
    Types
    * -([] +(mixed[] ) - @@ -122633,7 +122620,7 @@
    Types
    * -([] +(mixed[] ) - @@ -123634,7 +123621,7 @@
    Types
    * -([] +(mixed[] ) - @@ -126003,7 +125990,7 @@
    Types
    * -() +(string) - The full path of the alias. @@ -127679,7 +127666,7 @@
    Types
    * -([] +(mixed[] ) - @@ -128409,7 +128396,7 @@
    Types
    * -([] +(Value[] ) - @@ -128422,7 +128409,7 @@
    Types
    * -([] +(Value[] ) - @@ -128611,7 +128598,7 @@
    Types
    * -([] +(Value[] ) - @@ -128624,7 +128611,7 @@
    Types
    * -([] +(Value[] ) - @@ -130233,26 +130220,32 @@
    Types
    * -([] - ) +(object) - +
    +
      +
    +
  • descriptions * -([] - ) +(object) - +
    +
      +
    +
  • status @@ -130351,26 +130344,32 @@
    Types
    * -([] - ) +(object) - +
    +
      +
    +
  • descriptions * -([] - ) +(object) - +
    +
      +
    +
@@ -131033,7 +131032,7 @@
Types
* -([] +(string[] ) - @@ -131052,19 +131051,6 @@
Types
- -
  • - languages - - * - -([] - ) - - - - - -
  • @@ -131111,13 +131097,16 @@
    Types
    * -([] - ) +(object) - +
    +
      +
    +
  • position @@ -131130,19 +131119,6 @@
    Types
    -
  • -
  • - languages - - * - -([] - ) - - - - - -
  • @@ -131402,13 +131378,16 @@
    Types
    * -([] - ) +(object) - +
    +
      +
    +
    @@ -131479,26 +131458,32 @@
    Types
    * -([] - ) +(object) - +
    +
      +
    +
  • descriptions * -([] - ) +(object) - +
    +
      +
    +
  • positions @@ -131517,7 +131502,7 @@
    Types
    * -([] +(mixed[] ) - @@ -131570,26 +131555,32 @@
    Types
    * -([] - ) +(object) - +
    +
      +
    +
  • descriptions * -([] - ) +(object) - +
    +
      +
    +
  • positions @@ -131608,7 +131599,7 @@
    Types
    * -([] +(mixed[] ) - @@ -132065,26 +132056,32 @@
    Types
    * -([] - ) +(object) - +
    +
      +
    +
  • descriptions * -([] - ) +(object) - +
    +
      +
    +
  • global_price_rate @@ -132131,13 +132128,16 @@
    Types
    * -([] - ) +(object) - +
    +
      +
    +
  • identifier @@ -132162,19 +132162,6 @@
    Types
    -
  • -
  • - languages - - * - -([] - ) - - - - - -
  • @@ -133035,7 +133022,7 @@
    Types
    * -([] +(string[] ) - @@ -133076,7 +133063,7 @@
    Types
    * -([] +(string[] ) - @@ -133145,7 +133132,7 @@
    Types
    * -([] +(object[] ) - @@ -133176,7 +133163,7 @@
    Types
    (object) - - This class is used to create a product. + This class is used to update a product.
    @@ -133214,7 +133201,7 @@
    Types
    * -([] +(object[] ) - @@ -133411,7 +133398,7 @@
    Types
    * -([] +(Attribute[] ) - @@ -133464,7 +133451,7 @@
    Types
    * -([] +(mixed[] ) - @@ -133505,7 +133492,7 @@
    Types
    * -([] +(mixed[] ) - @@ -133558,7 +133545,7 @@
    Types
    * -([] +(mixed[] ) - @@ -133920,7 +133907,7 @@
    Types
    * -([] +(mixed[] ) - @@ -134226,7 +134213,7 @@
    Types
    * -([] +(mixed[] ) - @@ -135388,13 +135375,16 @@
    Types
    * -([] - ) +(object) - +
    +
      +
    +
    @@ -135915,13 +135905,16 @@
    Types
    * -([] - ) +(object) - +
    +
      +
    +
    @@ -137183,7 +137176,7 @@
    Types
    * -([] +(mixed[] ) -