Update a raptor's details
Edits a raptor's details. Only the fields you send change: omit a field to keep it, send null to clear it. Needs edit rights on the bird (its owner, or a team admin). Photos can't be changed through the API.
bearerAuthAuthorizationBearer <token>A Clerk user API key or OAuth access token carrying the falconry:read and/or falconry:write scope.
raptorId*stringA raptor's id, from list_raptors.
length <= 64application/json- body
name?string1 <= length <= 100speciesId?stringOpaque Convex document id.
length <= 64acquisitionDate?stringISO 8601 date (yyyy-mm-dd).
^\d{4}-\d{2}-\d{2}$acquisitionMethod?string"bred""trapped""rescued""purchased""transferred""other"gender?|nullbirthDate?|nullbandNumber?|nullmicrochipId?|nulltargetWeightMinGrams?|nulltargetWeightMaxGrams?|nulltransmitterFrequencyMhz?|nullnotes?|nullfate?stringLife-record outcome. For the roster lifecycle (active, sold, archived, ...) use set_raptor_status.
"active""deceased""transferred""lost""released""other"fateNote?|nullUpdate a raptor's details
application/json- response
id*stringOpaque Convex document id.
length <= 64name*stringspecies*|nullgender*|nullstatus*|nullacquisitionDate*stringISO 8601 date (yyyy-mm-dd).
birthDate*|ISO 8601 date (yyyy-mm-dd), the hatch date.
bandNumber*string|nullmicrochipId*string|nullnotes*string|nullavatarUrl*string|nullheaderUrl*string|nulltargetWeightMinGrams*number|nulltargetWeightMaxGrams*number|nullreadyWeightGrams*number|nulltoleranceGrams*number|nulllatestWeightGrams*|The raptor's most recent logged weigh-in, grams.
isFavorite*booleanisInMoult*booleanmoultStartedAt*|ISO 8601 datetime the current moult started, when in moult.
moultTargetWeightGrams*number|nullacquisitionMethod*|nullfate*|nullfateNote*string|nulltransmitterFrequencyMhz*number|nullisTeamShared*booleanWhether the bird is shared with its owner's team.
ownerName*|The owner's display name, for a team-shared bird the caller does not own.
canLog*booleanWhether the caller may log weigh-ins, feedings and activities on this bird.
canEdit*booleanWhether the caller may edit the bird's details and plans.
isOwn*boolean|nullmyRole*|'self' when the caller owns the bird, else their team role on it.
curl -X PATCH 'https://app.falconryscale.com/api/v1/raptors/string' \
-H 'Content-Type: application/json' \
-d '{}'{
"id": "string",
"name": "string",
"species": {
"id": "string",
"commonName": "string",
"scientificName": "string",
"photoUrl": "string"
},
"gender": "male",
"status": "active",
"acquisitionDate": "string",
"birthDate": "string",
"bandNumber": "string",
"microchipId": "string",
"notes": "string",
"avatarUrl": "string",
"headerUrl": "string",
"targetWeightMinGrams": 0,
"targetWeightMaxGrams": 0,
"readyWeightGrams": 0,
"toleranceGrams": 0,
"latestWeightGrams": 0,
"isFavorite": true,
"isInMoult": true,
"moultStartedAt": "string",
"moultTargetWeightGrams": 0,
"acquisitionMethod": "bred",
"fate": "active",
"fateNote": "string",
"transmitterFrequencyMhz": 0,
"isTeamShared": true,
"ownerName": "string",
"canLog": true,
"canEdit": true,
"isOwn": true,
"myRole": "self"
}Get one raptor
Returns the full detail of one raptor by id. 404s if the raptor does not exist or is not visible to the caller.
Search raptor species
Finds species by part of their common or scientific name, with typical weight ranges in grams. Use it to get the `speciesId` that create_raptor and update_raptor need.