org.cairnsproto.draft.getProject
One project at the version it routes under, with its policy, the procedures its courses name, a newer version waiting out its activation delay, and its forks.
Details · query
| Kind | query |
|---|---|
| Authority | draft.cairnsproto.org |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"forkView": {
"properties": {
"maintainers": {
"items": {
"format": "did",
"type": "string"
},
"type": "array"
},
"name": {
"maxLength": 640,
"type": "string"
},
"policy": {
"ref": "com.atproto.repo.strongRef",
"type": "ref"
},
"policyValue": {
"description": "The fork's policy record, so a client can show how it differs from the parent's.",
"type": "unknown"
},
"project": {
"ref": "com.atproto.repo.strongRef",
"type": "ref"
},
"status": {
"maxLength": 32,
"type": "string"
}
},
"required": [
"project",
"status",
"maintainers",
"policy"
],
"type": "object"
},
"main": {
"description": "One project at the version it routes under, with its policy, the procedures its courses name, a newer version waiting out its activation delay, and its forks.",
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"forks": {
"description": "Projects whose forkedFrom names this project, at the versions they route under.",
"items": {
"ref": "#forkView",
"type": "ref"
},
"type": "array"
},
"pending": {
"ref": "#pending",
"type": "ref"
},
"policy": {
"description": "The org.cairnsproto.draft.policy record the version names.",
"ref": "#recordView",
"type": "ref"
},
"procedures": {
"description": "The procedure each course names, in course order. A course without one, or whose procedure the indexer hasn't seen, is left out.",
"items": {
"ref": "#procedureView",
"type": "ref"
},
"type": "array"
},
"project": {
"ref": "com.atproto.repo.strongRef",
"type": "ref"
},
"seenRound": {
"description": "Quicknet round when the indexer first saw this version.",
"minimum": 1,
"type": "integer"
},
"value": {
"description": "The org.cairnsproto.draft.project record at that version.",
"type": "unknown"
}
},
"required": [
"project",
"value",
"policy",
"seenRound",
"procedures",
"forks"
],
"type": "object"
}
},
"parameters": {
"properties": {
"project": {
"format": "at-uri",
"type": "string"
}
},
"required": [
"project"
],
"type": "params"
},
"type": "query"
},
"pending": {
"description": "The newest version, when it is still waiting out the policy's activation delay.",
"properties": {
"activatesRound": {
"minimum": 1,
"type": "integer"
},
"policy": {
"description": "The policy the pending version names.",
"ref": "#recordView",
"type": "ref"
},
"project": {
"ref": "com.atproto.repo.strongRef",
"type": "ref"
},
"value": {
"description": "The pending org.cairnsproto.draft.project record.",
"type": "unknown"
}
},
"required": [
"project",
"activatesRound"
],
"type": "object"
},
"procedureView": {
"properties": {
"course": {
"maxLength": 128,
"type": "string"
},
"procedure": {
"description": "The org.cairnsproto.draft.procedure record. Inline bundles carry their files; blob and external bundles are references only.",
"ref": "#recordView",
"type": "ref"
}
},
"required": [
"course",
"procedure"
],
"type": "object"
},
"recordView": {
"properties": {
"cid": {
"format": "cid",
"type": "string"
},
"uri": {
"format": "at-uri",
"type": "string"
},
"value": {
"type": "unknown"
}
},
"required": [
"uri",
"cid",
"value"
],
"type": "object"
}
},
"id": "org.cairnsproto.draft.getProject",
"lexicon": 1
}