Last modified by christoph_lechleitner@iteg_at on 2013-02-02 05.47:41

From version 5.1
edited by christoph_lechleitner@iteg_at
on 2012-11-08 07.13:58
Change comment: Trying to specify a JSON variant
To version 7.1
edited by christoph_lechleitner@iteg_at
on 2012-11-20 09.37:50
Change comment: Adding email address field to JSON variant of user principals

Summary

Details

Page properties
Content
... ... @@ -61,7 +61,7 @@
61 61  
62 62  The server may enforce the use of HTTP basic authentication in order to keep offending servers away from dictionary attacks.
63 63  
64 -===== {{id name="HTTPauthenticationAPING-JSONvariants(EXPERIMENTAL,WORKINPROGRESS)"/}}JSON variants (EXPERIMENTAL, WORK IN PROGRESS) =====
64 +===== {{id name="HTTPauthenticationAPING-JSONvariants"/}}JSON variants =====
65 65  
66 66  A backend may support to return the response in the form of small JSON documents.
67 67  
... ... @@ -129,7 +129,7 @@
129 129  (% style="color: rgb(0, 0, 0); color: rgb(0, 0, 0)" %)Successful:
130 130  
131 131  {{code language="none"}}
132 -{ "user" : "jdoe", "prettyName" : "John Doe" }
132 +{ "user" : "jdoe", "prettyName" : "John Doe", "eMailAddress" : "jdoe@foo.bar" }
133 133  {{/code}}
134 134  
135 135  Not found or problem: See documentation of "searchUser".
... ... @@ -269,7 +269,7 @@
269 269  
270 270  {{code language="none"}}
271 271  [
272 - { "user" : "leonard", "prettyName" : "Leonard Hofstaetter" } ,
272 + { "user" : "leonard", "prettyName" : "Leonard Hofstaetter", "eMailAddress" : "lh@tbbt.foo.bar" } ,
273 273   { "user" : "penny" } ,
274 274   { "user" : "sheldon" }
275 275  ]
... ... @@ -313,7 +313,7 @@
313 313  Successful, with response code 200:
314 314  
315 315  {{code language="none"}}
316 -{ "user" : "jdoe", "prettyName" : "John Doe" }
316 +{ "user" : "jdoe", "prettyName" : "John Doe", "eMailAddress" : "jdoe@foo.bar" }
317 317  {{/code}}
318 318  
319 319  Not found, with response code 404:
Confluence.Code.ConfluencePageClass[0]
Id
... ... @@ -1,1 +1,1 @@
1 -688873
1 +688908
URL
... ... @@ -1,1 +1,1 @@
1 -https://clazzes.atlassian.net/wiki/spaces/LOGIN/pages/688873/HTTP authentication API NG
1 +https://clazzes.atlassian.net/wiki/spaces/LOGIN/pages/688908/HTTP authentication API NG