diff --git a/docs/api/rest_api_reference/input/examples/content/objects/POST/ContentCreate.xml.example b/docs/api/rest_api_reference/input/examples/content/objects/POST/ContentCreate.xml.example index 9079485ed6..73ddb91571 100644 --- a/docs/api/rest_api_reference/input/examples/content/objects/POST/ContentCreate.xml.example +++ b/docs/api/rest_api_reference/input/examples/content/objects/POST/ContentCreate.xml.example @@ -3,7 +3,7 @@ eng-GB - + 0 false PATH @@ -22,15 +22,15 @@ intro eng-GB -

draft draft

]]>
-
+

draft draft

]]>
+ body eng-GB -

draft draft draft

]]>
-
+

draft draft draft

]]>
+
- \ No newline at end of file + diff --git a/docs/api/rest_api_reference/input/ez-calendar.raml b/docs/api/rest_api_reference/input/ez-calendar.raml index d96647c96d..2ead969047 100644 --- a/docs/api/rest_api_reference/input/ez-calendar.raml +++ b/docs/api/rest_api_reference/input/ez-calendar.raml @@ -1,5 +1,5 @@ displayName: Calendar -/calendar/event: +/event: get: displayName: Calendar list description: Calendar event list. diff --git a/docs/api/rest_api_reference/input/ez-commerce.raml b/docs/api/rest_api_reference/input/ez-commerce.raml index ae52a2aafd..45a8a318c6 100644 --- a/docs/api/rest_api_reference/input/ez-commerce.raml +++ b/docs/api/rest_api_reference/input/ez-commerce.raml @@ -199,41 +199,40 @@ displayName: eCommerce API type: Basket example: !include examples/commerce/basket/Basket.json.example - /{basketId}: - /line: - post: - displayName: Add products to stored basket - description: Adds products to the stored basket. - body: - application/vnd.ez.api.BasketLineData+json: - type: BasketLineData - example: !include examples/commerce/basket/current/lines/POST/BasketLineData.json.example - responses: - 200: - body: - application/vnd.ez.api.Basket+json: - type: Basket - example: !include examples/commerce/basket/Basket.json.example - 400: - body: - application/vnd.ez.api.ValidationResponse+json: - type: ValidationResponse - example: !include examples/commerce/basket/current/lines/POST/ValidationResponse.json.example + /line: + post: + displayName: Add products to stored basket + description: Adds products to the stored basket. + body: + application/vnd.ez.api.BasketLineData+json: + type: BasketLineData + example: !include examples/commerce/basket/current/lines/POST/BasketLineData.json.example + responses: + 200: + body: + application/vnd.ez.api.Basket+json: + type: Basket + example: !include examples/commerce/basket/Basket.json.example + 400: + body: + application/vnd.ez.api.ValidationResponse+json: + type: ValidationResponse + example: !include examples/commerce/basket/current/lines/POST/ValidationResponse.json.example - /line/{lineId}: - delete: - displayName: Delete a line from a stored basket - responses: - 200: - body: - application/vnd.ez.api.Basket+json: - type: Basket - example: !include examples/commerce/basket/Basket.json.example - 400: - body: - application/vnd.ez.api.ValidationResponse+json: - type: ValidationResponse - example: !include examples/commerce/basket/_id_/line/_line_id_/DELETE/ValidationResponse.json.example + /line/{lineId}: + delete: + displayName: Delete a line from a stored basket + responses: + 200: + body: + application/vnd.ez.api.Basket+json: + type: Basket + example: !include examples/commerce/basket/Basket.json.example + 400: + body: + application/vnd.ez.api.ValidationResponse+json: + type: ValidationResponse + example: !include examples/commerce/basket/_id_/line/_line_id_/DELETE/ValidationResponse.json.example /{basketName}: post: diff --git a/docs/api/rest_api_reference/input/ez-content-assets.raml b/docs/api/rest_api_reference/input/ez-content-assets.raml index cc6247777e..5da71ec636 100644 --- a/docs/api/rest_api_reference/input/ez-content-assets.raml +++ b/docs/api/rest_api_reference/input/ez-content-assets.raml @@ -1,5 +1,5 @@ displayName: content/assets/images -/assets/images/{assetId}/{assetSource}: +/images/{assetId}/{assetSource}: get: displayName: Fetch image asset value description: Fetches the image asset value object. Depending on the provider, the asset metadata object can contain different parameters. diff --git a/docs/api/rest_api_reference/input/ez-content-location.raml b/docs/api/rest_api_reference/input/ez-content-location.raml index 0f0aee144a..817e8131fe 100644 --- a/docs/api/rest_api_reference/input/ez-content-location.raml +++ b/docs/api/rest_api_reference/input/ez-content-location.raml @@ -84,105 +84,104 @@ get: description: Error - the user is not authorized to delete this subtree. 404: description: Error - the Location with the given ID does not exist. - /children: - get: - displayName: Get child Locations. - description: Loads all child Locations for the given parent Location. - queryParameters: - offset: - description: The offset of the result set. - type: integer - limit: - description: The number of Locations returned. - type: integer - headers: - Accept: - description: If set, the new Location list is returned in XML or JSON format. - example: | - application/vnd.ez.api.LocationList+xml - application/vnd.ez.api.LocationList+json - responses: - 200: - body: - application/vnd.ez.api.LocationList+xml: - type: LocationList - example: !include examples/content/locations/path/children/GET/LocationList.xml.example - 401: - description: Error - the user is not authorized to read this Content item. - 404: - description: Error - the Content item with the given ID does not exist. - /urlaliases: - get: - displayName: List URL aliases for Location - description: Returns the list of URL aliases for a Location. - queryParameters: - custom: - description: Indicates whether autogenerated (false) or manual URL aliases (true) should be returned (default true). - type: boolean - headers: - Accept: - description: If set, the URL alias list contains only references and is returned in XML or JSON format. - example: | - application/vnd.ez.api.UrlAliasRefList+xml - application/vnd.ez.api.UrlAliasRefList+json - responses: - 200: - description: OK - returns the list of URL aliases. - body: - application/vnd.ez.api.UrlAliasRefList+xml: - type: UrlAliasRefList - exammple: examples/content/locations/path/urlaliases/GET/UrlAliasRefList.xml.example - 400: - description: Error - The user has no permission to read URL aliases. - 401: - description: Error - The Location was not found. - /{locationId}: - patch: - displayName: Update Location - description: Updates the Location. This method can also be used to hide/reveal a Location via the hidden field in the LocationUpdate. PATCH or POST with header X-HTTP-Method-Override PATCH. + patch: + displayName: Update Location + description: Updates the Location. This method can also be used to hide/reveal a Location via the hidden field in the LocationUpdate. PATCH or POST with header X-HTTP-Method-Override PATCH. + headers: + Accept: + description: If set, the Location is returned in XML or JSON format. + example: | + application/vnd.ez.api.Location+xml + application/vnd.ez.api.Location+json + Content-Type: + description: The LocationUpdate schema encoded in XML or JSON format. + example: | + application/vnd.ez.api.LocationUpdate+xml + application/vnd.ez.api.LocationUpdate+json + If-Match: + description: ETag + body: + application/vnd.ez.api.LocationUpdate+xml: + type: LocationUpdateStruct + example: !include examples/content/locations/location_id/PATCH/LocationUpdate.xml.example + application/vnd.ez.api.LocationUpdate+json: + type: LocationUpdateStruct + example: !include examples/content/locations/location_id/PATCH/LocationUpdate.json.example + responses: + 200: + body: + application/vnd.ez.api.Location+xml: + type: Location + example: !include examples/content/locations/location_id/PATCH/Location.xml.example + application/vnd.ez.api.Location+json: + type: Location + example: !include examples/content/locations/location_id/PATCH/Location.json.example + 401: + description: Error - the user is not authorized to update this Location. + 404: + description: Error - the Location with the given ID does not exist. + swap: + displayName: Swap Location + description: Swaps the Location of a Content item with the given Location of another Content item. SWAP or POST with header X-HTTP-Method-Override SWAP. + headers: + Destination: + description: A parent Location resource to which the Location is moved e.g. '/api/ezp/v2/content/locations/1/63'. + responses: + 204: + description: No Content. Swapped the Location of a Content item with the given Location of another Content item. + 401: + description: Error - the user is not authorized to swap this Location. + 404: + description: Error - the Location with the given ID does not exist. + /children: + get: + displayName: Get child Locations. + description: Loads all child Locations for the given parent Location. + queryParameters: + offset: + description: The offset of the result set. + type: integer + limit: + description: The number of Locations returned. + type: integer headers: Accept: - description: If set, the Location is returned in XML or JSON format. - example: | - application/vnd.ez.api.Location+xml - application/vnd.ez.api.Location+json - Content-Type: - description: The LocationUpdate schema encoded in XML or JSON format. + description: If set, the new Location list is returned in XML or JSON format. example: | - application/vnd.ez.api.LocationUpdate+xml - application/vnd.ez.api.LocationUpdate+json - If-Match: - description: ETag - body: - application/vnd.ez.api.LocationUpdate+xml: - type: LocationUpdateStruct - example: !include examples/content/locations/location_id/PATCH/LocationUpdate.xml.example - application/vnd.ez.api.LocationUpdate+json: - type: LocationUpdateStruct - example: !include examples/content/locations/location_id/PATCH/LocationUpdate.json.example + application/vnd.ez.api.LocationList+xml + application/vnd.ez.api.LocationList+json responses: 200: body: - application/vnd.ez.api.Location+xml: - type: Location - example: !include examples/content/locations/location_id/PATCH/Location.xml.example - application/vnd.ez.api.Location+json: - type: Location - example: !include examples/content/locations/location_id/PATCH/Location.json.example + application/vnd.ez.api.LocationList+xml: + type: LocationList + example: !include examples/content/locations/path/children/GET/LocationList.xml.example 401: - description: Error - the user is not authorized to update this Location. + description: Error - the user is not authorized to read this Content item. 404: - description: Error - the Location with the given ID does not exist. - swap: - displayName: Swap Location - description: Swaps the Location of a Content item with the given Location of another Content item. SWAP or POST with header X-HTTP-Method-Override SWAP. + description: Error - the Content item with the given ID does not exist. + /urlaliases: + get: + displayName: List URL aliases for Location + description: Returns the list of URL aliases for a Location. + queryParameters: + custom: + description: Indicates whether autogenerated (false) or manual URL aliases (true) should be returned (default true). + type: boolean headers: - Destination: - description: A parent Location resource to which the Location is moved e.g. '/api/ezp/v2/content/locations/1/63'. + Accept: + description: If set, the URL alias list contains only references and is returned in XML or JSON format. + example: | + application/vnd.ez.api.UrlAliasRefList+xml + application/vnd.ez.api.UrlAliasRefList+json responses: - 204: - description: No Content. Swapped the Location of a Content item with the given Location of another Content item. + 200: + description: OK - returns the list of URL aliases. + body: + application/vnd.ez.api.UrlAliasRefList+xml: + type: UrlAliasRefList + exammple: examples/content/locations/path/urlaliases/GET/UrlAliasRefList.xml.example + 400: + description: Error - The user has no permission to read URL aliases. 401: - description: Error - the user is not authorized to swap this Location. - 404: - description: Error - the Location with the given ID does not exist. + description: Error - The Location was not found. diff --git a/docs/api/rest_api_reference/input/ez-content-types.raml b/docs/api/rest_api_reference/input/ez-content-types.raml index 1d2eb0c3b9..77e74601d2 100644 --- a/docs/api/rest_api_reference/input/ez-content-types.raml +++ b/docs/api/rest_api_reference/input/ez-content-types.raml @@ -118,30 +118,31 @@ get: description: Error - There are object instances of this Content Type. 404: description: Error - The Content Type does not exist. - /{fieldDefinitionId}: - get: - displayName: Get Field definition - description: Returns the Field definition by the given ID. - headers: - Accept: - description: If set, the Field definition is returned in XML or JSON format. - example: | - application/vnd.ez.api.FieldDefinition+xml - application/vnd.ez.api.FieldDefinition+json - responses: - 200: - description: OK - returns the Field definition. - body: - application/vnd.ez.api.FieldDefinition+xml: - type: FieldDefinition - example: !include examples/content/types/content_type_id/field_definition_id/GET/FieldDefinition.xml.example - application/vnd.ez.api.FieldDefinition+json: - type: FieldDefinition - example: !include examples/content/types/content_type_id/field_definition_id/GET/FieldDefinition.json.example - 401: - description: Error - The user is not authorized to read the Content Type. - 404: - description: Error - The Content Type does not exist. + /fieldDefinitions: + /{fieldDefinitionId}: + get: + displayName: Get Field definition + description: Returns the Field definition by the given ID. + headers: + Accept: + description: If set, the Field definition is returned in XML or JSON format. + example: | + application/vnd.ez.api.FieldDefinition+xml + application/vnd.ez.api.FieldDefinition+json + responses: + 200: + description: OK - returns the Field definition. + body: + application/vnd.ez.api.FieldDefinition+xml: + type: FieldDefinition + example: !include examples/content/types/content_type_id/field_definition_id/GET/FieldDefinition.xml.example + application/vnd.ez.api.FieldDefinition+json: + type: FieldDefinition + example: !include examples/content/types/content_type_id/field_definition_id/GET/FieldDefinition.json.example + 401: + description: Error - The user is not authorized to read the Content Type. + 404: + description: Error - The Content Type does not exist. /draft: patch: displayName: Update Content Type draft diff --git a/docs/api/rest_api_reference/input/ez-content-views.raml b/docs/api/rest_api_reference/input/ez-content-views.raml index 3177c08aed..6b849a1134 100644 --- a/docs/api/rest_api_reference/input/ez-content-views.raml +++ b/docs/api/rest_api_reference/input/ez-content-views.raml @@ -21,55 +21,3 @@ post: description: Moved permanently. 400: description: Error - the input does not match the input schema definition. -get: - displayName: List Views - description: Returns a list of View URIs. The list includes a public View and a private View of the authenticated user. - DEPRECATED - headers: - Accept: - description: The view link list in XML or JSON format. - example: | - application/vnd.ez.api.RefList+xml - application/vnd.ez.api.RefList+json - responses: - 200: - description: OK - list of View URIs. -/{identifier}: - get: - displayName: Get View - description: Returns the View - DEPRECATED. - headers: - Accept: - description: The View results in XML or JSON format. - example: | - application/vnd.ez.api.View+xml - application/vnd.ez.api.View+json - responses: - 200: - description: OK - returns the View. - 401: - description: Error - the View is not public and from another user. - delete: - displayName: Delete View - description: The given View is deleted - DEPRECATED. - responses: - 204: - description: No content - the given View is deleted. - 401: - description: Error - the user is not authorized to delete this View. - 404: - description: Error - the View does not exist. - /results: - get: - displayName: Get results of existing View - description: Returns result of the View - DEPRECATED. - headers: - Accept: - description: The View excluding results in XML or JSON format. - example: | - application/vnd.ez.api.ViewResult+xml - application/vnd.ez.api.ViewResult+json - responses: - 200: - description: OK - result of the View. - 401: - description: Error - the View is not public and from another user. diff --git a/docs/api/rest_api_reference/input/ez-objectstategroups.raml b/docs/api/rest_api_reference/input/ez-objectstategroups.raml index 44afcf868c..e90e068dcb 100644 --- a/docs/api/rest_api_reference/input/ez-objectstategroups.raml +++ b/docs/api/rest_api_reference/input/ez-objectstategroups.raml @@ -136,141 +136,141 @@ post: description: Error - The user is not authorized to delete an Object state group. 404: description: Error - The Object state group does not exist. -/objectstates: - get: - displayName: List Object states - description: Returns a list of all Object states of the given group. - headers: - Accept: - description: If set, the Object state list is returned in XML or JSON format. - example: | - application/vnd.ez.api.ObjectStateList+xml - application/vnd.ez.api.ObjectStateList+json - If-None-Match: - description: ETag - responses: - 200: - description: OK - returns a list of Object states. - body: - application/vnd.ez.api.ObjectStateList+xml: - type: ObjectStateList - example: !include examples/content/objectstategroups/object_state_group_id/objectstates/GET/ObjectStateList.xml.example - application/vnd.ez.api.ObjectStateList+json: - type: ObjectStateList - example: !include examples/content/objectstategroups/object_state_group_id/objectstates/GET/ObjectStateList.json.example - 401: - description: Error - The user has no permission to read Object states. - post: - displayName: Create Object state - description: Creates a new Object state. - headers: - Accept: - description: If set, the new Object state is returned in XML or JSON format. - example: - application/vnd.ez.api.ObjectState+xml - application/vnd.ez.api.ObjectState+json - Content-Type: - description: The Object state input schema encoded in XML or JSON format. - example: | - application/vnd.ez.api.ObjectStateCreate+json - application/vnd.ez.api.ObjectStateCreate+xml - body: - application/vnd.ez.api.ObjectStateCreate+xml: - type: ObjectStateCreate - example: !include examples/content/objectstategroups/object_state_group_id/objectstates/POST/ObjectStateCreate.xml.example - application/vnd.ez.api.ObjectStateCreate+json: - type: ObjectStateCreate - example: !include examples/content/objectstategroups/object_state_group_id/objectstates/POST/ObjectStateCreate.json.example - responses: - 201: - description: Object state created. - body: - application/vnd.ez.api.ObjectState+xml: - type: ObjectState - example: !include examples/content/objectstategroups/object_state_group_id/objectstates/POST/ObjectState.xml.example - application/vnd.ez.api.ObjectState+json: - type: ObjectState - example: !include examples/content/objectstategroups/object_state_group_id/objectstates/POST/ObjectState.json.example - 400: - description: Error - The input does not match the input schema definition. - 401: - description: Error - The user is not authorized to create an Object state. - 403: - description: Error - An Object state with the same identifier already exists in the given group. - /{objectStateId}: + /objectstates: get: - displayName: Get Object state - description: Returns the Object state. + displayName: List Object states + description: Returns a list of all Object states of the given group. headers: Accept: - description: If set, the Object State is returned in XML or JSON format. + description: If set, the Object state list is returned in XML or JSON format. example: | - application/vnd.ez.api.ObjectState+xml - application/vnd.ez.api.ObjectState+json + application/vnd.ez.api.ObjectStateList+xml + application/vnd.ez.api.ObjectStateList+json If-None-Match: description: ETag responses: 200: - description: OK - returns the Object state. + description: OK - returns a list of Object states. body: - application/vnd.ez.api.ObjectState+xml: - type: ObjectState - example: !include examples/content/objectstategroups/object_state_group_id/objectstates/object_state_id/GET/ObjectState.xml.example - application/vnd.ez.api.ObjectState+json: - type: ObjectState - example: !include examples/content/objectstategroups/object_state_group_id/objectstates/object_state_id/GET/ObjectState.json.example + application/vnd.ez.api.ObjectStateList+xml: + type: ObjectStateList + example: !include examples/content/objectstategroups/object_state_group_id/objectstates/GET/ObjectStateList.xml.example + application/vnd.ez.api.ObjectStateList+json: + type: ObjectStateList + example: !include examples/content/objectstategroups/object_state_group_id/objectstates/GET/ObjectStateList.json.example 401: - description: Error - The user is not authorized to read this Object state. - 404: - description: Error - The Object state does not exist. - patch: - displayName: Update Object state - description: Updates an Object state. PATCH or POST with header X-HTTP-Method-Override PATCH. + description: Error - The user has no permission to read Object states. + post: + displayName: Create Object state + description: Creates a new Object state. headers: Accept: - description: If set, the updated Object state is returned in XML or JSON format. - example: | + description: If set, the new Object state is returned in XML or JSON format. + example: application/vnd.ez.api.ObjectState+xml application/vnd.ez.api.ObjectState+json Content-Type: description: The Object state input schema encoded in XML or JSON format. example: | - application/vnd.ez.api.ObjectStateUpdate+json - application/vnd.ez.api.ObjectStateUpdate+xml - If-Match: - description: ETag + application/vnd.ez.api.ObjectStateCreate+json + application/vnd.ez.api.ObjectStateCreate+xml body: - application/vnd.ez.api.ObjectStateUpdate+xml: - type: ObjectStateUpdate - example: !include examples/content/objectstategroups/object_state_group_id/objectstates/object_state_id/PATCH/ObjectStateUpdate.xml.example - application/vnd.ez.api.ObjectStateUpdate+json: - type: ObjectStateUpdate - example: !include examples/content/objectstategroups/object_state_group_id/objectstates/object_state_id/PATCH/ObjectStateUpdate.json.example + application/vnd.ez.api.ObjectStateCreate+xml: + type: ObjectStateCreate + example: !include examples/content/objectstategroups/object_state_group_id/objectstates/POST/ObjectStateCreate.xml.example + application/vnd.ez.api.ObjectStateCreate+json: + type: ObjectStateCreate + example: !include examples/content/objectstategroups/object_state_group_id/objectstates/POST/ObjectStateCreate.json.example responses: - 200: - description: OK - Object State updated + 201: + description: Object state created. body: application/vnd.ez.api.ObjectState+xml: type: ObjectState - example: !include examples/content/objectstategroups/object_state_group_id/objectstates/object_state_id/PATCH/ObjectState.xml.example + example: !include examples/content/objectstategroups/object_state_group_id/objectstates/POST/ObjectState.xml.example application/vnd.ez.api.ObjectState+json: type: ObjectState - example: !include examples/content/objectstategroups/object_state_group_id/objectstates/object_state_id/PATCH/ObjectState.json.example + example: !include examples/content/objectstategroups/object_state_group_id/objectstates/POST/ObjectState.json.example 400: description: Error - The input does not match the input schema definition. 401: - description: Error - The user is not authorized to update the Object state. + description: Error - The user is not authorized to create an Object state. 403: - description: Error - An Object state with the provided identifier already exists in this group. - 412: - description: Error - The current ETag does not match the one provided in the If-Match header. - delete: - displayName: Delete Object state - description: Deletes provided Object state. - responses: - 204: - description: No Content - Object state deleted. - 401: - description: Error - The user is not authorized to delete an Object state. - 404: - description: Error - The Object state does not exist. + description: Error - An Object state with the same identifier already exists in the given group. + /{objectStateId}: + get: + displayName: Get Object state + description: Returns the Object state. + headers: + Accept: + description: If set, the Object State is returned in XML or JSON format. + example: | + application/vnd.ez.api.ObjectState+xml + application/vnd.ez.api.ObjectState+json + If-None-Match: + description: ETag + responses: + 200: + description: OK - returns the Object state. + body: + application/vnd.ez.api.ObjectState+xml: + type: ObjectState + example: !include examples/content/objectstategroups/object_state_group_id/objectstates/object_state_id/GET/ObjectState.xml.example + application/vnd.ez.api.ObjectState+json: + type: ObjectState + example: !include examples/content/objectstategroups/object_state_group_id/objectstates/object_state_id/GET/ObjectState.json.example + 401: + description: Error - The user is not authorized to read this Object state. + 404: + description: Error - The Object state does not exist. + patch: + displayName: Update Object state + description: Updates an Object state. PATCH or POST with header X-HTTP-Method-Override PATCH. + headers: + Accept: + description: If set, the updated Object state is returned in XML or JSON format. + example: | + application/vnd.ez.api.ObjectState+xml + application/vnd.ez.api.ObjectState+json + Content-Type: + description: The Object state input schema encoded in XML or JSON format. + example: | + application/vnd.ez.api.ObjectStateUpdate+json + application/vnd.ez.api.ObjectStateUpdate+xml + If-Match: + description: ETag + body: + application/vnd.ez.api.ObjectStateUpdate+xml: + type: ObjectStateUpdate + example: !include examples/content/objectstategroups/object_state_group_id/objectstates/object_state_id/PATCH/ObjectStateUpdate.xml.example + application/vnd.ez.api.ObjectStateUpdate+json: + type: ObjectStateUpdate + example: !include examples/content/objectstategroups/object_state_group_id/objectstates/object_state_id/PATCH/ObjectStateUpdate.json.example + responses: + 200: + description: OK - Object State updated + body: + application/vnd.ez.api.ObjectState+xml: + type: ObjectState + example: !include examples/content/objectstategroups/object_state_group_id/objectstates/object_state_id/PATCH/ObjectState.xml.example + application/vnd.ez.api.ObjectState+json: + type: ObjectState + example: !include examples/content/objectstategroups/object_state_group_id/objectstates/object_state_id/PATCH/ObjectState.json.example + 400: + description: Error - The input does not match the input schema definition. + 401: + description: Error - The user is not authorized to update the Object state. + 403: + description: Error - An Object state with the provided identifier already exists in this group. + 412: + description: Error - The current ETag does not match the one provided in the If-Match header. + delete: + displayName: Delete Object state + description: Deletes provided Object state. + responses: + 204: + description: No Content - Object state deleted. + 401: + description: Error - The user is not authorized to delete an Object state. + 404: + description: Error - The Object state does not exist. diff --git a/docs/api/rest_api_reference/input/ez-user-groups.raml b/docs/api/rest_api_reference/input/ez-user-groups.raml index 6930034768..79a76ca65d 100644 --- a/docs/api/rest_api_reference/input/ez-user-groups.raml +++ b/docs/api/rest_api_reference/input/ez-user-groups.raml @@ -3,7 +3,7 @@ get: description: Loads User Groups for either an an ID or a remote ID or a Role. queryParameters: roleId: - description: Lists User Groups assigned to the given Role. + description: Lists User Groups assigned to the given Role (e.g. GET /user/groups?roleId=1). id: description: Retrieves the User Groups for the given ID. remoteID: diff --git a/docs/api/rest_api_reference/input/ez-user-users.raml b/docs/api/rest_api_reference/input/ez-user-users.raml index b5abddf256..3710fd5c0d 100644 --- a/docs/api/rest_api_reference/input/ez-user-users.raml +++ b/docs/api/rest_api_reference/input/ez-user-users.raml @@ -35,13 +35,13 @@ head: description: Verifies if there are Users matching given filter. queryParameters: roleId: - description: Lists Users assigned to the given Role (e.g. GET /user/users?roleId=/user/roles/1). + description: Checks if there are Users directly assigned to the given Role (e.g. HEAD /user/users?roleId=/user/roles/1). remoteId: - description: Retrieves the User for the given remote ID (e.g. GET /user/users?remoteId=55dd9713db75145f374bbd0b4f60ad29). + description: Checks if there is a User for the given remote ID (e.g. HEAD /user/users?remoteId=55dd9713db75145f374bbd0b4f60ad29). login: - description: Retrieves the User for the given login (e.g. GET /user/users?login=editor). + description: Checks if there is a User for the given login (e.g. HEAD /user/users?login=editor). email: - description: Lists Users with the given email (e.g. GET /user/users?email=editor@example.com). + description: Checks if there is a User with the given email (e.g. HEAD /user/users?email=editor@example.com). responses: 200: description: OK - verifies if there are Users matching the given filter. @@ -90,13 +90,13 @@ head: If-Match: description: Performs a PATCH only if the specified ETag is the current one. example: ETag - body: - application/vnd.ez.api.UserUpdate+xml: - type: UserUpdate - example: !include examples/user/users/user_id/PATCH/UserUpdate.xml.example - application/vnd.ez.api.UserUpdate+json: - type: UserUpdate - example: !include examples/user/users/user_id/PATCH/UserUpdate.json.example + body: + application/vnd.ez.api.UserUpdate+xml: + type: UserUpdate + example: !include examples/user/users/user_id/PATCH/UserUpdate.xml.example + application/vnd.ez.api.UserUpdate+json: + type: UserUpdate + example: !include examples/user/users/user_id/PATCH/UserUpdate.json.example responses: 200: description: OK - User updated. diff --git a/docs/api/rest_api_reference/rest_api_reference.html b/docs/api/rest_api_reference/rest_api_reference.html index 7e900db5f5..49c0d2f727 100644 --- a/docs/api/rest_api_reference/rest_api_reference.html +++ b/docs/api/rest_api_reference/rest_api_reference.html @@ -227,11 +227,11 @@
Types
file_copy

-
+                            
                                 <?xml version="1.0" encoding="UTF-8"?>
 <Root media-type="application/vnd.ez.api.Root+xml">
     <content media-type="" href="/api/ezp/v2/content/objects"/>
@@ -243,7 +243,7 @@ 
Types
<users media-type="application/vnd.ez.api.UserRefList+xml" href="/api/ezp/v2/user/users"/> <roles media-type="application/vnd.ez.api.RoleList+xml" href="/api/ezp/v2/user/roles"/> <rootLocation media-type="application/vnd.ez.api.Location+xml" href="/api/ezp/v2/content/locations/1/2"/> - <rootUserGroup medi
+ <rootUserGroup media-type="app
View more @@ -255,11 +255,11 @@
Types
file_copy

-
+                            
                                 {
     "Root": {
         "_media-type": "application/vnd.ez.api.Root+json",
@@ -287,7 +287,8 @@ 
Types
"_href": "/api/ezp/v2/content/types", "_media-type": "application/vnd.ez.api.ContentTypeInfoList+json" }, - "createSes
+ "createSession": { + "_href
View more @@ -355,11 +356,11 @@
Types
file_copy

-
+                                            
                                                 <?xml version="1.0" encoding="UTF-8"?>
 <Root media-type="application/vnd.ez.api.Root+xml">
     <content media-type="" href="/api/ezp/v2/content/objects"/>
@@ -397,11 +398,11 @@ 
Types
file_copy

-
+                                            
                                                 {
     "Root": {
         "_media-type": "application/vnd.ez.api.Root+json",
@@ -743,11 +744,11 @@ 
Types
file_copy

-
+                            
                                 <?xml version="1.0" encoding="UTF-8"?>
 <BookmarkList media-type="application/vnd.ez.api.BookmarkList+xml">
     <count>3</count>
@@ -764,7 +765,7 @@ 
Types
<childCount>0</childCount> <remoteId>aa538e305aea472eb221ce23d1cc4b50</remoteId> <Children media-type="application/vnd.ez.api.LocationList+xml" href="/api/ezp/v2/content/locations/1/2/57/65/children"/> - <Con
+ <Content media-type=
View more @@ -776,11 +777,11 @@
Types
file_copy

-
+                            
                                 {
     "BookmarkList": {
         "_media-type": "application/vnd.ez.api.BookmarkList+json",
@@ -804,7 +805,7 @@ 
Types
"pathString": "/1/2/57/65/", "depth": 3, "childCount": 0, -
+ "remoteId": "a
View more @@ -872,11 +873,11 @@
Types
file_copy

-
+                                            
                                                 <?xml version="1.0" encoding="UTF-8"?>
 <BookmarkList media-type="application/vnd.ez.api.BookmarkList+xml">
     <count>3</count>
@@ -1009,11 +1010,11 @@ 
Types
file_copy

-
+                                            
                                                 {
     "BookmarkList": {
         "_media-type": "application/vnd.ez.api.BookmarkList+json",
@@ -1780,17 +1781,17 @@ 
Types
file_copy

-
+                            
                                 <?xml version="1.0" encoding="UTF-8"?>
 <ContentCreate xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <ContentType href="/api/ezp/v2/content/types/2"/>
   <mainLanguageCode>eng-GB</mainLanguageCode>
   <LocationCreate>
-    <ParentLocation href="/api/ezp/v2/content/locations/1/2" />
+    <ParentLocation href="/api/ezp/v2/content/locations/1/2"/>
     <priority>0</priority>
     <hidden>false</hidden>
     <sortField>PATH</sortField>
@@ -1809,7 +1810,7 @@ 
Types
<fieldDefinitionIdentifier>intro</fieldDefinitionIdentifier> <languageCode>eng-GB</languageCode> <fieldValue> - <value key="xml"><![CDATA[<section xmlns="http://ez.no/namespaces/ezpublish5/xhtml5/edit"><p>draft
+ <value key="xml"><![CDATA[<section xmlns="http://ez.no/namespaces/ezpublish5/xhtml5/edit"><p>draft draft</p></section>]
View more @@ -1821,11 +1822,11 @@
Types
file_copy

-
+                            
                                 {
   "ContentCreate": {
     "ContentType": {
@@ -1859,7 +1860,9 @@ 
Types
"fieldTypeIdentifier": "ezrichtext", "fieldValue": { - "xml": "<section xmlns=\"http://ez.no/namespaces/ezpublish5/xhtml5/edit\"><p>draft draft</p></
+ "xml": "<section xmlns=\"http://ez.no/namespaces/ezpublish5/xhtml5/edit\"><p>draft draft</p></section>" + } + }
View more @@ -1924,17 +1927,17 @@
Types
file_copy

-
+                                            
                                                 <?xml version="1.0" encoding="UTF-8"?>
 <ContentCreate xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <ContentType href="/api/ezp/v2/content/types/2"/>
   <mainLanguageCode>eng-GB</mainLanguageCode>
   <LocationCreate>
-    <ParentLocation href="/api/ezp/v2/content/locations/1/2" />
+    <ParentLocation href="/api/ezp/v2/content/locations/1/2"/>
     <priority>0</priority>
     <hidden>false</hidden>
     <sortField>PATH</sortField>
@@ -1953,18 +1956,19 @@ 
Types
<fieldDefinitionIdentifier>intro</fieldDefinitionIdentifier> <languageCode>eng-GB</languageCode> <fieldValue> - <value key="xml"><![CDATA[<section xmlns="http://ez.no/namespaces/ezpublish5/xhtml5/edit"><p>draft draft</p></section>]]></value> - </fieldValue> + <value key="xml"><![CDATA[<section xmlns="http://ez.no/namespaces/ezpublish5/xhtml5/edit"><p>draft draft</p></section>]]></value> + </fieldValue> </field> <field> <fieldDefinitionIdentifier>body</fieldDefinitionIdentifier> <languageCode>eng-GB</languageCode> <fieldValue> - <value key="xml"><![CDATA[<section xmlns="http://ez.no/namespaces/ezpublish5/xhtml5/edit"><p>draft draft draft </p></section>]]></value> - </fieldValue> + <value key="xml"><![CDATA[<section xmlns="http://ez.no/namespaces/ezpublish5/xhtml5/edit"><p>draft draft draft </p></section>]]></value> + </fieldValue> </field> </fields> -</ContentCreate>
+</ContentCreate> +
@@ -1976,11 +1980,11 @@
Types
file_copy

-
+                                            
                                                 {
   "ContentCreate": {
     "ContentType": {
@@ -2081,11 +2085,11 @@ 
Types
file_copy

-
+                            
                                 <?xml version="1.0" encoding="UTF-8"?>
 <Content media-type="application/vnd.ez.api.Content+xml" href="/api/ezp/v2/content/objects/83" remoteId="a9c8f00b1dba880df7a5ed3e93fad421" id="83">
     <ContentType media-type="application/vnd.ez.api.ContentType+xml" href="/api/ezp/v2/content/types/2"/>
@@ -2098,7 +2102,8 @@ 
Types
<versionNo>1</versionNo> <status>DRAFT</status> <modificationDate>2019-02-19T15:55:37+01:00</modificationDate> - <Creator media-type="application/vnd.ez.api.User+xml" href="/api/ezp/v2/user/users
+ <Creator media-type="application/vnd.ez.api.User+xml" href="/api/ezp/v2/user/users/14"/> +
View more @@ -2107,11 +2112,11 @@
Types
file_copy

-
+                            
                                 <?xml version="1.0" encoding="UTF-8"?>
 <Version media-type="application/vnd.ez.api.Version+xml" href="/api/ezp/v2/content/objects/67/versions/5">
     <VersionInfo>
@@ -2132,7 +2137,7 @@ 
Types
</Language> <Language> <languageCode>ger-DE</languageCode> -
+ </Languag
View more @@ -2144,11 +2149,11 @@
Types
file_copy

-
+                            
                                 {
     "Content": {
         "_media-type": "application/vnd.ez.api.Content+json",
@@ -2172,7 +2177,8 @@ 
Types
"_media-type": "application/vnd.ez.api.Version+json", "_href": "/api/ezp/v2/content/objects/57/versions/1", "VersionInfo": { -
+ "id": 517, +
View more @@ -2240,11 +2246,11 @@
Types
file_copy

-
+                                            
                                                 <?xml version="1.0" encoding="UTF-8"?>
 <Content media-type="application/vnd.ez.api.Content+xml" href="/api/ezp/v2/content/objects/83" remoteId="a9c8f00b1dba880df7a5ed3e93fad421" id="83">
     <ContentType media-type="application/vnd.ez.api.ContentType+xml" href="/api/ezp/v2/content/types/2"/>
@@ -2357,11 +2363,11 @@ 
Types
file_copy

-
+                                            
                                                 <?xml version="1.0" encoding="UTF-8"?>
 <Version media-type="application/vnd.ez.api.Version+xml" href="/api/ezp/v2/content/objects/67/versions/5">
     <VersionInfo>
@@ -3583,11 +3589,11 @@ 
Types
file_copy

-
+                                            
                                                 <?xml version="1.0" encoding="UTF-8"?>
 <Content media-type="application/vnd.ez.api.Content+xml" href="/api/ezp/v2/content/objects/83" remoteId="a9c8f00b1dba880df7a5ed3e93fad421" id="83">
     <ContentType media-type="application/vnd.ez.api.ContentType+xml" href="/api/ezp/v2/content/types/2"/>
@@ -3700,11 +3706,11 @@ 
Types
file_copy

-
+                                            
                                                 <?xml version="1.0" encoding="UTF-8"?>
 <Version media-type="application/vnd.ez.api.Version+xml" href="/api/ezp/v2/content/objects/67/versions/5">
     <VersionInfo>
@@ -4930,11 +4936,11 @@ 
Types
file_copy

-
+                                            
                                                 {
     "Content": {
         "_media-type": "application/vnd.ez.api.Content+json",
@@ -5480,11 +5486,11 @@ 
Types
file_copy

-
+                            
                                 <?xml version="1.0" encoding="UTF-8"?>
 <Content media-type="application/vnd.ez.api.Content+xml" href="/api/ezp/v2/content/objects/54" remoteId="9e863fbb0fb835ce050032b4f00de61d" id="54">
     <ContentType media-type="application/vnd.ez.api.ContentType+xml" href="/api/ezp/v2/content/types/1"/>
@@ -5498,7 +5504,7 @@ 
Types
<versionNo>1</versionNo> <status>PUBLISHED</status> <modificationDate>2018-09-17T06:48:13+00:00</modificationDate> - <Creator media-type="application/vnd.ez.ap
+ <Creator media-type="application/vnd.ez.api.User+xml" h
View more @@ -5510,11 +5516,11 @@
Types
file_copy

-
+                            
                                 {
     "Content": {
         "_media-type": "application/vnd.ez.api.Content+json",
@@ -5538,7 +5544,8 @@ 
Types
"_media-type": "application/vnd.ez.api.Version+json", "_href": "/api/ezp/v2/content/objects/54/versions/1", "VersionInfo": { - "id"
+ "id": 514, +
View more @@ -5606,11 +5613,11 @@
Types
file_copy

-
+                                            
                                                 <?xml version="1.0" encoding="UTF-8"?>
 <Content media-type="application/vnd.ez.api.Content+xml" href="/api/ezp/v2/content/objects/54" remoteId="9e863fbb0fb835ce050032b4f00de61d" id="54">
     <ContentType media-type="application/vnd.ez.api.ContentType+xml" href="/api/ezp/v2/content/types/1"/>
@@ -5715,11 +5722,11 @@ 
Types
file_copy

-
+                                            
                                                 {
     "Content": {
         "_media-type": "application/vnd.ez.api.Content+json",
@@ -6120,11 +6127,11 @@ 
Types
file_copy

-
+                            
                                 <?xml version="1.0" encoding="UTF-8"?>
 <ContentUpdate>
   <mainLanguageCode>eng-GB</mainLanguageCode>
@@ -6186,11 +6193,11 @@ 
Types
file_copy

-
+                                            
                                                 <?xml version="1.0" encoding="UTF-8"?>
 <ContentUpdate>
   <mainLanguageCode>eng-GB</mainLanguageCode>
@@ -6243,11 +6250,11 @@ 
Types
file_copy

-
+                            
                                 <?xml version="1.0" encoding="UTF-8"?>
 <Content media-type="application/vnd.ez.api.ContentInfo+xml" href="/api/ezp/v2/content/objects/80" remoteId="69848aeb86164c35e5c98202eebe9e05" id="80">
     <ContentType media-type="application/vnd.ez.api.ContentType+xml" href="/api/ezp/v2/content/types/2"/>
@@ -6258,7 +6265,7 @@ 
Types
<MainLocation media-type="application/vnd.ez.api.Location+xml" href="/api/ezp/v2/content/locations/1/2/63/66"/> <Locations media-type="application/vnd.ez.api.LocationList+xml" href="/api/ezp/v2/content/objects/80/locations"/> <Owner media-type="application/vnd.ez.api.User+xml" href="/api/ezp/v2/user/users/11"/> -
+ <lastModi
View more @@ -6313,11 +6320,11 @@
Types
file_copy

-
+                                            
                                                 <?xml version="1.0" encoding="UTF-8"?>
 <Content media-type="application/vnd.ez.api.ContentInfo+xml" href="/api/ezp/v2/content/objects/80" remoteId="69848aeb86164c35e5c98202eebe9e05" id="80">
     <ContentType media-type="application/vnd.ez.api.ContentType+xml" href="/api/ezp/v2/content/types/2"/>
@@ -6768,11 +6775,11 @@ 
Types
file_copy

-
+                            
                                 <?xml version="1.0" encoding="UTF-8"?>
 <Version media-type="application/vnd.ez.api.Version+xml" href="/api/ezp/v2/content/objects/61/versions/1">
     <VersionInfo>
@@ -6792,7 +6799,7 @@ 
Types
<names> <value languageCode="eng-GB">Art1</value> </names> - <Content media-type="application/vnd.ez.api.ContentInfo+xml" href="/a
+ <Content media-type="application/vnd.ez.api.ContentInfo+xml" href="/api/ezp/v2/content/o
View more @@ -6804,11 +6811,11 @@
Types
file_copy

-
+                            
                                 {
     "Version": {
         "_media-type": "application/vnd.ez.api.Version+json",
@@ -6836,7 +6843,7 @@ 
Types
"names": { "value": [ { -
+ "_langu
View more @@ -6904,11 +6911,11 @@
Types
file_copy

-
+                                            
                                                 <?xml version="1.0" encoding="UTF-8"?>
 <Version media-type="application/vnd.ez.api.Version+xml" href="/api/ezp/v2/content/objects/61/versions/1">
     <VersionInfo>
@@ -7090,11 +7097,11 @@ 
Types
file_copy

-
+                                            
                                                 {
     "Version": {
         "_media-type": "application/vnd.ez.api.Version+json",
@@ -7482,11 +7489,11 @@ 
Types
file_copy

-
+                            
                                 <?xml version="1.0" encoding="UTF-8"?>
 <Version media-type="application/vnd.ez.api.Version+xml" href="/api/ezp/v2/content/objects/61/versions/2">
     <VersionInfo>
@@ -7506,7 +7513,7 @@ 
Types
<names> <value languageCode="eng-GB">Art1</value> </names> - <Content media-type="application/vnd.ez.api.ContentInfo+xml" href="/api/e
+ <Content media-type="application/vnd.ez.api.ContentInfo+xml" href="/api/ezp/v2/content/objec
View more @@ -7518,11 +7525,11 @@
Types
file_copy

-
+                            
                                 {
     "Version": {
         "_media-type": "application/vnd.ez.api.Version+json",
@@ -7550,7 +7557,7 @@ 
Types
"names": { "value": [ { -
+ "_languageC
View more @@ -7618,11 +7625,11 @@
Types
file_copy

-
+                                            
                                                 <?xml version="1.0" encoding="UTF-8"?>
 <Version media-type="application/vnd.ez.api.Version+xml" href="/api/ezp/v2/content/objects/61/versions/2">
     <VersionInfo>
@@ -7804,11 +7811,11 @@ 
Types
file_copy

-
+                                            
                                                 {
     "Version": {
         "_media-type": "application/vnd.ez.api.Version+json",
@@ -8194,11 +8201,11 @@ 
Types
file_copy

-
+                            
                                 <?xml version="1.0" encoding="UTF-8"?>
 <VersionList media-type="application/vnd.ez.api.VersionList+xml" href="/api/ezp/v2/content/objects/61/versions">
     <VersionItem>
@@ -8216,7 +8223,7 @@ 
Types
<Language> <languageCode>eng-GB</languageCode> </Language> -
+ </VersionTran
View more @@ -8228,11 +8235,11 @@
Types
file_copy

-
+                            
                                 {
     "VersionList": {
         "_media-type": "application/vnd.ez.api.VersionList+json",
@@ -8255,7 +8262,8 @@ 
Types
"creationDate": "2021-06-28T11:33:31+00:00", "initialLanguageCode": "eng-GB", "languageCodes": "eng-GB", - "Versi
+ "VersionTranslationInfo": { +
View more @@ -8323,11 +8331,11 @@
Types
file_copy

-
+                                            
                                                 <?xml version="1.0" encoding="UTF-8"?>
 <VersionList media-type="application/vnd.ez.api.VersionList+xml" href="/api/ezp/v2/content/objects/61/versions">
     <VersionItem>
@@ -8408,11 +8416,11 @@ 
Types
file_copy

-
+                                            
                                                 {
     "VersionList": {
         "_media-type": "application/vnd.ez.api.VersionList+json",
@@ -8874,11 +8882,11 @@ 
Types
file_copy

-
+                            
                                 <?xml version="1.0" encoding="UTF-8"?>
 <Version media-type="application/vnd.ez.api.Version+xml" href="/api/ezp/v2/content/objects/61/versions/3">
     <VersionInfo>
@@ -8898,7 +8906,7 @@ 
Types
<names> <value languageCode="eng-GB">Art1</value> </names> - <Content media-type="application/vnd.ez.api.ContentInfo+xml" href="/api/e
+ <Content media-type="application/vnd.ez.api.ContentInfo+xml" href="/api/ezp/v2/content/objec
View more @@ -8910,11 +8918,11 @@
Types
file_copy

-
+                            
                                 {
     "Version": {
         "_media-type": "application/vnd.ez.api.Version+json",
@@ -8942,7 +8950,7 @@ 
Types
"names": { "value": [ { -
+ "_languageC
View more @@ -9010,11 +9018,11 @@
Types
file_copy

-
+                                            
                                                 <?xml version="1.0" encoding="UTF-8"?>
 <Version media-type="application/vnd.ez.api.Version+xml" href="/api/ezp/v2/content/objects/61/versions/3">
     <VersionInfo>
@@ -9196,11 +9204,11 @@ 
Types
file_copy

-
+                                            
                                                 {
     "Version": {
         "_media-type": "application/vnd.ez.api.Version+json",
@@ -9694,11 +9702,11 @@ 
Types
file_copy

-
+                            
                                 <?xml version="1.0" encoding="UTF-8"?>
 <VersionUpdate xmlns:p="http://ez.no/API/Values"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -9772,11 +9780,11 @@ 
Types
file_copy

-
+                                            
                                                 <?xml version="1.0" encoding="UTF-8"?>
 <VersionUpdate xmlns:p="http://ez.no/API/Values"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -9841,11 +9849,11 @@ 
Types
file_copy

-
+                            
                                 <?xml version="1.0" encoding="UTF-8"?>
 <Version href="/content/objects/23/versions/4" media-type="application/vnd.ez.api.Version+xml">
   <VersionInfo>
@@ -9871,7 +9879,7 @@ 
Types
<field> <id>1235</id> <fieldDefinitionIdentifier>summary</fieldDefinitionIdentifier> -
+ <languageCode>ger-
View more @@ -9926,11 +9934,11 @@
Types
file_copy

-
+                                            
                                                 <?xml version="1.0" encoding="UTF-8"?>
 <Version href="/content/objects/23/versions/4" media-type="application/vnd.ez.api.Version+xml">
   <VersionInfo>
@@ -10165,11 +10173,11 @@ 
Types
file_copy

-
+                            
                                 <?xml version="1.0" encoding="UTF-8"?>
 <Version media-type="application/vnd.ez.api.Version+xml" href="/api/ezp/v2/content/objects/61/versions/3">
     <VersionInfo>
@@ -10189,7 +10197,7 @@ 
Types
<names> <value languageCode="eng-GB">Art1</value> </names> - <Content media-type="application/vnd.ez.api.ContentInfo+xml" href="/api/e
+ <Content media-type="application/vnd.ez.api.ContentInfo+xml" href="/api/ezp/v2/content/objec
View more @@ -10201,11 +10209,11 @@
Types
file_copy

-
+                            
                                 {
     "Version": {
         "_media-type": "application/vnd.ez.api.Version+json",
@@ -10233,7 +10241,7 @@ 
Types
"names": { "value": [ { -
+ "_languageC
View more @@ -10301,11 +10309,11 @@
Types
file_copy

-
+                                            
                                                 <?xml version="1.0" encoding="UTF-8"?>
 <Version media-type="application/vnd.ez.api.Version+xml" href="/api/ezp/v2/content/objects/61/versions/3">
     <VersionInfo>
@@ -10487,11 +10495,11 @@ 
Types
file_copy

-
+                                            
                                                 {
     "Version": {
         "_media-type": "application/vnd.ez.api.Version+json",
@@ -11200,11 +11208,11 @@ 
Types
file_copy

-
+                            
                                 <?xml version="1.0" encoding="UTF-8"?>
 <Version media-type="application/vnd.ez.api.Version+xml" href="/api/ezp/v2/content/objects/59/versions/1">
     <VersionInfo>
@@ -11224,7 +11232,7 @@ 
Types
<names> <value languageCode="eng-GB">Art1</value> </names> - <Content media-type="application/vnd.ez.api.ContentInfo+xml" href="/a
+ <Content media-type="application/vnd.ez.api.ContentInfo+xml" href="/api/ezp/v2/content/o
View more @@ -11236,11 +11244,11 @@
Types
file_copy

-
+                            
                                 {
     "Version": {
         "_media-type": "application/vnd.ez.api.Version+json",
@@ -11268,7 +11276,7 @@ 
Types
"names": { "value": [ { -
+ "_langu
View more @@ -11336,11 +11344,11 @@
Types
file_copy

-
+                                            
                                                 <?xml version="1.0" encoding="UTF-8"?>
 <Version media-type="application/vnd.ez.api.Version+xml" href="/api/ezp/v2/content/objects/59/versions/1">
     <VersionInfo>
@@ -11522,11 +11530,11 @@ 
Types
file_copy

-
+                                            
                                                 {
     "Version": {
         "_media-type": "application/vnd.ez.api.Version+json",
@@ -11926,11 +11934,11 @@ 
Types
file_copy

-
+                            
                                 <?xml version="1.0" encoding="UTF-8"?>
 <Relation media-type="application/vnd.ez.api.Relation+xml" href="/api/ezp/v2/content/objects/59/versions/2/relations/40">
     <SourceContent media-type="application/vnd.ez.api.ContentInfo+xml" href="/api/ezp/v2/content/objects/59"/>
@@ -11948,11 +11956,11 @@ 
Types
file_copy

-
+                            
                                 {
     "Relation": {
         "_media-type": "application/vnd.ez.api.Relation+json",
@@ -12035,11 +12043,11 @@ 
Types
file_copy

-
+                                            
                                                 <?xml version="1.0" encoding="UTF-8"?>
 <Relation media-type="application/vnd.ez.api.Relation+xml" href="/api/ezp/v2/content/objects/59/versions/2/relations/40">
     <SourceContent media-type="application/vnd.ez.api.ContentInfo+xml" href="/api/ezp/v2/content/objects/59"/>
@@ -12057,11 +12065,11 @@ 
Types
file_copy

-
+                                            
                                                 {
     "Relation": {
         "_media-type": "application/vnd.ez.api.Relation+json",
@@ -12626,11 +12634,11 @@ 
Types
file_copy

-
+                            
                                 <?xml version="1.0" encoding="UTF-8"?>
 <LocationCreate>
   <ParentLocation href="/api/ezp/v2/content/locations/1/42" />
@@ -12650,11 +12658,11 @@ 
Types
file_copy

-
+                            
                                 {
     "LocationCreate": {
         "ParentLocation": {
@@ -12731,11 +12739,11 @@ 
Types
file_copy

-
+                                            
                                                 <?xml version="1.0" encoding="UTF-8"?>
 <LocationCreate>
   <ParentLocation href="/api/ezp/v2/content/locations/1/42" />
@@ -12755,11 +12763,11 @@ 
Types
file_copy

-
+                                            
                                                 {
     "LocationCreate": {
         "ParentLocation": {
@@ -12824,11 +12832,11 @@ 
Types
file_copy

-
+                            
                                 <?xml version="1.0" encoding="UTF-8"?>
 <Location media-type="application/vnd.ez.api.Location+xml" href="/api/ezp/v2/content/locations/1/2/42/96">
     <id>96</id>
@@ -12846,7 +12854,7 @@ 
Types
<sortField>PATH</sortField> <sortOrder>ASC</sortOrder> <UrlAliases media-type="application/vnd.ez.api.UrlAliasRefList+xml" href="/api/ezp/v2/content/locations/1/2/42/96/urlaliases"/> -
+ <ContentInfo m
View more @@ -12858,11 +12866,11 @@
Types
file_copy

-
+                            
                                 {
     "Location": {
         "_media-type": "application/vnd.ez.api.Location+json",
@@ -12890,7 +12898,8 @@ 
Types
}, "sortField": "PATH", "sortOrder": "ASC", -
+ "UrlAliases": { +
View more @@ -12958,11 +12967,11 @@
Types
file_copy

-
+                                            
                                                 <?xml version="1.0" encoding="UTF-8"?>
 <Location media-type="application/vnd.ez.api.Location+xml" href="/api/ezp/v2/content/locations/1/2/42/96">
     <id>96</id>
@@ -13012,11 +13021,11 @@ 
Types
file_copy

-
+                                            
                                                 {
     "Location": {
         "_media-type": "application/vnd.ez.api.Location+json",
@@ -13310,11 +13319,11 @@ 
Types
file_copy

-
+                            
                                 <?xml version="1.0" encoding="UTF-8"?>
 <LocationList media-type="application/vnd.ez.api.LocationList+xml" href="/api/ezp/v2/content/objects/63/locations">
     <Location media-type="application/vnd.ez.api.Location+xml" href="/api/ezp/v2/content/locations/1/2/57/65"/>
@@ -13330,11 +13339,11 @@ 
Types
file_copy

-
+                            
                                 {
     "LocationList": {
         "_media-type": "application/vnd.ez.api.LocationList+json",
@@ -13414,11 +13423,11 @@ 
Types
file_copy

-
+                                            
                                                 <?xml version="1.0" encoding="UTF-8"?>
 <LocationList media-type="application/vnd.ez.api.LocationList+xml" href="/api/ezp/v2/content/objects/63/locations">
     <Location media-type="application/vnd.ez.api.Location+xml" href="/api/ezp/v2/content/locations/1/2/57/65"/>
@@ -13434,11 +13443,11 @@ 
Types
file_copy

-
+                                            
                                                 {
     "LocationList": {
         "_media-type": "application/vnd.ez.api.LocationList+json",
@@ -13677,11 +13686,11 @@ 
Types
file_copy

-
+                            
                                 <?xml version="1.0" encoding="UTF-8"?>
 <ContentObjectStates media-type="application/vnd.ez.api.ContentObjectStates+xml">
     <ObjectState media-type="application/vnd.ez.api.ObjectState+xml" href="/api/ezp/v2/content/objectstategroups/2/objectstates/1"/>
@@ -13700,11 +13709,11 @@ 
Types
file_copy

-
+                            
                                 {
     "ContentObjectStates": {
         "_media-type": "application/vnd.ez.api.ContentObjectStates+json",
@@ -13795,11 +13804,11 @@ 
Types
file_copy

-
+                                            
                                                 <?xml version="1.0" encoding="UTF-8"?>
 <ContentObjectStates media-type="application/vnd.ez.api.ContentObjectStates+xml">
     <ObjectState media-type="application/vnd.ez.api.ObjectState+xml" href="/api/ezp/v2/content/objectstategroups/2/objectstates/1"/>
@@ -13818,11 +13827,11 @@ 
Types
file_copy

-
+                                            
                                                 {
     "ContentObjectStates": {
         "_media-type": "application/vnd.ez.api.ContentObjectStates+json",
@@ -14310,11 +14319,11 @@ 
Types
file_copy

-
+                            
                                 <?xml version="1.0" encoding="UTF-8"?>
 <ObjectStateGroupList media-type="application/vnd.ez.api.ObjectStateGroupList+xml" href="/api/ezp/v2/content/objectstategroups">
     <ObjectStateGroup media-type="application/vnd.ez.api.ObjectStateGroup+xml" href="/api/ezp/v2/content/objectstategroups/2">
@@ -14332,7 +14341,8 @@ 
Types
</ObjectStateGroup> <ObjectStateGroup media-type="application/vnd.ez.api.ObjectStateGroup+xml" href="/api/ezp/v2/content/objectstategroups/3"> <id>3</id> - <identifier>accessibil
+ <identifier>accessibility</identifier> +
View more @@ -14344,11 +14354,11 @@
Types
file_copy

-
+                            
                                 {
     "ObjectStateGroupList": {
         "_media-type": "application/vnd.ez.api.ObjectStateGroupList+json",
@@ -14372,7 +14382,8 @@ 
Types
"#text": "Lock" } ] -
+ }, + "
View more @@ -14440,11 +14451,11 @@
Types
file_copy

-
+                                            
                                                 <?xml version="1.0" encoding="UTF-8"?>
 <ObjectStateGroupList media-type="application/vnd.ez.api.ObjectStateGroupList+xml" href="/api/ezp/v2/content/objectstategroups">
     <ObjectStateGroup media-type="application/vnd.ez.api.ObjectStateGroup+xml" href="/api/ezp/v2/content/objectstategroups/2">
@@ -14498,11 +14509,11 @@ 
Types
file_copy

-
+                                            
                                                 {
     "ObjectStateGroupList": {
         "_media-type": "application/vnd.ez.api.ObjectStateGroupList+json",
@@ -14827,11 +14838,11 @@ 
Types
file_copy

-
+                            
                                 <?xml version="1.0" encoding="UTF-8"?>
 <ObjectStateGroupCreate>
     <identifier>custom</identifier>
@@ -14854,11 +14865,11 @@ 
Types
file_copy

-
+                            
                                 {
     "ObjectStateGroup": {
         "identifier": "custom-states",
@@ -14946,11 +14957,11 @@ 
Types
file_copy

-
+                                            
                                                 <?xml version="1.0" encoding="UTF-8"?>
 <ObjectStateGroupCreate>
     <identifier>custom</identifier>
@@ -14973,11 +14984,11 @@ 
Types
file_copy

-
+                                            
                                                 {
     "ObjectStateGroup": {
         "identifier": "custom-states",
@@ -15053,11 +15064,11 @@ 
Types
file_copy

-
+                            
                                 <?xml version="1.0" encoding="UTF-8"?>
 <ObjectStateGroup media-type="application/vnd.ez.api.ObjectStateGroup+xml" href="/api/ezp/v2/content/objectstategroups/5">
     <id>5</id>
@@ -15084,11 +15095,11 @@ 
Types
file_copy

-
+                            
                                 {
     "ObjectStateGroup": {
         "_media-type": "application/vnd.ez.api.ObjectStateGroup+json",
@@ -15186,11 +15197,11 @@ 
Types
file_copy

-
+                                            
                                                 <?xml version="1.0" encoding="UTF-8"?>
 <ObjectStateGroup media-type="application/vnd.ez.api.ObjectStateGroup+xml" href="/api/ezp/v2/content/objectstategroups/5">
     <id>5</id>
@@ -15217,11 +15228,11 @@ 
Types
file_copy

-
+                                            
                                                 {
     "ObjectStateGroup": {
         "_media-type": "application/vnd.ez.api.ObjectStateGroup+json",
@@ -15493,11 +15504,11 @@ 
Types
file_copy

-
+                            
                                 <?xml version="1.0" encoding="UTF-8"?>
 <ObjectStateGroup media-type="application/vnd.ez.api.ObjectStateGroup+xml" href="/api/ezp/v2/content/objectstategroups/7">
     <id>7</id>
@@ -15523,11 +15534,11 @@ 
Types
file_copy

-
+                            
                                 {
     "ObjectStateGroup": {
         "_media-type": "application/vnd.ez.api.ObjectStateGroup+json",
@@ -15625,11 +15636,11 @@ 
Types
file_copy

-
+                                            
                                                 <?xml version="1.0" encoding="UTF-8"?>
 <ObjectStateGroup media-type="application/vnd.ez.api.ObjectStateGroup+xml" href="/api/ezp/v2/content/objectstategroups/7">
     <id>7</id>
@@ -15655,11 +15666,11 @@ 
Types
file_copy

-
+                                            
                                                 {
     "ObjectStateGroup": {
         "_media-type": "application/vnd.ez.api.ObjectStateGroup+json",
@@ -15955,11 +15966,11 @@ 
Types
file_copy

-
+                            
                                 <?xml version="1.0" encoding="UTF-8"?>
 <ObjectStateGroup media-type="application/vnd.ez.api.ObjectStateGroup+xml" href="/api/ezp/v2/content/objectstategroups/7">
     <id>7</id>
@@ -15986,11 +15997,11 @@ 
Types
file_copy

-
+                            
                                 {
     "ObjectStateGroup": {
         "_media-type": "application/vnd.ez.api.ObjectStateGroup+json",
@@ -16088,11 +16099,11 @@ 
Types
file_copy

-
+                                            
                                                 <?xml version="1.0" encoding="UTF-8"?>
 <ObjectStateGroup media-type="application/vnd.ez.api.ObjectStateGroup+xml" href="/api/ezp/v2/content/objectstategroups/7">
     <id>7</id>
@@ -16119,11 +16130,11 @@ 
Types
file_copy

-
+                                            
                                                 {
     "ObjectStateGroup": {
         "_media-type": "application/vnd.ez.api.ObjectStateGroup+json",
@@ -16238,7 +16249,7 @@ 
Possible responses
-

/content/objectstategroups/objectstates

+

/content/objectstategroups/{objectStateGroupId}/objectstates

  • @@ -16271,7 +16282,7 @@

    /cont

    GET - /content/objectstategroups/objectstates + /content/objectstategroups/{objectStateGroupId}/objectstates

    Returns a list of all Object states of the given group.

    @@ -16356,7 +16367,7 @@
    Possible responses
    -
    200 @@ -16408,28 +16419,28 @@
    Types
    -
    +
    -
    -
    -
    +
    +

    file_copy

    -
    +                            
                                     <?xml version="1.0" encoding="UTF-8"?>
     <ObjectStateList media-type="application/vnd.ez.api.ObjectStateList+xml" href="/api/ezp/v2/content/objectstategroups/2/objectstates">
         <ObjectState media-type="application/vnd.ez.api.ObjectState+xml" href="/api/ezp/v2/content/objectstategroups/2/objectstates/1">
    @@ -16470,23 +16481,24 @@ 
    Types
    </descriptions> </ObjectState> <ObjectState media-type="application/vnd.ez.api.ObjectState+xml" href="/api/ezp/v2/content/objectstategroups/2/objectstates/2"> -
    + <id>2</id> +
    - View more + View more
    -
    +

    file_copy

    -
    +                            
                                     {
         "ObjectStateList": {
             "_media-type": "application/vnd.ez.api.ObjectStateList+json",
    @@ -16509,18 +16521,19 @@ 
    Types
    { "_languageCode": "eng-GB", "#text": "Not locked" -
    + } +
    - View more + View more
    -