-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Description
In addition to the custom media type to specify API version, some methods support a (raw, full, etc): https://developer.github.com/v3/media/
It'd be useful to be able to specify these per-request. I'm not sure how the best way to do that would be, as currently, you can pass in data to get, but it's treated as a query string.
A workaround for now is to make a new github instance with a custom apiVersion like:
github = require('githubot')(robot, apiVersion: 'v3.raw')You'd have to make other instances if you wanted a different property though.
Metadata
Metadata
Assignees
Labels
No labels