0
2
{
"lexicon": 1,
"id": "dev.hatk.getFeed",
"defs": {
"main": {
"type": "query",
"description": "Retrieve a named feed of items.",
"parameters": {
"type": "params",
"required": ["feed"],
"properties": {
"feed": { "type": "string", "description": "Feed name" },
"limit": { "type": "integer", "minimum": 1, "maximum": 100, "default": 30 },
"cursor": { "type": "string" },
"actor": { "type": "string", "format": "did", "description": "Filter by actor DID" },
"camera": { "type": "string", "description": "Filter by camera make and model" },
"location": { "type": "string", "description": "Filter by H3 cell index" },
"tag": { "type": "string", "description": "Filter by hashtag" },
"group": { "type": "string", "format": "did", "description": "Filter by group DID" }
}
},
"output": {
"encoding": "application/json",
"schema": {
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"type": "ref",
"ref": "social.grain.gallery.defs#galleryView"
}
},
"cursor": {
"type": "string"
}
}
}
}
}
}
}