fyi. opensocial. resolveSubject
Resolve or escalate a subject, optionally with a note. Repeating the current status adds the note. Requires mod.resolve.
- Kind
- A method (procedure)
- Part of
- The reference host
- Record
at://did:plc:2gqnilpksz2e7faj3bwvo6qc/com.atproto.lexicon.schema/fyi.opensocial.resolveSubject
main procedure
Input
Encoding: application/json
| Field | Type | Description |
|---|---|---|
group (required) | string (did) | The group DID. Every method is served by the group's host and authorized against that group's roles. |
note | string
| |
status (required) | string
| |
subject (required) | union of fyi., fyi. |
Output
Encoding: application/json
fyi.
Errors
InvalidSubject: The subject isn't an account or record in this group.SubjectNotFound: The subject has never been reported.
The schema as published
{
"defs": {
"main": {
"description": "Resolve or escalate a subject, optionally with a note. Repeating the current status adds the note. Requires mod.resolve.",
"errors": [
{
"description": "The subject isn't an account or record in this group.",
"name": "InvalidSubject"
},
{
"description": "The subject has never been reported.",
"name": "SubjectNotFound"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"group": {
"description": "The group DID. Every method is served by the group's host and authorized against that group's roles.",
"format": "did",
"type": "string"
},
"note": {
"maxGraphemes": 2000,
"maxLength": 20000,
"type": "string"
},
"status": {
"enum": [
"resolved",
"escalated"
],
"type": "string"
},
"subject": {
"refs": [
"fyi.opensocial.defs#accountSubject",
"fyi.opensocial.defs#recordSubject"
],
"type": "union"
}
},
"required": [
"group",
"subject",
"status"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"ref": "fyi.opensocial.defs#subjectView",
"type": "ref"
}
},
"type": "procedure"
}
},
"id": "fyi.opensocial.resolveSubject",
"lexicon": 1
}