computer.localnetwork.directory.searchProjects

Search published projects. Only active projects unless status or includeInactive says otherwise. Sorts by relevance with q, by distance with a location, and newest first otherwise.

Repository @localnetwork.computer did:plc:d42l64gsczg6qh2vo243xv5l not from the namespace authority
Details · query
Kindquery
Authoritydirectory.localnetwork.computer
Commit rev3n2kad7ofwu2k
Indexed
cid bafyreiekwvaiq2l7wbmtbalrsksrjjfai4b7wqxkqru67272y5zldug4tq

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Search published projects. Only active projects unless status or includeInactive says otherwise. Sorts by relevance with q, by distance with a location, and newest first otherwise.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cursor": {
              "maxLength": 512,
              "type": "string"
            },
            "projects": {
              "items": {
                "ref": "computer.localnetwork.directory.defs#projectView",
                "type": "ref"
              },
              "type": "array"
            },
            "total": {
              "description": "Matching projects across every page.",
              "minimum": 0,
              "type": "integer"
            }
          },
          "required": [
            "projects",
            "total"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "country": {
            "description": "ISO 3166-1 alpha-2 code.",
            "maxLength": 2,
            "minLength": 2,
            "type": "string"
          },
          "cursor": {
            "maxLength": 512,
            "type": "string"
          },
          "feeTiers": {
            "items": {
              "maxLength": 48,
              "type": "string"
            },
            "maxLength": 10,
            "type": "array"
          },
          "formats": {
            "description": "Matches projects with any of these formats.",
            "items": {
              "maxLength": 48,
              "type": "string"
            },
            "maxLength": 10,
            "type": "array"
          },
          "genres": {
            "description": "Matches projects playing any of these genres or a close subgenre.",
            "items": {
              "maxLength": 48,
              "type": "string"
            },
            "maxLength": 20,
            "type": "array"
          },
          "includeInactive": {
            "default": false,
            "description": "Include hidden and archived projects.",
            "type": "boolean"
          },
          "kinds": {
            "items": {
              "maxLength": 48,
              "type": "string"
            },
            "maxLength": 10,
            "type": "array"
          },
          "latE6": {
            "description": "Latitude in millionths of a degree, like the record's location.latE6.",
            "maximum": 90000000,
            "minimum": -90000000,
            "type": "integer"
          },
          "limit": {
            "default": 24,
            "maximum": 60,
            "minimum": 1,
            "type": "integer"
          },
          "lngE6": {
            "description": "Longitude in millionths of a degree.",
            "maximum": 180000000,
            "minimum": -180000000,
            "type": "integer"
          },
          "manager": {
            "description": "Only projects this account manages.",
            "format": "did",
            "type": "string"
          },
          "q": {
            "description": "Words to find in names, taglines, bios, genres, and places. Each word matches as a prefix, and every word must match.",
            "maxLength": 100,
            "type": "string"
          },
          "radiusKm": {
            "default": 50,
            "maximum": 2000,
            "minimum": 1,
            "type": "integer"
          },
          "setTypes": {
            "description": "Matches projects doing any of these set types.",
            "items": {
              "maxLength": 48,
              "type": "string"
            },
            "maxLength": 10,
            "type": "array"
          },
          "sort": {
            "knownValues": [
              "relevance",
              "distance",
              "recent",
              "name"
            ],
            "maxLength": 32,
            "type": "string"
          },
          "status": {
            "description": "Only projects with this status.",
            "knownValues": [
              "active",
              "hidden",
              "archived"
            ],
            "maxLength": 32,
            "type": "string"
          },
          "unclaimed": {
            "default": false,
            "description": "Only projects nobody manages yet.",
            "type": "boolean"
          }
        },
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "computer.localnetwork.directory.searchProjects",
  "lexicon": 1
}