{ "lexicon": 1, "id": "org.atgrp.internal.getModSubjectBlob", "defs": { "main": { "type": "query", "description": "A picture or file a record subject holds, for a moderator reviewing it, even when the group has taken the record down: the record as getModSubjectHistory gives it, in one of the group's spaces the caller's roles let them read, read from whoever wrote it. Requires mod.read.", "parameters": { "type": "params", "required": [ "group", "subject", "cid" ], "properties": { "group": { "type": "string", "format": "did", "description": "The group DID. Every method is served by the group's host and authorized against that group's roles." }, "subject": { "type": "string", "format": "uri", "description": "The record, by its URI in one of the group's spaces." }, "cid": { "type": "string", "format": "cid", "description": "The file, one the record holds as the host's index has it." } } }, "output": { "encoding": "*/*" }, "errors": [ { "name": "InvalidSubject", "description": "The subject isn't an account, a record in this group, or a record in a public repo." }, { "name": "NotFound", "description": "No record the index holds and the caller may read, or a file it does not hold, or one its writer no longer serves." } ] } } }