Skip to content

Get available issue templates for a repository

GET
/repos/{owner}/{repo}/issue_templates
owner
required
string

Owner of the repo

repo
required
string

Name of the repo

IssueTemplates

Media type application/json
Array<object>

IssueTemplate represents an issue template for a repository

object
about
string
body
Array<object>

IssueFormField represents a form field

object
attributes
object
key
additional properties
id
string
type
IssueFormFieldType defines issue form field type, can be "markdown", "textarea", "input", "dropdown" or "checkboxes"
string
validations
object
key
additional properties
visible
Array<string>
content
string
file_name
string
labels
Array<string>
name
string
ref
string
title
string
Example generated
[
{
"about": "example",
"body": [
{
"attributes": {
"additionalProperty": "example"
},
"id": "example",
"type": "example",
"validations": {
"additionalProperty": "example"
},
"visible": [
"example"
]
}
],
"content": "example",
"file_name": "example",
"labels": [
"example"
],
"name": "example",
"ref": "example",
"title": "example"
}
]

APINotFound is a not found error response

Media type application/json
object
errors
Array<string>
message
string
url
string
Example generated
{
"errors": [
"example"
],
"message": "example",
"url": "example"
}