[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-698718-105":59,"doc-detail-698718-en":130,"doc-similar-698718":162},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","github-api-version-161-minimal-client-to-access-the-github-api","GitHub API - Version 1.6.1 - Minimal client to access the GitHub API","","Minimal R client package gh for accessing the GitHub API, with the core goal of substituting endpoint placeholders and sending remaining parameters as query strings for GET requests or JSON bodies for other methods. Includes an application stub fake_github_app that implements the required subset of the GitHub REST API for the gh test suite without contacting the real API. Supports authentication via tokens shaped like GitHub PATs and rejects invalid tokens with clear HTTP 401 errors. Parsed responses are returned as R lists via jsonlite::fromJSON().",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":30,"@type":76,"position":81},"https://docshare.wps.com/document/technology/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/github-api-version-161-minimal-client-to-access-the-github-api/698718/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/github-api-version-161-minimal-client-to-access-the-github-api/698718.png","ImageObject",300,407,{"name":92,"@type":93},"SANS","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-26","2026-11-12",true,{"@type":102,"interactionType":103,"userInteractionCount":29},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What does fake_github_app do, and how is it used?","Question",{"text":112,"@type":113},"fake_github_app() creates a webfakes application implementing the subset of the GitHub REST API needed by the gh test suite. It can be exported for downstream packages to test GitHub-backed code without calling the real API.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"How does gh build requests from the endpoint and parameters?",{"text":117,"@type":113},"gh substitutes listed parameters into endpoint placeholders using {parameter} notation. For GET requests it adds remaining parameters as query parameters; for non-GET it sends remaining parameters in the request body as JSON.",{"name":119,"@type":110,"acceptedAnswer":120},"What authentication tokens does fake_github_app accept?",{"text":121,"@type":113},"It accepts tokens matching a valid GitHub PAT shape: 40 hex characters or prefixes like ghp_, github_pat_, ghs_, ghr_, gho_, or ghu_. Non-empty invalid tokens are rejected with 401 \"Bad credentials\", and missing Authorization headers yield 401 \"Requires authentication\" for user-required endpoints.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},698718,1794455143,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":29,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":129,"read_time":144,"preview_page_count":19,"preview_urls":145},962090760505,"https://ap-avatar.wpscdn.com/davatar_155a257f0dc6eb9ab79c44ca47cae57d","Package ‘gh’  \nJuly 20, 2026  \nTitle 'GitHub' 'API'Version 1.6.1  \nDescription Minimal client to access the 'GitHub' 'API'.  \nLicense MIT + file LICENSE  \nURL [https://gh. r-lib.org/](https://gh. r-lib.org/), [https://github.com/r-lib/gh](https://github.com/r-lib/gh)[ ](https://github.com/r-lib/gh)BugReports [https://github.com/r-lib/gh/issues](https://github.com/r-lib/gh/issues)[ ](https://github.com/r-lib/gh/issues)Depends R (>= 4.1)  \nImports cli (>= 3.0.1), gitcreds, glue, httr2 (>= 1.0.6), ini, jsonlite, lifecycle, rlang (>= 1.1.0)  \nSuggests connectcreds, covr, knitr, rmarkdown, rprojroot, spelling, testthat (>= 3.0.0), vctrs, webfakes (>= 1.5.0), withr  \nVignetteBuilder knitr  \nConfig/Needs/website tidyverse/tidytemplate Config/testthat/edition 3  \nConfig/usethis/last-upkeep 2025-04-29 Encoding UTF-8  \nLanguage en-US  \nConfig/roxygen2/version 8.0.0 NeedsCompilation no Author Gábor Csárdi [cre, ctb],  \nJennifer Bryan [aut],  \nHadley Wickham [aut],  \nPosit Software, PBC [cph, fnd](ROR: \u003C[https://ror.org/03wc8by49](https://ror.org/03wc8by49)>)  \nMaintainer Gábor Csárdi \u003C[csardi.gabor@gmail.com](csardi.gabor@gmail.com)> Repository CRAN  \nDate/Publication 2026-07-20 10:20:02 UTC  \nContents  \nfake_github_app ...................................... 2  \ngh .............................................. 3  \ngh_gql ............................................ 7  \ngh_next ........................................... 8  \ngh_rate_limit ........................................ 9  \ngh_token .......................................... 10  \ngh_tree_remote ....................................... 11  \ngh_whoami ......................................... 11  \n[print.gh_response ......................................](print.gh_response ...................................... 13)[ 13](print.gh_response ...................................... 13)  \nIndex 14  \n\n| fake_github_app | Afake GitHub web app |\n| --- | --- |\n\nDescription  \nA webfakes::new_app() application that implements the subset of the GitHub REST API needed by the gh test suite. It is exported so that downstream packages that depend on gh can use it to test their own GitHub-backed code without hitting the real API.  \nUsage  \nfake_github_app()  \nDetails  \nThe app accepts any token whose shape is a valid GitHub PAT (40 hex characters or a ghp_ / github_pat_ / ghs_ / ghr_ / gho_ / ghu_ prefix) . Any other non-empty token is rejected with a 401 \"Bad credentials\". A missing Authorization header yields a 401 \"Requires authentication\"  \nfor endpoints that need a user.  \nValue  \nA webfakes_app object.  \nExamples  \napp \u003C - fake_github_app()  \nproc \u003C -webfakes::new_app_process(app)  \nproc$url()  \nproc$stop()  \ngh 3  \n\n| gh | Query the GitHub API |\n| --- | --- |\n\nDescription  \nThis is an extremely minimal client. You need to know the API to be able to use this client. All this function does is:  \n• Try to substitute each listed parameter into endpoint, using the {parameter} notation.  \n• If a GET request (the default), then add all other listed parameters as query parameters.  \n• If not a GET request, then send the other parameters in the request body, as JSON.  \n• Convert the response to an R list using jsonlite::fromJSON() .  \nUsage  \ngh(  \nendpoint,  \n. . . ,  \nper_page = NULL,  \n.per_page = NULL,  \n.token = NULL,  \n.destfile = NULL,  \n.overwrite = FALSE,  \n.api_url = NULL,  \n.method = \"GET\",  \n.limit = NULL,  \n.accept = \"application/vnd.github.v3+json\",  \n.send_headers = NULL,  \n.progress = TRUE,  \n.params = list(),  \n.max_wait = 600,  \n.max_rate = NULL  \n)  \nArguments  \nendpoint GitHub API endpoint. Must be one of the following forms:  \n• METHOD path, e.g. GET /rate_limit,  \n• path, e.g. /rate_limit,  \n• METHOD url, e.g. GET [https://api.github.com/rate_limit](https://api.github.com/rate_limit),  \n• url, e.g. [https://api.github.com/rate_limit](https://api.github.com/rate_limit).  \nIf the method is not supplied, will use .method, which defaults to \"GET\".  \n... Name-value pairs giving API par","cbCaiqhl3cxMd21U","https://ap.wps.com/l/cbCaiqhl3cxMd21U","pdf",112233,14,"English","# fake_github_app\n# gh\n## Usage\n## Arguments\n# gh_gql\n# gh_next\n# gh_rate_limit\n# gh_token\n# gh_tree_remote\n# gh_whoami","[{\"question\":\"What does fake_github_app do, and how is it used?\",\"answer\":\"fake_github_app() creates a webfakes application implementing the subset of the GitHub REST API needed by the gh test suite. It can be exported for downstream packages to test GitHub-backed code without calling the real API.\"},{\"question\":\"How does gh build requests from the endpoint and parameters?\",\"answer\":\"gh substitutes listed parameters into endpoint placeholders using {parameter} notation. For GET requests it adds remaining parameters as query parameters; for non-GET it sends remaining parameters in the request body as JSON.\"},{\"question\":\"What authentication tokens does fake_github_app accept?\",\"answer\":\"It accepts tokens matching a valid GitHub PAT shape: 40 hex characters or prefixes like ghp_, github_pat_, ghs_, ghr_, gho_, or ghu_. Non-empty invalid tokens are rejected with 401 \\\"Bad credentials\\\", and missing Authorization headers yield 401 \\\"Requires authentication\\\" for user-required endpoints.\"}]","GitHub API - Version 1.6.1 - Minimal client to access the GitHub API | PDF",35,[146,150,154,158],{"page_no":8,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/88ad6dd6d063c1a66ce809822104ad18.webp",983,1272,{"page_no":14,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/da25d55340fae9c93dda94327ce55699.webp",982,1270,{"page_no":81,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/7e5cfa7e3da75dd978a03671d8dbd031.webp",981,1269,{"page_no":19,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/a54fc7a621a921bbff5ed24dff0754c5.webp",980,1268,{"list":163,"token":66},[164,170,176,183,189,195,202,209,216,223],{"doc_id":165,"doc_title":166,"file_type":137,"home_preview_img_url":167,"slug":168,"view_count":56,"category_name":30,"create_tm":169},489345,"C++ REST API - Coposky - iRODS User Group Meeting 2021 Virtual Event","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229927229958/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=OG1kvDUo4%2BArde0J1q%2B27AE%2Fwqs%3D","c-rest-api-coposky-irods-user-group-meeting-2021-virtual-event",1790822343,{"doc_id":171,"doc_title":172,"file_type":137,"home_preview_img_url":173,"slug":174,"view_count":19,"category_name":30,"create_tm":175},733834,"Minnesota Department of Revenue - Sales Tax API Developer Document","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230031804102/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=T%2FOlsZdAPNYEbpl%2BFV5P3h5ZHaE%3D","minnesota-department-of-revenue-sales-tax-api-developer-document",1795387987,{"doc_id":177,"doc_title":178,"file_type":137,"home_preview_img_url":179,"slug":180,"view_count":181,"category_name":30,"create_tm":182},417800,"Athena-Client - A Community Python SDK for Programmatic Access to the OHDSI Athena Vocabulary Repository","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229922495580/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=51SKXiLC2%2F4X9pUaz8KiS19TxcY%3D","athena-client-a-community-python-sdk-for-programmatic-access-to-the-ohdsi-athena-vocabulary-repository",21,1790610657,{"doc_id":184,"doc_title":185,"file_type":137,"home_preview_img_url":186,"slug":187,"view_count":19,"category_name":30,"create_tm":188},732912,"API Platform - Error Response Reference Guide - Version 3.0","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230031780826/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=ZrwYl6w2cUAzfteEfFt%2FfUkMdnc%3D","api-platform-error-response-reference-guide-version-30",1795382821,{"doc_id":190,"doc_title":191,"file_type":137,"home_preview_img_url":192,"slug":193,"view_count":52,"category_name":30,"create_tm":194},512859,"gWidgets2tcltk - Toolkit Implementation of gWidgets2 for tcltk - Maintainer John Verzani","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229936502558/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=kMYYRPukVtG8MSFmA7xnG8F4kxM%3D","gwidgets2tcltk-toolkit-implementation-of-gwidgets2-for-tcltk-maintainer-john-verzani",1791276928,{"doc_id":196,"doc_title":197,"file_type":137,"home_preview_img_url":198,"slug":199,"view_count":200,"category_name":30,"create_tm":201},115355,"Claude AI Bible - The Complete Guide to Mastering Claude, Claude Code, Claude Cowork, MCP, AI Agents, Automation & Advanced Prompting","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229831893665/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=IsjQE1Wfge2RQ0HOBgUvCamXdK4%3D","claude-ai-bible-the-complete-guide-to-mastering-claude-claude-code-claude-cowork-mcp-ai-agents-automation-advanced-prompting",913,1785472614,{"doc_id":203,"doc_title":204,"file_type":137,"home_preview_img_url":205,"slug":206,"view_count":207,"category_name":30,"create_tm":208},185,"XNX Universal Transmitter Installation Manual (Complete Guide) [Honeywell Official]","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229693710157/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=2KP8MxIgWiA%2FGLyvfrU7Y2qcsFU%3D","xnx-universal-transmitter-installation-manual",855,1776135954,{"doc_id":210,"doc_title":211,"file_type":137,"home_preview_img_url":212,"slug":213,"view_count":214,"category_name":30,"create_tm":215},299143,"THE CANDLESTICK TRADING BIBLE - Trading Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229905832418/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=eCUky7tEkQThHnvITUZPBIFqcl0%3D","the-candlestick-trading-bible-trading-guide",804,1789767270,{"doc_id":217,"doc_title":218,"file_type":137,"home_preview_img_url":219,"slug":220,"view_count":221,"category_name":30,"create_tm":222},176,"Free Fire Proxy Server","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229693709822/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=XDehW%2FiYcuhBa%2BEzOCyDA%2B97zuM%3D","free-fire-proxy-server",565,1776135932,{"doc_id":224,"doc_title":225,"file_type":137,"home_preview_img_url":226,"slug":227,"view_count":228,"category_name":30,"create_tm":229},129220,"Operations and Supply Chain Management - Eleventh Edition - Dedicated to students and faculty","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229840674154/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=1b1Vd%2F4LUhW7hCfuAbUCBNqOOW4%3D","operations-and-supply-chain-management-eleventh-edition-dedicated-to-students-and-faculty",498,1786012506]