GET /ambassadors/probes/{id}/
Retrieve or update a probe that the user is an ambassador of. Retrieval takes ambassadors.get_ambassador_probe_info; updating takes ambassadors.change_ambassador_probe. The two grants are independent, so a read-only key stays read-only. state is restricted on writes, for session and key alike — see AmbassadorProbeWriteSerializer. Every other field is as writable by a key as it is from the UI, including email, which triggers the host's initial email. PATCH is the verb to use: comment and state are both required, so a PUT missing either is a 400.
GET /ambassadors/probes/{id}/ — id
The unique ambassadorship ID. This identifies the record linking an ambassador to a probe they handed out -- it is not the probe ID.
GET /ambassadors/probes/{id}/ — include
Include additional fields named in comma-separated values in response as nested JSON objects.
GET /api/v2/ambassadors/probes/{id}/
Retrieve or update a probe that the user is an ambassador of.
Retrieval takes ambassadors.get_ambassador_probe_info; updating takes ambassadors.change_ambassador_probe. The two grants are independent, so a read-only key stays read-only.
state is restricted on writes, for session and key alike — see AmbassadorProbeWriteSerializer. Every other field is as writable by a key as it is from the UI, including email, which triggers the host's initial email. PATCH is the verb to use: comment and state are both required, so a PUT missing either is a 400.
Try it out
Playground
Authorization
Variables
Key
Value
Authorizations
api-key
Type
API Key (header: Authorization)
or
session
Type
API Key (cookie: atlasess)
Parameters
Path Parameters
id*
The unique ambassadorship ID. This identifies the record linking an ambassador to a probe they handed out -- it is not the probe ID.
Type
Requiredinteger
Query Parameters
include
Include additional fields named in comma-separated values in response as nested JSON objects.
Type
string
Valid values
"probe"Responses
Responses
application/json
Serializer for AmbassadorProbe model.
Collapse
pk
integer
Required
user
integer
Required
mac
string
Required
Max Length
64probe_id
integer
Required
The unique identifier of this probe.
event_year
integer
Maximum
2147483647Minimum
-2147483648event_extra
string
Max Length
100event
string
Required
Max Length
240email
string
Format
"email"Max Length
128email_probe_host
string
Required
name
string
Max Length
240with_date
string
Format
"date"hand_date
string
Format
"date"appl_date
string
Format
"date"host_date
string
Format
"date"woff_date
string
Format
"date"refurbish_date
string
Format
"date"comment
string
Required
date_initial_sent
string
Format
"date-time"state
integer
Required
0- Reset1- Given to ambassador2- Handed out3- Applied5- Hosted4- Online, not hosted6- Written off10- Returned7- Refurbished8- Lost in transit9- Broken
Valid values
012354610789Minimum
-2147483648Maximum
2147483647