dev.knotless.getTemplate

The template a repository asks its pulls or issues to be written from, as `knotless pull template` reads it: `.knotless/pull.md` or `.knotless/issue.md`, at a pull's base branch or else the default branch. Opening one whose body has none of the template's sections is refused. No authentication; responses are not personalized.

Details · query
Kindquery
Authorityknotless.dev
Indexed

Showing version bafyreidpsxcoadfidg2kh4dsdndweo4t4izhwnizgzfqq3uu6wubjehnri. Show the latest

Query

query · GET

Parameters

query string

base

string

For a pull, the branch it is to merge into: the template there.

  • maxLength: 1024

kind

requiredstring

What is to be opened.

  • maxLength: 64
  • knownValues: pull | issue

repo

requiredstring · at-uri

The repository's dev.knotless.repo record. Its authority may be a handle.

Output

application/json

template

string

The template, in Markdown; absent when the repository has none.

Errors

NotFound

No such repository.

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.