Any additional parameter will be passed as follows
':parameter' or {parameter} is part of urlmethod is 'GET' or 'HEAD'parameter is 'data'body[parameter] unless parameter key is 'data'OptionalbaseBase URL to be used when a relative URL is passed, such as /orgs/{org}.
If baseUrl is https://enterprise.acme-inc.com/api/v3, then the request
will be sent to https://enterprise.acme-inc.com/api/v3/orgs/{org}.
OptionalheadersHTTP headers. Use lowercase keys.
OptionalmediaMedia type options, see Developer Guide
Optionalformat?: stringjson by default. Can be raw, text, html, full, diff, patch, sha, base64. Depending on endpoint
Optionalpreviews?: string[]Custom media type names of API Previews without the -preview suffix.
Example for single preview: ['squirrel-girl'].
Example for multiple previews: ['squirrel-girl', 'mister-fantastic'].
OptionaloperationThe name of the operation to execute. Required only if multiple operations are present in the query document.
OptionalqueryThe GraphQL query string to be sent in the request. This is required and must contain a valid GraphQL document.
OptionalrequestPass custom meta information for the request. The request object will be returned as is.
Parameters that can be passed into
request(route, parameters)orendpoint(route, parameters)methods