[DOCU-952] Update "REST API" Created: 09/Mar/17  Updated: 29/May/18  Resolved: 31/Mar/17

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Neutral
Reporter: Christoph Meier Assignee: Julie Legendre
Resolution: Done Votes: 0
Labels: core
Remaining Estimate: 0d
Time Spent: 4.5h
Original Estimate: Not Specified

Attachments: PNG File create-page-test-5.5.3.png    
Issue Links:
relation
is related to MGNLREST-83 JSON output suddenly changed without ... Closed

 Description   

One update for sure, another thing to be tested which may lead to an update,
on the page REST API

"JSON first instead of XML"

See inline comment from ahietala (https://goo.gl/tjvqpg)

"The example given for creating/updating nodes is incorrect"

at least that is what a user claims with a comment. See comment form Chris Jennings.
-
Please try out. If required, update the appropriate section on the page.
In any case answer Chris.

Note that this (thing mentioned by Chris) could be related to MGNLREST-83 ("JSON output suddenly changed without changing API version number").
Please test the create/update example with a current 5.5.2 bundle which contains the problem which will be resolved with MGNLREST-83.
Then we have to test again, once MGNLREST-83 is resolved. This 2nd test can be done with a SNAPSHOT which integrates the REST fix.



 Comments   
Comment by Julie Legendre [ 22/Mar/17 ]

Wait for release of rest 1.2.1

Comment by Richard Gange [ 30/Mar/17 ]

Comment from Antti

Christoph / Martin, could you add a JSON response next to the XML below? JSON should probably be the first tab, XML second tab. There's a cURL command for requesting JSON below. Thanks.

Comment by Richard Gange [ 31/Mar/17 ]

Just an update here:

"JSON first instead of XML" done

"The example given for creating/updating nodes is incorrect" not complete

I had some trouble getting the SNAPSHOT installed into 5.5.2. There seems to be some issues around the Jackson libraries. For this reason, it is probably better to wait for the 5.5.3 release to test the fix. From what Jan tells me we had to make changes to the ce pom in order to deal with these jackson dependencies.

Comment by Richard Gange [ 31/Mar/17 ]

Then we have to test again, once MGNLREST-83 is resolved. This 2nd test can be done with a SNAPSHOT which integrates the REST fix.

Fixed

Comment by Christoph Meier [ 03/Apr/17 ]

Okidoki.
Once again thanks to rgange

Before closing, somebody of the docs team should adapt the change of the pages structure at least on DOCS54 too (json before XML).

And we must check the state on a 5.4.x bundle concerning the 3rd party libraries and what json is produced in such a bundle atm.

Comment by Julie Legendre [ 03/Apr/17 ]

Before closing, somebody of the docs team should adapt the change of the pages structure at least on DOCS54 too (json before XML).

Comment by Julie Legendre [ 04/Apr/17 ]

And we must check the state on a 5.4.x bundle concerning the 3rd party libraries and what json is produced in such a bundle atm.

Generated at Mon Feb 12 01:13:48 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.