net.atpix.gallery.listCollectionRules

List collection rules owned by the authenticated user.

Details · query
Kindquery
Authoritygallery.atpix.net
Indexed
cid bafyreiaha5xqridsbksklohkuktjmgafgigt4fxep6zcw5enkujekjjka4

Checks

Valid
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "List collection rules owned by the authenticated user.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cursor": {
              "type": "string"
            },
            "rules": {
              "items": {
                "properties": {
                  "author": {
                    "format": "did",
                    "type": "string"
                  },
                  "cid": {
                    "format": "cid",
                    "type": "string"
                  },
                  "record": {
                    "properties": {
                      "active": {
                        "type": "boolean"
                      },
                      "createdAt": {
                        "format": "datetime",
                        "type": "string"
                      },
                      "description": {
                        "type": "string"
                      },
                      "followedActors": {
                        "items": {
                          "format": "did",
                          "type": "string"
                        },
                        "type": "array"
                      },
                      "hashtags": {
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      },
                      "includeOwnPhotos": {
                        "type": "boolean"
                      },
                      "modifiedAt": {
                        "format": "datetime",
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "targetAlbumUri": {
                        "format": "at-uri",
                        "type": "string"
                      },
                      "targetScope": {
                        "ref": "net.atpix.gallery.defs#targetScope",
                        "type": "ref"
                      },
                      "useFollowGraph": {
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "name",
                      "targetScope",
                      "createdAt"
                    ],
                    "type": "object"
                  },
                  "uri": {
                    "format": "at-uri",
                    "type": "string"
                  }
                },
                "required": [
                  "uri",
                  "cid",
                  "author",
                  "record"
                ],
                "type": "object"
              },
              "type": "array"
            }
          },
          "required": [
            "rules"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "activeOnly": {
            "default": true,
            "type": "boolean"
          },
          "cursor": {
            "type": "string"
          },
          "limit": {
            "default": 20,
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          },
          "targetScope": {
            "ref": "net.atpix.gallery.defs#targetScope",
            "type": "ref"
          }
        },
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "net.atpix.gallery.listCollectionRules",
  "lexicon": 1
}