Flag a score as looking wrong
Raises or changes the flag of the key's owner on one subject of the report: Resume fit, interview readiness, or one requirement. There is one flag per person and subject, so sending it again with different values changes it, and repeating it unchanged records nothing. The flag is recorded under the person who owns the API key, attributed to the key, and never changes a score. Flagging interview readiness needs a completed interview.
Required scope: reports:write.
Errors
- 400:
invalid_content_type,invalid_json,request_body_too_large,unknown_field - 401:
authentication_required,invalid_api_key - 403:
api_access_disabled,insufficient_scope - 404:
report_not_found - 422:
invalid_parameter - 429:
rate_limit_exceeded - 500:
api_error - 503:
maintenance_mode,service_unavailable
ApiKeyAuthorizationBearer <probb_live_<id>_<secret>>id*stringThe report's ID.
1 <= length <= 200application/json- body
subject*stringWhat looks wrong: the report's resume_fit, the interview's interview_readiness, or one requirement.
"resume_fit""interview_readiness""requirement"requirementKey?|The requirement's key on the report. Required for requirement; leave it out for the other subjects.
direction*stringWhich way Probb was off: overstated, understated, or wrong_evidence.
"overstated""understated""wrong_evidence"reason?|Why, as a fixed reason.
note?|Why, in your words. Send null or omit it for no note.
Success.
application/json- response
object*stringid*stringThe flag's ID.
reportId*stringThe report the flag is on.
subject*stringWhat the flag is about: the report's Resume fit, the interview's readiness, or one requirement.
"resume_fit""interview_readiness""requirement"requirementKey*|The requirement, for requirement. Null for the other subjects.
direction*stringWhich way the person thinks Probb was off. not_the_reason only comes from the app's prompt after a decision.
"overstated""understated""wrong_evidence""not_the_reason"reason*|Why, as a fixed reason.
note*|Why, in the person's words.
origin*stringRaised on the report, or from the prompt after a decision.
"report""decision_nudge"scoreAtFlag*|The score the flag is about when it was raised. Null for a requirement.
author*|Who raised it. Null if the person was since deleted.
mine*booleanWhether the API key's owner raised it, and so can withdraw it with DELETE.
createdAt*stringWhen the flag was first raised.
date-timeupdatedAt*stringWhen the flag last changed.
date-time# Set PROBB_URL and PROBB_API_KEY. Replace any *_VALUE placeholder and any example ID (such as job_example) with a real one.curl --fail-with-body -X PUT "$PROBB_URL/api/v1/reports/ID_VALUE/score-flags" \ -H "Authorization: Bearer $PROBB_API_KEY" \ -H 'Content-Type: application/json' \ --data-binary '{ "subject": "requirement", "requirementKey": "kubernetes-in-production", "direction": "overstated", "reason": "panel_saw_otherwise", "note": "The panel found no hands-on cluster work."}'{ "object": "score_flag", "id": "string", "reportId": "string", "subject": "resume_fit", "requirementKey": "string", "direction": "overstated", "reason": "missed_in_resume", "note": "string", "origin": "report", "scoreAtFlag": 0, "author": { "id": "string", "name": "string" }, "mine": true, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}