v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13188889.6 KB
projects

Annotates a previously created Assessment to provide additional information on whether the event turned out to be authentic or fraudulent.

post/v1/{+name}:annotate

Path parameters

namestring required

Required. The resource name of the Assessment, in the format projects/{project}/assessments/{assessment}.

Request body

reasonsstring[]

Optional. Reasons for the annotation that are assigned to the event.

accountIdstring

Optional. A stable account identifier to apply to the assessment. This is an alternative to setting account_id in CreateAssessment, for example when a stable account identifier is not yet known in the initial request.

hashedAccountIdstring byte

Optional. A stable hashed account identifier to apply to the assessment. This is an alternative to setting hashed_account_id in CreateAssessment, for example when a stable account identifier is not yet known in the initial request.

annotation'ANNOTATION_UNSPECIFIED' | 'LEGITIMATE' | 'FRAUDULENT' | 'PASSWORD_CORRECT' | 'PASSWORD_INCORRECT'

Optional. The annotation that is assigned to the Event. This field can be left empty to provide reasons that apply to an event without concluding whether the event is legitimate or fraudulent.

Response

Successful response