The featured keeper's answer for one week: a note to quote in the post (text, may be empty) or decline: true for 'not this time'. Writes pet.trezy.featureReply/<week> into the caller's repo. Refuses unless the caller is that week's keeper and the post has not gone out yet.
Input
application/jsondecline
boolean
Optional
No description available.
text
string
Optional
No description available.
maxLength: 1400 bytesmaxGraphemes: 140 graphemesweek
string
Required
No description available.
maxLength: 8 bytesOutput
application/jsonerror
string
Optional
No description available.
not-authenticated, missing-week, not-yours, closed, too-long, save-failedmessage
string
Optional
No description available.
week
string
Optional
Present only on success.
Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"description": "The featured keeper's answer for one week: a note to quote in the post (text, may be empty) or decline: true for 'not this time'. Writes pet.trezy.featureReply/<week> into the caller's repo. Refuses unless the caller is that week's keeper and the post has not gone out yet.",
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"decline": {
"type": "boolean"
},
"text": {
"maxGraphemes": 140,
"maxLength": 1400,
"type": "string"
},
"week": {
"maxLength": 8,
"type": "string"
}
},
"required": [
"week"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"error": {
"knownValues": [
"not-authenticated",
"missing-week",
"not-yours",
"closed",
"too-long",
"save-failed"
],
"type": "string"
},
"message": {
"type": "string"
},
"week": {
"description": "Present only on success.",
"type": "string"
}
},
"required": [],
"type": "object"
}
},
"type": "procedure"
}