You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sources/issues/Client.swift
+139Lines changed: 139 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -4450,6 +4450,145 @@ public struct Client: APIProtocol {
4450
4450
}
4451
4451
)
4452
4452
}
4453
+
/// Get parent issue
4454
+
///
4455
+
/// You can use the REST API to get the parent issue of a sub-issue.
4456
+
///
4457
+
/// This endpoint supports the following custom media types. For more information, see [Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).
4458
+
///
4459
+
/// - **`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.
4460
+
/// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
4461
+
/// - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
4462
+
/// - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.
0 commit comments