computer.localnetwork.directory.getProject

Get one published project by URI or slug. The output has no project when none matches. With counts, it also says how many press kits and upcoming shows the project's pages list and how many of its managers have DJ stats or sets on file, so they can hold room for them while those load.

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

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Get one published project by URI or slug. The output has no project when none matches. With counts, it also says how many press kits and upcoming shows the project's pages list and how many of its managers have DJ stats or sets on file, so they can hold room for them while those load.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "djs": {
              "description": "Managers of the project with a DJ stats or set record on file. Only with counts.",
              "minimum": 0,
              "type": "integer"
            },
            "pressKits": {
              "description": "Press kits naming the project, by the root or one of its managers, once each by record key. Only with counts.",
              "minimum": 0,
              "type": "integer"
            },
            "project": {
              "ref": "computer.localnetwork.directory.defs#projectView",
              "type": "ref"
            },
            "upcomingShows": {
              "description": "Upcoming shows of the project, as listShows lists them. Only with counts.",
              "minimum": 0,
              "type": "integer"
            }
          },
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "counts": {
            "description": "Also count the project's press kits, upcoming shows, and managers with DJ records.",
            "type": "boolean"
          },
          "slug": {
            "maxLength": 64,
            "type": "string"
          },
          "uri": {
            "format": "at-uri",
            "type": "string"
          }
        },
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "computer.localnetwork.directory.getProject",
  "lexicon": 1
}