Verification API
Verification API¶
Verification API
For more, see Tutorials.
CHIME/FRB Verification API
add_verification
¶
Adds a new CHIME/FRB Verification record to Verification Database.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
verification
|
dict
|
A dictionary of CHIME/FRB Verification record. |
required |
get_all_known_candidate_verifications
¶
Retrieves all CHIME/FRB Verification records of type KNOWN CANDIDATE
.
get_all_new_candidate_verifications
¶
Retrieves all CHIME/FRB Verification records of type NEW CANDIDATE
.
get_conflicting_verifications_faint
¶
Retrieves verification records for events that have conflicting tsar verifications and at least one classification of FAINT.
Returns:
Type | Description |
---|---|
list
|
A list of dictionaries each contains an eligible event verification record. |
get_verification_for_event
¶
Retrieves a CHIME/FRB Verification record for a given event_id.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
event_id
|
str
|
The event_id of the CHIME/FRB Verification record. |
required |
Returns: A dictionary containing verification record for that event.