pub async fn issues_slash_create(
configuration: &Configuration,
owner: &str,
repo: &str,
issues_create_request: IssuesCreateRequest,
) -> Result<Issue, Error<IssuesSlashCreateError>>
Expand description
Any user with pull access to a repository can create an issue. If issues are disabled in the repository, the API returns a 410 Gone
status. This endpoint triggers notifications. Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "Rate limits for the API" and "Best practices for using the REST API." This endpoint supports the following custom media types. For more information, see "Media types." - application/vnd.github.raw+json
: Returns the raw markdown body. Response will include body
. This is the default if you do not pass any specific media type. - application/vnd.github.text+json
: Returns a text only representation of the markdown body. Response will include body_text
. - application/vnd.github.html+json
: Returns HTML rendered from the body’s markdown. Response will include body_html
. - application/vnd.github.full+json
: Returns raw, text, and HTML representations. Response will include body
, body_text
, and body_html
.