[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Question on Format
Folks, What format do we want for the request/response descriptions? The info request looks like this: Questions to answer at the bottom. 1.1.1
Information Request
Every Data Engine SHALL publish its Data Engine Home URI. Performing a GET on this URI SHALL return general information about the Data Engine as JSON object.
Format for the returned JSON Object:
The JSON object of the response MAY contain additional fields with information about the Data Engine.
Most of the operations in the current specs look like this:
1.1.2
Request
Media type: application/json, text/json
1.1.3
Response
If successful, an HTTP status code of 200 OK MUST be returned. If unsuccessful, an HTTP error code SHOULD be returned and a JSON object MAY be returned providing some explanation of the failure.
If validation of the OperatorID fails, with a 410 (Gone) error from the IDA, an error 410 (Gone) should be returned.
Media type: application/json, text/json Which do we like? Also, are we putting examples in the sections or only in the longer example section? -- Take care: Dr. David Snelling < David . Snelling . UK . Fujitsu . com > Senior Research Fellow / Fujitsu Distinguished Engineer Fujitsu Laboratories of Europe Ltd. +44-7590-293439 (Mobile) Unless otherwise stated, this email has been sent from Fujitsu Services Limited (registered in England No 96056); Fujitsu EMEA PLC (registered in England No 2216100) both with registered offices at: 22 Baker Street, London W1U 3BW; PFU (EMEA) Limited, (registered in England No 1578652) and Fujitsu Laboratories of Europe Limited (registered in England No. 4153469) both with registered offices at: Hayes Park Central, Hayes End Road, Hayes, Middlesex, UB4 8FE. This email is only for the use of its intended recipient. Its contents are subject to a duty of confidence and may be privileged. Fujitsu does not guarantee that this email has not been intercepted and amended or that it is virus-free. |
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]