Expand description
The GitHub data model shown by the GitHub board. Field names follow the JSON (camelCase).
Structs§
- Assignable
Response GET /api/gh/assignable: people who can be assigned (up to 100).- Diff
Response GET /api/gh/diff.- File
Response GET /api/gh/file: one file’s text, up to 1 MB.- GhCheck
- GhDiff
File - GhEvent
- GhItem
- One row.
idis the GraphQL node id (used for writes);keyisowner/name#number. - GhItem
Detail GET /api/gh/item?account=<login>&repo=<owner/name>&number=<n>.- GhLabel
- GhRepository
- A repository from GitHub’s repository search or
GET /user/repos. Field names follow GitHub’s REST JSON. - GhReviewer
- GhUser
- Image
GET /api/gh/image: an image’s bytes, up to 10 MB.- Merge
Target - The head commit and merge method shown to the viewer.
- Section
Def - One gh-dash-style section: a saved GitHub search.
- Section
Response GET /api/gh/section: up to 50 items, most recently updated first.
Enums§
- Check
RunState - Check
State - Event
Kind - GhFile
Status - GitHub’s file status, as the pulls files API reports it.
- Issue
State - Issue states: a subset of
PrState, whichGhItem::stateuses. - Item
Kind - Merge
Method - PrState
- Review
Decision - Review
Event - The review of
POST /api/gh/review. - Reviewer
State
Constants§
- SECTIONS
- The gh-dash-style sections (GH-03).
Functions§
- display_
name - The name, else the short login.
- image_
type - The image
Content-Typefor a repository path, by its extension. - short_
login - EMU logins end in the enterprise shortcode.