Resource Study.Panel.Control
Method PUT
Purpose Update settings on a control for a study
Client sends … RequestPUT control-URI
HeaderHost: host
HeaderDate: date
HeaderAuthorization: yosokumo user-identifier:request-digest
HeaderContent-Type: content-type
Header (optional)Content-Encoding: content-encoding
Header (optional)Content-Length: content-length
Header (optional)Content-MD5: content-digest
Header (optional)Accept: content-type(s)
Entity<control document>
Server returns … SuccessCode204 No Content
HeaderDate: date
• Authorization header malformed
• Put document not well-formed
• Put document length does not match Content-Length header value
• Put document digest does not match Content-MD5 header value
• Put document not a control
Code 400 Bad Request
Authorization header missingCode401 Unauthorized
HeaderWWW-Authenticate: yosokumo user:digest
• Requesting user not recognized
• Request digest incorrect
• Requesting user lacks PUT control permission for this study
Code 403 Forbidden
Requested URI not recognizedCode404 Not Found
• Control attribute referenced in control document conflicts with control-URI
• Study referenced in control document conflicts with control-URI
Code 409 Conflict
• Data interchange format of posted document not recognized
• Encoding of posted document not recognized
Code 415 Unsupported Format