net.atpix.gallery.createCollectionRule
Create a collection rule for follow-graph and/or hashtag sourcing.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | gallery.atpix.net |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Create a collection rule for follow-graph and/or hashtag sourcing.",
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"active": {
"default": true,
"type": "boolean"
},
"description": {
"maxLength": 2000,
"type": "string"
},
"followedActors": {
"items": {
"format": "did",
"type": "string"
},
"maxLength": 500,
"type": "array"
},
"hashtags": {
"items": {
"maxLength": 64,
"type": "string"
},
"maxLength": 50,
"type": "array"
},
"includeOwnPhotos": {
"default": true,
"type": "boolean"
},
"name": {
"maxLength": 200,
"type": "string"
},
"targetAlbumUri": {
"format": "at-uri",
"type": "string"
},
"targetScope": {
"ref": "net.atpix.gallery.defs#targetScope",
"type": "ref"
},
"useFollowGraph": {
"default": false,
"type": "boolean"
}
},
"required": [
"name",
"targetScope"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"cid": {
"format": "cid",
"type": "string"
},
"uri": {
"format": "at-uri",
"type": "string"
}
},
"required": [
"uri",
"cid"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "net.atpix.gallery.createCollectionRule",
"lexicon": 1
}