dev.knotless.queuePull
Puts an open pull at the back of its target branch's merge queue, as `knotless pull merge --queue` does, as the account logged in to this appview's web pages, and returns at once with its place: a runner the repository names lands it with the batch it is in once that passes. One queued already keeps its place. The owner and collaborators may, in a repository that names runners. Requires the session cookie the pages' login sets.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | knotless.dev |
| Indexed |
Checks
Validunlimited-stringdefs.main.output.schema.properties.baseNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.output.schema.properties.ejectedBeforeNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Puts an open pull at the back of its target branch's merge queue, as `knotless pull merge --queue` does, as the account logged in to this appview's web pages, and returns at once with its place: a runner the repository names lands it with the batch it is in once that passes. One queued already keeps its place. The owner and collaborators may, in a repository that names runners. Requires the session cookie the pages' login sets.",
"errors": [
{
"description": "No such repository.",
"name": "NotFound"
},
{
"description": "No account is logged in to the pages, or its session has ended.",
"name": "AuthenticationRequired"
},
{
"description": "It was not queued, as the reason says.",
"name": "UpstreamFailure"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"pull": {
"description": "The dev.knotless.pull record.",
"format": "at-uri",
"type": "string"
},
"repo": {
"description": "The repository's dev.knotless.repo record, as dev.knotless.getRepo takes it.",
"format": "at-uri",
"type": "string"
}
},
"required": [
"repo",
"pull"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"base": {
"description": "The branch whose queue it is in.",
"type": "string"
},
"ejectedBefore": {
"description": "Queued again at the very head the queue last ejected, why it was: unless that was not the pull's doing, it will be ejected again.",
"type": "string"
},
"of": {
"description": "How many are queued there.",
"minimum": 1,
"type": "integer"
},
"position": {
"description": "Its place in that queue, from 1.",
"minimum": 1,
"type": "integer"
}
},
"required": [
"base",
"position",
"of"
],
"type": "object"
}
},
"type": "procedure"
}
},
"description": "Puts a pull in its branch's merge queue as the account logged in to this appview's pages.",
"id": "dev.knotless.queuePull",
"lexicon": 1
}