assessment

Return how many times each person has been picked as a peer reviewer in a review cycle with a peer reviewer cap. Callers without full read access to the review cycle must pass personIds and only get which of those people are full. With formResponseId, anyone who can approve that request gets the counts for its peers, the fewest peers it may have, and whether they can approve past the cap.

Changed on
get/v1/org/{orgId}/assessment/{assessmentId}/peer-reviewer-counts

Request

Path parameters

orgIdstring required

Org identifier (either id or slug)

assessmentIdstring required

Assessment id

Query parameters

personIdsstring

Comma-separated person ids to limit the results to; required for callers without full read access

formResponseIdstring

Peer pick request to return counts for; the caller must be able to approve it

Response

successful operation

maxinteger

most times one person can be picked; omitted for callers who may not see counts

fullPersonIdsstring[] required

people at or over the cap, who can't be picked

minPicksinteger

fewest peers the request may have when approved; only with formResponseId, omitted when the field has no minimum

canOverrideboolean

whether the caller can approve the request with a peer over the cap; only with formResponseId

Example response

{
  "counts": [
    {
      "personId": "588f7ee98f138b19220041a7"
    }
  ],
  "fullPersonIds": [
    "588f7ee98f138b19220041a7"
  ]
}

Changes