{"id":168898,"date":"2024-12-19T15:56:42","date_gmt":"2024-12-19T06:56:42","guid":{"rendered":"https:\/\/support.questetra.com\/developer-blog\/github-add-repository-collaborator\/"},"modified":"2024-12-19T16:02:47","modified_gmt":"2024-12-19T07:02:47","slug":"github-add-repository-collaborator","status":"publish","type":"post","link":"https:\/\/support.questetra.com\/ja\/bpmn-icons\/github-add-repository-collaborator\/","title":{"rendered":"GitHub: \u30ea\u30dd\u30b8\u30c8\u30ea\u30b3\u30e9\u30dc\u30ec\u30fc\u30bf\u30fc\u8ffd\u52a0"},"content":{"rendered":"\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"58\" data-attachment-id=\"113157\" data-permalink=\"https:\/\/support.questetra.com\/ja\/developer-blog\/how-to-use-timer-start-event\/attachment\/advanced-banner-new-ja\/\" data-orig-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/05\/advanced-banner-new-ja.png?fit=1199%2C68&amp;ssl=1\" data-orig-size=\"1199,68\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"advanced-banner-new-ja\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/05\/advanced-banner-new-ja.png?fit=1024%2C58&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/05\/advanced-banner-new-ja.png?resize=1024%2C58&#038;ssl=1\" alt=\"\" class=\"wp-image-113157\" srcset=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/05\/advanced-banner-new-ja.png?resize=1024%2C58&amp;ssl=1 1024w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/05\/advanced-banner-new-ja.png?resize=600%2C34&amp;ssl=1 600w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/05\/advanced-banner-new-ja.png?resize=768%2C44&amp;ssl=1 768w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/05\/advanced-banner-new-ja.png?w=1199&amp;ssl=1 1199w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/figure>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h4 class=\"wp-block-heading has-background\" style=\"background-color:#ccffcc;margin-top:var(--wp--preset--spacing--30);margin-right:0;margin-bottom:0;margin-left:0;padding-top:0;padding-right:var(--wp--preset--spacing--20);padding-bottom:0;padding-left:var(--wp--preset--spacing--20)\"><strong>GitHub: \u30ea\u30dd\u30b8\u30c8\u30ea\u30b3\u30e9\u30dc\u30ec\u30fc\u30bf\u30fc\u8ffd\u52a0<\/strong><\/h4>\n\n\n\n<p class=\"has-text-align-right has-background has-small-font-size mt-0 pt-0 wp-block-paragraph\" style=\"background-color:#ccffcc;margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;padding-top:0;padding-right:var(--wp--preset--spacing--30);padding-bottom:0;padding-left:var(--wp--preset--spacing--30)\"><a href=\"https:\/\/support.questetra.com\/bpmn-icons\/service-task-github-repository-collaborator-add\/\">GitHub: Add Repository Collaborator<\/a><\/p>\n\n\n\n<p class=\"has-background mt-0 pt-0 wp-block-paragraph\" style=\"background-color:#f0fff0;margin-top:0;margin-right:0;margin-bottom:var(--wp--preset--spacing--60);margin-left:0;padding-top:var(--wp--preset--spacing--20);padding-right:var(--wp--preset--spacing--30);padding-bottom:var(--wp--preset--spacing--20);padding-left:var(--wp--preset--spacing--40)\">\u3053\u306e\u5de5\u7a0b\u306f\u3001GitHub \u306e\u6307\u5b9a\u3057\u305f\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u30b3\u30e9\u30dc\u30ec\u30fc\u30bf\u30fc\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-coblocks-accordion\">\n<div class=\"wp-block-coblocks-accordion-item\"><details open><summary class=\"wp-block-coblocks-accordion-item__title\">Basic Configs<\/summary><div class=\"wp-block-coblocks-accordion-item__content\">\n<dl style=\"0 0 -0.7em 0\">\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #C3C3C3;\"><\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">\u5de5\u7a0b\u540d<\/dd>\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #C3C3C3;\"><\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">\u30e1\u30e2<\/dd>\n<\/dl>\n<\/div><\/details><\/div>\n<\/div>\n\n\n\n<figure class=\"wp-block-image alignright has-custom-border is-style-default\"><img decoding=\"async\" src=\"data:image;base64,\n        iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABM9JREFUWEfF\n        V2tQlFUYfs4ugiKgePkTiE3gCIssGWRhg1EwaE2OUZNjVDIFEwyJM12MSZKgokkNUdZNMhwCCg0p\n        Bi8UxGVRblkgLHFJ12ZipImBLiAOg7h7mvfT\/dz99lt2sR+8v3bPe3vOez0fw\/+gqKgoF1LX6XQ3\n        79YMc1bxvuBgP2ZSRjHGH4SJqcCwGsCi2\/pj4PgVCt7HOfuJK4y633p7B52x7RBAgCo0GCYeD4bn\n        AKxyxiiAy+A4CQUrM\/R1986kYxdAWFjYvH8nb6YoOE\/igNpJx1ZiDNCbGCtcvMCloKOjY1rOhiyA\n        ALXal93gb3PG0u7GsVSHca7hrmyfQa+\/asOTHpBzTCMLQKIj5wqFAiaTyZGYmX8M85AlBWEVAQr7\n        +PUbufZu7uvrg+SkV3B\/aAj8VqyAu7u7AGB09C8MXLqEH+oacKK8wi4gioTXQtc3LdNhBcBfFZrG\n        OM+Xs7AjNRlpqSmgW89Evw8OIiExGUNDf8iKccZ2Xunr1piZIgCqdsZ5mbTgvL0Xo7ysFPeu9HM2\n        1EJU9uXm4VhRiY0OFSZnLN7cHXcABKpzwLBbqlH1zddQBQU67dxScGv8dlzs6rbV5fjIMKDPIIYA\n        gIaMwqSsk\/b5i\/Hb8N677wgGJicnsSfrA6S9loKVfn7CLaempqBUKuHq6gqj0Sjkf8H8+Xgmboug\n        MzY2hnWPRMkV6mWTwhhDw0oA4B+k3s6AYkuoi7y80N7cCBcXYdqCchuzabPwe\/nyZRgZGRXFyanS\n        RYmJieuIeGgdSoo+F3nfVlYhPSPTJgocSLjSry8RAASoQjTgbIelVPy2rcjOFKIk0MjoKNZviHaY\n        Crr93pz3Rbmx8XGEPxxpq8f4YUNfT9otAIHqejA8bil1+GAuNsbGiEd0C7qNI6IuudDaBIqgmQJD\n        1sJolMwLjgbDgD76FoAgNU0oH0vjjbXVoL4nonyvXrPWkW+Rn5+3H09sjBX\/U1u2trVL9YcM\/Xpf\n        Riv16vDf\/wDwsJT45eIFuLm5CUdUYIEhDzgN4OOcbDwb97Qor9EWIF97RKo\/YejXe9oF0Ha+AcuW\n        LhWV1j8abVV4M6GpPHkca4JVoshb6btRdfqsPAB7Kag48SVC1SGiErUYtaEjWrLEGy26OrF7SD7y\n        sVj8OTwsnwJ7RUgdQJ1gSY4KkSJGwH187hHV7KbPqghl2pBGcPv5RmH2U89T7xNRO3Z2diEjMxvU\n        YkQ0sOK2bBbCLt0V39XUYufru2wDZ9mGcoOINPI+2YunntyE6elpYcq99MLzgiGacOERG0SjSS8n\n        IH3XGzZOqHvCIyJx7dqEDc9qENkbxR4eC9FUXwMvT090detxvLwCqwL8cfpMNfr6B0SjFJ3Wpnob\n        J3n5WnxacFSubKxH8e06kF1GVFS11aeEwUKjVt\/TA925ZhQVl4qG6V3Q\/XOblSPtkaM4qNHK16x0\n        GQkA7Kxj4lE9fFH4mbgVzzW3IPHVVNG4p6cHOn9sEf7Tgtp\/4BCKS7+SdW53HZP0TA8S4lNbfpi9\n        B1WnzqKw6M7uooX1\/ZlK1NTW4cAhje3YtYBi90FCMo6eZPLxdP7U4ZNMSMUsHqXOuxYkHT9KzQbn\n        9FluBjGnHyaWoZ2zTzNpfufs43SWhTZr8f8AaTovPzYDLOEAAAAASUVORK5CYII=\n    \" alt=\"Auto Step icon\" class=\"has-border-color has-ast-global-color-4-border-color\" style=\"border-width:0.5em\"\/><\/figure>\n\n\n\n<div class=\"wp-block-coblocks-accordion\">\n<div class=\"wp-block-coblocks-accordion-item\"><details open><summary class=\"wp-block-coblocks-accordion-item__title\">Configs for this Auto Step<\/summary><div class=\"wp-block-coblocks-accordion-item__content\">\n<dl style=\"0 0 -0.7em 0\">\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #aaa;\">conf_Auth<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">C1: \u500b\u4eba\u7528\u30a2\u30af\u30bb\u30b9\u30c8\u30fc\u30af\u30f3\uff08fine-grained\uff09<span style=\"color:#990000;\"> *<\/span><\/dd>\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #aaa;\">conf_RepositoryUrl<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">C2: \u30ea\u30dd\u30b8\u30c8\u30ea\u306e URL (<a href=\"https:\/\/github.com\/\" rel=\"nofollow\">https:\/\/github.com\/<\/a>{owner}\/{repository})<span style=\"color:#990000;\"> *<\/span><\/dd>\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #aaa;\">conf_UserName<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">C3: \u62db\u5f85\u3059\u308b GitHub \u30e6\u30fc\u30b6\u306e\u30cf\u30f3\u30c9\u30eb\u540d<span style=\"color:#990000;\"> *<\/span><\/dd>\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #aaa;\">conf_Permission<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">C4: \u4ed8\u4e0e\u3059\u308b\u6a29\u9650\uff08\u7d44\u7e54\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3067\u306e\u307f\u6709\u52b9\uff09<\/dd>\n\n<\/dl>\n<\/div><\/details><\/div>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\" style=\"margin-top:var(--wp--preset--spacing--60)\"><span style=\"text-decoration: underline;\">Notes<\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u500b\u4eba\u7528\u30a2\u30af\u30bb\u30b9\u30c8\u30fc\u30af\u30f3\uff08fine-grained\uff09\u306e\u4f5c\u6210\u65b9\u6cd5\u306b\u3064\u3044\u3066\u306f\u3001<a href=\"https:\/\/docs.github.com\/ja\/authentication\/keeping-your-account-and-data-secure\/managing-your-personal-access-tokens#fine-grained-personal-access-token-%E3%81%AE%E4%BD%9C%E6%88%90\" target=\"_blank\" rel=\"noreferrer noopener\">GitHub \u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8<\/a>\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\n<ul class=\"wp-block-list\">\n<li>\u30ea\u30dd\u30b8\u30c8\u30ea\u30b3\u30e9\u30dc\u30ec\u30fc\u30bf\u306e\u8ffd\u52a0\u306b\u306f\u3001Repository permissions &gt; Administration &gt; Read and Write \u306e\u30a2\u30af\u30bb\u30b9\u8a31\u53ef\u304c\u5fc5\u8981\u3067\u3059<\/li>\n<\/ul>\n<\/li>\n\n<\/ul>\n\n\n\n\n<h3 class=\"wp-block-heading\" style=\"margin-top:var(--wp--preset--spacing--60)\"><span style=\"text-decoration: underline;\">Capture<\/span><\/h3>\n\n\n\n\n\n<figure class=\"wp-block-image size-full is-resized has-custom-border\"><img data-recalc-dims=\"1\" decoding=\"async\" data-attachment-id=\"150497\" data-permalink=\"https:\/\/support.questetra.com\/ja\/templates\/meeting-report-20230915\/attachment\/trello-card-create_capture_ja-2\/\" data-orig-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/08\/trello-card-create_capture_ja.png?fit=1192%2C1474&amp;ssl=1\" data-orig-size=\"1192,1474\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"trello-card-create_capture_ja\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/08\/trello-card-create_capture_ja.png?fit=509%2C630&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/12\/GitHub_%E3%83%AA%E3%83%9D%E3%82%B8%E3%83%88%E3%83%AA%E3%82%B3%E3%83%A9%E3%83%9C%E3%83%AC%E3%83%BC%E3%82%BF%E3%83%BC%E8%BF%BD%E5%8A%A0_16_2_ja.png?ssl=1\" alt=\"\" class=\"has-border-color wp-image-150497\" style=\"border-color:#009900;border-width:3px;border-radius:9px;width:700px\"\/><\/figure>\n\n\n\n\n\n<h3 class=\"wp-block-heading\" style=\"margin-top:var(--wp--preset--spacing--60)\"><span style=\"text-decoration: underline;\">See Also<\/span><\/h3>\n\n\n\n\n\n<ul class=\"wp-block-list\">\n\n<li><a rel=\"noreferrer noopener\" href=\"https:\/\/support.questetra.com\/ja\/bpmn-icons\/intermediate-error-catch-event-boundary-type\/\" target=\"_blank\">\u30a8\u30e9\u30fc\u5883\u754c\u30a4\u30d9\u30f3\u30c8<\/a><\/li>\n\n<\/ul>\n\n\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n\n\n<div class=\"wp-block-coblocks-accordion\">\n\n<div class=\"wp-block-coblocks-accordion-item\">\n<details>\n<summary class=\"wp-block-coblocks-accordion-item__title\">Script (click to open)<\/summary>\n<div class=\"wp-block-coblocks-accordion-item__content\">\n\n\n<ul class=\"wp-block-list\">\n\n\n<li>\u6b21\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u304c\u8a18\u8ff0\u3055\u308c\u3066\u3044\u308b XML \u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3067\u304d\u307e\u3059\n\n<ul class=\"wp-block-list\">\n\n\n<li><a href=\"https:\/\/raw.githubusercontent.com\/Questetra\/Addon-XML\/release-2024-09-24\/github-repository-collaborater-add.xml\" target=\"_blank\" rel=\"noreferrer noopener\">github-repository-collaborater-add.xml<\/a> (C) Questetra, Inc. (MIT License)<\/li>\n\n\n\n\n\n<li>Professional \u306e\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u57fa\u76e4\u3067\u306f\u3001\u30d5\u30a1\u30a4\u30eb\u5185\u5bb9\u3092\u6539\u5909\u3057\u30aa\u30ea\u30b8\u30ca\u30eb\u306e\u30a2\u30c9\u30aa\u30f3\u81ea\u52d5\u5de5\u7a0b\u3068\u3057\u3066\u6d3b\u7528\u3067\u304d\u307e\u3059<\/li>\n\n\n<\/ul>\n\n\n<\/li>\n\n\n<\/ul>\n\n\n\n\n\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>\nconst API_VERSION = &apos;2022-11-28&apos;;\nconst API_VERSION_HEADER = &apos;X-GitHub-Api-Version&apos;;\nconst main = () =&gt; {\n    \/\/\/\/\/\/ == \u5de5\u7a0b\u30b3\u30f3\u30d5\u30a3\u30b0\u30fb\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u30c7\u30fc\u30bf\u306e\u53c2\u7167 \/ Config &amp; Data Retrieving ==\n    const auth = configs.getObject(&apos;conf_Auth&apos;);\n    const ownerAndRepo = retrieveOwnerAndRepo();\n    const handle = retrieveHandle();\n    const permission = configs.get(&quot;conf_Permission&quot;);\n    \/\/\/\/\/\/ == \u6f14\u7b97 \/ Calculating ==\n    checkInvitee(auth, ownerAndRepo, handle);\n    checkCollaborator(auth, ownerAndRepo, handle);\n    addCollaborator(auth, ownerAndRepo, handle, permission);\n}\n\/**\n  * config \u304b\u3089\u30ea\u30dd\u30b8\u30c8\u30ea\u306e URL \u3092\u8aad\u307f\u51fa\u3057\u3001API \u306b\u5fc5\u8981\u306a\u6587\u5b57\u5217\u3092\u53d6\u308a\u51fa\u3059\n  * @return {String} ownerAndRepo\n  *\/\nconst retrieveOwnerAndRepo = () =&gt; {\n    const repositoryUrlDef = configs.getObject(&apos;conf_RepositoryUrl&apos;);\n    let repositoryUrl;\n    if (repositoryUrlDef === null) { \/\/ \u56fa\u5b9a\u5024\u3067\u6307\u5b9a\n        repositoryUrl = configs.get(&apos;conf_RepositoryUrl&apos;);\n    } else {\n        repositoryUrl = engine.findData(repositoryUrlDef);\n    }\n    if (repositoryUrl === null) {\n        throw new Error(&quot;Repository&apos;s URL is blank.&quot;);\n    }\n    const regExp = \/^https:\\\/\\\/github\\.com\\\/([a-zA-Z0-9-_]+\\\/[a-zA-Z0-9-_]+)$\/;\n    const found = repositoryUrl.match(regExp);\n    if (found === null) {\n        throw new Error(&quot;Invalid repository URL.&quot;);\n    }\n    const ownerAndRepo = found[1];\n    return ownerAndRepo;\n}\n\/**\n  * config \u304b\u3089\u62db\u5f85\u3059\u308b GitHub \u30e6\u30fc\u30b6\u306e\u30cf\u30f3\u30c9\u30eb\u540d \u3092\u8aad\u307f\u51fa\u3059\n  * @return {String} handle\n  *\/\nconst retrieveHandle = () =&gt; {\n    const handleDef = configs.getObject(&apos;conf_UserName&apos;);\n    let handle;\n    if (handleDef === null) { \/\/ \u56fa\u5b9a\u5024\u3067\u6307\u5b9a\n        handle = configs.get(&apos;conf_UserName&apos;);\n    } else {\n        handle = engine.findData(handleDef);\n    }\n    if (handle === null) {\n        throw new Error(&quot;handle is blank.&quot;);\n    }\n    return handle;\n}\n\/**\n * \u30e6\u30fc\u30b6\u30fc\u304c\u30ea\u30dd\u30b8\u30c8\u30ea\u62db\u5f85\u4e2d\u3067\u3042\u308b\u304b\u3069\u3046\u304b\u3092\u78ba\u8a8d\u3059\u308b\n * @param {AuthSettingWrapper} auth HTTP \u8a8d\u8a3c\u8a2d\u5b9a\n * @param {String} ownerAndRepo {owner}\/{repo}\n * @param {String} handle \u62db\u5f85\u3059\u308b GitHub \u30e6\u30fc\u30b6\u306e\u30cf\u30f3\u30c9\u30eb\u540d\n *\/\nconst checkInvitee = (auth, ownerAndRepo, handle) =&gt; {\n    const url = `https:\/\/api.github.com\/repos\/${ownerAndRepo}\/invitations`;\n    const MAX_PER_PAGE = 100;\n    const response = httpClient.begin()\n        .header(API_VERSION_HEADER, API_VERSION)\n        .authSetting(auth)\n        .queryParam(&quot;per_page&quot;, MAX_PER_PAGE.toString())\n        .get(url);\n    const status = response.getStatusCode();\n    const responseStr = response.getResponseAsString();\n    if (status !== 200) {\n        engine.log(responseStr);\n        throw new Error(`Failed to get invitee information. status: ${status}`);\n    }\n    const invitations = JSON.parse(responseStr);\n    if (invitations.length === MAX_PER_PAGE) {\n       throw new Error(&quot;Too many invitations found.&quot;);\n    }\n    if (invitations.some(invitation =&gt; invitation.invitee.login === handle)) {\n        throw new Error(`${handle} is already invited.`);\n    }\n};\n\/**\n * \u30e6\u30fc\u30b6\u30fc\u304c\u30ea\u30dd\u30b8\u30c8\u30ea\u30b3\u30e9\u30dc\u30ec\u30fc\u30bf\u3067\u3042\u308b\u304b\u3069\u3046\u304b\u3092\u78ba\u8a8d\u3059\u308b\n * @param {AuthSettingWrapper} auth HTTP \u8a8d\u8a3c\u8a2d\u5b9a\n * @param {String} ownerAndRepo {owner}\/{repo}\n * @param {String} handle \u62db\u5f85\u3059\u308b GitHub \u30e6\u30fc\u30b6\u306e\u30cf\u30f3\u30c9\u30eb\u540d\n *\/\nconst checkCollaborator = (auth, ownerAndRepo, handle) =&gt; {\n    const url = `https:\/\/api.github.com\/repos\/${ownerAndRepo}\/collaborators\/${encodeURIComponent(handle)}`;\n    const response = httpClient.begin()\n        .header(API_VERSION_HEADER, API_VERSION)\n        .authSetting(auth)\n        .get(url);\n    const status = response.getStatusCode();\n    const responseStr = response.getResponseAsString();\n    if (status === 404) {\n        \/\/ success: user is not a collaborator yet\n        return;\n    }\n    if (status === 204) {\n        throw new Error(`${handle} is already a collaborator.`);\n    }\n    engine.log(responseStr);\n    throw new Error(`Failed to get a ${handle} information. status: ${status}`);\n};\n\/**\n * \u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u30b3\u30e9\u30dc\u30ec\u30fc\u30bf\u3092\u8ffd\u52a0\n * @param {AuthSettingWrapper} auth HTTP \u8a8d\u8a3c\u8a2d\u5b9a\n * @param {String} ownerAndRepo {owner}\/{repo}\n * @param {String} handle \u62db\u5f85\u3059\u308b GitHub \u30e6\u30fc\u30b6\u306e\u30cf\u30f3\u30c9\u30eb\u540d\n * @param {String} permission \u4ed8\u4e0e\u3059\u308b\u6a29\u9650\n *\/\nconst addCollaborator = (auth, ownerAndRepo, handle, permission) =&gt; {\n    const url = `https:\/\/api.github.com\/repos\/${ownerAndRepo}\/collaborators\/${encodeURIComponent(handle)}`;\n    const jsonReq = {};\n    if (permission !== &quot;&quot;) {\n        jsonReq[&quot;permission&quot;] = permission;\n    }\n    const response = httpClient.begin()\n        .header(API_VERSION_HEADER, API_VERSION)\n        .authSetting(auth)\n        .body(JSON.stringify(jsonReq), &quot;application\/json; charset=UTF-8&quot;)\n        .put(url);\n    const status = response.getStatusCode();\n    const responseStr = response.getResponseAsString();\n    if (status !== 201) {\n        \/\/ including 204: already a collaborator etc. (permission might have been updated)\n        engine.log(responseStr);\n        throw new Error(`Failed to add a collaborator. status: ${status}`);\n    }\n    const jsonRes = JSON.parse(responseStr);\n    engine.log(`Succeeded to add a collaborator.`);\n    engine.log(`repository.full_name: ${jsonRes.repository.full_name}`);\n    engine.log(`invitee.login: ${jsonRes.invitee.login}`);\n    engine.log(`permissions: ${jsonRes.permissions}`);\n};\n<\/code><\/pre>\n<\/div>\n\n\n<\/div>\n<\/details>\n<\/div>\n\n<\/div>\n\n\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u306e\u5de5\u7a0b\u306f\u3001GitHub \u306e\u6307\u5b9a\u3057\u305f\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u30b3\u30e9\u30dc\u30ec\u30fc\u30bf\u30fc\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n","protected":false},"author":3,"featured_media":168852,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","_crdt_document":"","_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_wpas_customize_per_network":false,"jetpack_post_was_ever_published":false},"categories":[550],"tags":[4314],"class_list":["post-168898","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-bpmn-icons","tag-github-ja"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/12\/bpmn-icon-service-task-github.png?fit=1200%2C675&ssl=1","uagb_featured_image_src":{"full":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/12\/bpmn-icon-service-task-github.png?fit=1200%2C675&ssl=1",1200,675,false],"thumbnail":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/12\/bpmn-icon-service-task-github.png?resize=440%2C440&ssl=1",440,440,true],"medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/12\/bpmn-icon-service-task-github.png?fit=560%2C315&ssl=1",560,315,true],"medium_large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/12\/bpmn-icon-service-task-github.png?fit=768%2C432&ssl=1",768,432,true],"large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/12\/bpmn-icon-service-task-github.png?fit=1024%2C576&ssl=1",1024,576,true],"1536x1536":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/12\/bpmn-icon-service-task-github.png?fit=1200%2C675&ssl=1",1200,675,true],"2048x2048":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/12\/bpmn-icon-service-task-github.png?fit=1200%2C675&ssl=1",1200,675,true],"newspack-article-block-landscape-large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/12\/bpmn-icon-service-task-github.png?resize=1200%2C675&ssl=1",1200,675,true],"newspack-article-block-portrait-large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/12\/bpmn-icon-service-task-github.png?resize=900%2C675&ssl=1",900,675,true],"newspack-article-block-square-large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/12\/bpmn-icon-service-task-github.png?resize=1200%2C675&ssl=1",1200,675,true],"newspack-article-block-landscape-medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/12\/bpmn-icon-service-task-github.png?resize=800%2C600&ssl=1",800,600,true],"newspack-article-block-portrait-medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/12\/bpmn-icon-service-task-github.png?resize=600%2C675&ssl=1",600,675,true],"newspack-article-block-square-medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/12\/bpmn-icon-service-task-github.png?resize=800%2C675&ssl=1",800,675,true],"newspack-article-block-landscape-intermediate":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/12\/bpmn-icon-service-task-github.png?resize=600%2C450&ssl=1",600,450,true],"newspack-article-block-portrait-intermediate":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/12\/bpmn-icon-service-task-github.png?resize=450%2C600&ssl=1",450,600,true],"newspack-article-block-square-intermediate":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/12\/bpmn-icon-service-task-github.png?resize=600%2C600&ssl=1",600,600,true],"newspack-article-block-landscape-small":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/12\/bpmn-icon-service-task-github.png?resize=400%2C300&ssl=1",400,300,true],"newspack-article-block-portrait-small":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/12\/bpmn-icon-service-task-github.png?resize=300%2C400&ssl=1",300,400,true],"newspack-article-block-square-small":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/12\/bpmn-icon-service-task-github.png?resize=400%2C400&ssl=1",400,400,true],"newspack-article-block-landscape-tiny":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/12\/bpmn-icon-service-task-github.png?resize=200%2C150&ssl=1",200,150,true],"newspack-article-block-portrait-tiny":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/12\/bpmn-icon-service-task-github.png?resize=150%2C200&ssl=1",150,200,true],"newspack-article-block-square-tiny":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/12\/bpmn-icon-service-task-github.png?resize=200%2C200&ssl=1",200,200,true],"newspack-article-block-uncropped":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/12\/bpmn-icon-service-task-github.png?fit=1200%2C675&ssl=1",1200,675,true]},"uagb_author_info":{"display_name":"Hirotaka NISHI","author_link":"https:\/\/support.questetra.com\/ja\/author\/nishiquestetra\/"},"uagb_comment_info":0,"uagb_excerpt":"\u3053\u306e\u5de5\u7a0b\u306f\u3001GitHub \u306e\u6307\u5b9a\u3057\u305f\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u30b3\u30e9\u30dc\u30ec\u30fc\u30bf\u30fc\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9DiIh-HWa","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":168718,"url":"https:\/\/support.questetra.com\/ja\/bpmn-icons\/service-task-github-repository-create\/","url_meta":{"origin":168898,"position":0},"title":"GitHub: \u30ea\u30dd\u30b8\u30c8\u30ea\u4f5c\u6210","author":"Shiho Tatsumi","date":"2024-12-16","format":false,"excerpt":"\u3053\u306e\u5de5\u7a0b\u306f\u3001GitHub \u306b\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002","rel":"","context":"BPMN\u30a2\u30a4\u30b3\u30f3","block_context":{"text":"BPMN\u30a2\u30a4\u30b3\u30f3","link":"https:\/\/support.questetra.com\/ja\/category\/bpmn-icons\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/12\/bpmn-icon-service-task-github.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/12\/bpmn-icon-service-task-github.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/12\/bpmn-icon-service-task-github.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/12\/bpmn-icon-service-task-github.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/12\/bpmn-icon-service-task-github.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":168709,"url":"https:\/\/support.questetra.com\/ja\/bpmn-icons\/service-task-github-repository-collaborator-remove\/","url_meta":{"origin":168898,"position":1},"title":"GitHub: \u30ea\u30dd\u30b8\u30c8\u30ea\u30b3\u30e9\u30dc\u30ec\u30fc\u30bf\u30fc\u524a\u9664","author":"suesesayaka","date":"2024-12-19","format":false,"excerpt":"\u3053\u306e\u5de5\u7a0b\u306f\u3001GitHub \u306e\u6307\u5b9a\u3057\u305f\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30b3\u30e9\u30dc\u30ec\u30fc\u30bf\u30fc\u3092\u524a\u9664\u3057\u307e\u3059\u3002","rel":"","context":"BPMN\u30a2\u30a4\u30b3\u30f3","block_context":{"text":"BPMN\u30a2\u30a4\u30b3\u30f3","link":"https:\/\/support.questetra.com\/ja\/category\/bpmn-icons\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/12\/bpmn-icon-service-task-github.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/12\/bpmn-icon-service-task-github.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/12\/bpmn-icon-service-task-github.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/12\/bpmn-icon-service-task-github.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/12\/bpmn-icon-service-task-github.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":168684,"url":"https:\/\/support.questetra.com\/bpmn-icons\/service-task-github-repository-collaborator-add\/","url_meta":{"origin":168898,"position":2},"title":"GitHub: Add Repository Collaborator","author":"Hirotaka NISHI","date":"2024-12-19","format":false,"excerpt":"This item adds a collaborator to a specified repos\u2026","rel":"","context":"BPMN Icons","block_context":{"text":"BPMN Icons","link":"https:\/\/support.questetra.com\/category\/bpmn-icons\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/12\/bpmn-icon-service-task-github.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/12\/bpmn-icon-service-task-github.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/12\/bpmn-icon-service-task-github.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/12\/bpmn-icon-service-task-github.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/12\/bpmn-icon-service-task-github.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":168676,"url":"https:\/\/support.questetra.com\/bpmn-icons\/service-task-github-repository-create\/","url_meta":{"origin":168898,"position":3},"title":"GitHub: Create Repository","author":"Shiho Tatsumi","date":"2024-12-16","format":false,"excerpt":"This item creates a repository on GitHub.","rel":"","context":"BPMN Icons","block_context":{"text":"BPMN Icons","link":"https:\/\/support.questetra.com\/category\/bpmn-icons\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/12\/bpmn-icon-service-task-github.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/12\/bpmn-icon-service-task-github.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/12\/bpmn-icon-service-task-github.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/12\/bpmn-icon-service-task-github.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/12\/bpmn-icon-service-task-github.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":168700,"url":"https:\/\/support.questetra.com\/bpmn-icons\/service-task-github-repository-collaborator-remove\/","url_meta":{"origin":168898,"position":4},"title":"GitHub: Remove Repository Collaborator","author":"Hirotaka NISHI","date":"2024-12-19","format":false,"excerpt":"This item removes a collaborator from a specified \u2026","rel":"","context":"BPMN Icons","block_context":{"text":"BPMN Icons","link":"https:\/\/support.questetra.com\/category\/bpmn-icons\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/12\/bpmn-icon-service-task-github.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/12\/bpmn-icon-service-task-github.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/12\/bpmn-icon-service-task-github.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/12\/bpmn-icon-service-task-github.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/12\/bpmn-icon-service-task-github.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":172447,"url":"https:\/\/support.questetra.com\/ja\/bpmn-icons\/service-task-github-file-get\/","url_meta":{"origin":168898,"position":5},"title":"GitHub: \u30d5\u30a1\u30a4\u30eb\u53d6\u5f97","author":"suesesayaka","date":"2025-05-08","format":false,"excerpt":"\u3053\u306e\u5de5\u7a0b\u306f\u3001GitHub \u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u304b\u3089\u6307\u5b9a\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002","rel":"","context":"BPMN\u30a2\u30a4\u30b3\u30f3","block_context":{"text":"BPMN\u30a2\u30a4\u30b3\u30f3","link":"https:\/\/support.questetra.com\/ja\/category\/bpmn-icons\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/12\/bpmn-icon-service-task-github.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/12\/bpmn-icon-service-task-github.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/12\/bpmn-icon-service-task-github.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/12\/bpmn-icon-service-task-github.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/12\/bpmn-icon-service-task-github.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]}],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/support.questetra.com\/ja\/wp-json\/wp\/v2\/posts\/168898","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/support.questetra.com\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/support.questetra.com\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/support.questetra.com\/ja\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/support.questetra.com\/ja\/wp-json\/wp\/v2\/comments?post=168898"}],"version-history":[{"count":3,"href":"https:\/\/support.questetra.com\/ja\/wp-json\/wp\/v2\/posts\/168898\/revisions"}],"predecessor-version":[{"id":168902,"href":"https:\/\/support.questetra.com\/ja\/wp-json\/wp\/v2\/posts\/168898\/revisions\/168902"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/support.questetra.com\/ja\/wp-json\/wp\/v2\/media\/168852"}],"wp:attachment":[{"href":"https:\/\/support.questetra.com\/ja\/wp-json\/wp\/v2\/media?parent=168898"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/support.questetra.com\/ja\/wp-json\/wp\/v2\/categories?post=168898"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/support.questetra.com\/ja\/wp-json\/wp\/v2\/tags?post=168898"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}