A repository's settings, read from its dev.knotless.repo record as its PDS has it now, for the pages' settings to show and change. All of it is public, as the record is.
Parameters
Output
application/jsoncollaborators
array
Required
The accounts that may push to it.
defaultBranch
string
Optional
The branch its record names for HEAD, without refs/heads/.
delegated
stringdid
Optional
The gateway its owner delegated writes to from this appview's pages (dev.knotless.delegateWrites), which sharing it for writing names as its gateway; absent until they have.
description
string
Optional
What the repository says it is.
gateway
stringdid
Optional
The gateway the owner delegated writes to, through which collaborators push: absent until the owner delegates.
indexed
boolean
Optional
Deprecated, and no longer set: knotless.dev indexes every private repository its members read there. Was, for a private repository, whether its owner let this appview keep an index of it.
labels
array
Required
The labels its pulls and issues may carry.
links
array
Optional
The links its pages show, in order, as its record names them.
readers
array
Optional
For a private repository, asked by its owner, the members who read it but do not push to it, its runners among them; absent for a public one, which anyone reads, and empty to anyone else.
rules
array
Required
Its protected branches.
storage
ref#storageView
Optional
What it takes up on its owner's PDS; absent if that could not be read.
transfer
refdev.knotless.defs#repoViewBasic
Optional
Where the owner has offered to move it, if they have: the account, and the name it would have there.
triagers
array
Required
The accounts whose labels of some scopes count.
uri
stringat-uri
Required
Its dev.knotless.repo record, under the name it has now.
Errors
NotFound
No such repository. Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"description": "A repository's settings, read from its dev.knotless.repo record as its PDS has it now, for the pages' settings to show and change. All of it is public, as the record is.",
"errors": [
{
"description": "No such repository.",
"name": "NotFound"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"collaborators": {
"description": "The accounts that may push to it.",
"items": {
"ref": "dev.knotless.defs#actorView",
"type": "ref"
},
"type": "array"
},
"defaultBranch": {
"description": "The branch its record names for HEAD, without refs/heads/.",
"type": "string"
},
"delegated": {
"description": "The gateway its owner delegated writes to from this appview's pages (dev.knotless.delegateWrites), which sharing it for writing names as its gateway; absent until they have.",
"format": "did",
"type": "string"
},
"description": {
"description": "What the repository says it is.",
"type": "string"
},
"gateway": {
"description": "The gateway the owner delegated writes to, through which collaborators push: absent until the owner delegates.",
"format": "did",
"type": "string"
},
"indexed": {
"description": "Deprecated, and no longer set: knotless.dev indexes every private repository its members read there. Was, for a private repository, whether its owner let this appview keep an index of it.",
"type": "boolean"
},
"labels": {
"description": "The labels its pulls and issues may carry.",
"items": {
"ref": "dev.knotless.repo#label",
"type": "ref"
},
"type": "array"
},
"links": {
"description": "The links its pages show, in order, as its record names them.",
"items": {
"ref": "dev.knotless.defs#link",
"type": "ref"
},
"type": "array"
},
"readers": {
"description": "For a private repository, asked by its owner, the members who read it but do not push to it, its runners among them; absent for a public one, which anyone reads, and empty to anyone else.",
"items": {
"ref": "dev.knotless.defs#actorView",
"type": "ref"
},
"type": "array"
},
"rules": {
"description": "Its protected branches.",
"items": {
"ref": "dev.knotless.repo#rule",
"type": "ref"
},
"type": "array"
},
"storage": {
"description": "What it takes up on its owner's PDS; absent if that could not be read.",
"ref": "#storageView",
"type": "ref"
},
"transfer": {
"description": "Where the owner has offered to move it, if they have: the account, and the name it would have there.",
"ref": "dev.knotless.defs#repoViewBasic",
"type": "ref"
},
"triagers": {
"description": "The accounts whose labels of some scopes count.",
"items": {
"ref": "#triagerView",
"type": "ref"
},
"type": "array"
},
"uri": {
"description": "Its dev.knotless.repo record, under the name it has now.",
"format": "at-uri",
"type": "string"
}
},
"required": [
"uri",
"rules",
"labels",
"collaborators",
"triagers"
],
"type": "object"
}
},
"parameters": {
"properties": {
"repo": {
"description": "The repository's dev.knotless.repo record, as dev.knotless.getRepo takes it.",
"format": "at-uri",
"type": "string"
}
},
"required": [
"repo"
],
"type": "params"
},
"type": "query"
}