Skip to content

Commit

Permalink
add Other sex to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
zaliqarosli committed Jan 21, 2022
1 parent 6526b81 commit ddba16f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions modules/api/docs/LorisRESTAPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ of this reference a CandidateObject. A CandidateObject is a JSON object of the f
"Site" : Site,
"EDC" : "YYYY-MM-DD",
"DoB" : "YYYY-MM-DD",
"Sex" : "Male|Female"
"Sex" : "Male|Female|Other"
}
```
Expand Down Expand Up @@ -326,7 +326,7 @@ The body of the POST request should be a candidate key with a JSON object of the
"PSCID" : PSCID,
"EDC" : "YYYY-MM-DD",
"DoB" : "YYYY-MM-DD",
"Sex" : "Male|Female",
"Sex" : "Male|Female|Other",
"Site" : SiteName,
}
}
Expand All @@ -342,7 +342,7 @@ A response code of 201 Created will be returned on success, 409 Conflict if
the PSCID already exists, 403 Forbidden when the user is creating a candidate at
a site other than the list of sitenames the user is affiliated with, and a 400
Bad Request if any data provided is invalid (PSCID format, date format, sex
something other than Male|Female, invalid project name, invalid sitename, etc).
something other than Male|Female|Other, invalid project name, invalid sitename, etc).
A successful POST request will return a CandidateObject for the newly created
candidate.
Expand Down
6 changes: 3 additions & 3 deletions modules/api/docs/LorisRESTAPI_v0.0.4-dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ of this reference a CandidateObject. A CandidateObject is a JSON object of the f
"Site" : Site,
"EDC" : "YYYY-MM-DD",
"DoB" : "YYYY-MM-DD",
"Sex" : "Male|Female"
"Sex" : "Male|Female|Other"
}
```
Expand Down Expand Up @@ -326,7 +326,7 @@ The body of the POST request should be a candidate key with a JSON object of the
"PSCID" : PSCID,
"EDC" : "YYYY-MM-DD",
"DoB" : "YYYY-MM-DD",
"Sex" : "Male|Female",
"Sex" : "Male|Female|Other",
"Site" : SiteName,
}
}
Expand All @@ -342,7 +342,7 @@ A response code of 201 Created will be returned on success, 409 Conflict if
the PSCID already exists, 403 Forbidden when the user is creating a candidate at
a site other than the list of sitenames the user is affiliated with, and a 400
Bad Request if any data provided is invalid (PSCID format, date format, sex
something other than Male|Female, invalid project name, invalid sitename, etc).
something other than Male|Female|Other, invalid project name, invalid sitename, etc).
A successful POST request will return a CandidateObject for the newly created
candidate.
Expand Down

0 comments on commit ddba16f

Please # to comment.