@@ -197,7 +197,7 @@ $ curl -i {% data variables.product.api_url_pre %}/repos/twbs/bootstrap
197197In the same way, we can [view repositories for the authenticated user][user repos api]:
198198
199199```shell
200- $ curl -i -H "Authorization: token {% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@3.1" or currentVersion == "github-ae@next" %}ghp_16C7e42F292c6912E7710c838347Ae178B4a" {% else %}5199831f4dd3b79e7c5b7e0ebe75d67aa66e79d4{% endif %}" \
200+ $ curl -i -H "Authorization: token {% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@3.1" or currentVersion == "github-ae@next" %}ghp_16C7e42F292c6912E7710c838347Ae178B4a{% else %}5199831f4dd3b79e7c5b7e0ebe75d67aa66e79d4{% endif %}" \
201201 {% data variables.product.api_url_pre %}/user/repos
202202```
203203
@@ -240,7 +240,7 @@ Fetching information for existing repositories is a common use case, but the
240240we need to `POST` some JSON containing the details and configuration options.
241241
242242```shell
243- $ curl -i -H "Authorization: token {% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@3.1" or currentVersion == "github-ae@next" %}ghp_16C7e42F292c6912E7710c838347Ae178B4a" {% else %}5199831f4dd3b79e7c5b7e0ebe75d67aa66e79d4{% endif %}" \
243+ $ curl -i -H "Authorization: token {% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@3.1" or currentVersion == "github-ae@next" %}ghp_16C7e42F292c6912E7710c838347Ae178B4a{% else %}5199831f4dd3b79e7c5b7e0ebe75d67aa66e79d4{% endif %}" \
244244 -d ' { \
245245 " name" : " blog" , \
246246 " auto_init" : true, \
@@ -286,15 +286,15 @@ Just like github.com, the API provides a few methods to view issues for the
286286authenticated user. To [see all your issues][get issues api], call `GET /issues`:
287287
288288```shell
289- $ curl -i -H "Authorization: token {% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@3.1" or currentVersion == "github-ae@next" %}ghp_16C7e42F292c6912E7710c838347Ae178B4a" {% else %}5199831f4dd3b79e7c5b7e0ebe75d67aa66e79d4{% endif %}" \
289+ $ curl -i -H "Authorization: token {% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@3.1" or currentVersion == "github-ae@next" %}ghp_16C7e42F292c6912E7710c838347Ae178B4a{% else %}5199831f4dd3b79e7c5b7e0ebe75d67aa66e79d4{% endif %}" \
290290 {% data variables.product.api_url_pre %}/issues
291291```
292292
293293To get only the [issues under one of your {% data variables.product.product_name %} organizations][get issues api], call `GET
294294/orgs/<org>/issues`:
295295
296296```shell
297- $ curl -i -H "Authorization: token {% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@3.1" or currentVersion == "github-ae@next" %}ghp_16C7e42F292c6912E7710c838347Ae178B4a" {% else %}5199831f4dd3b79e7c5b7e0ebe75d67aa66e79d4{% endif %}" \
297+ $ curl -i -H "Authorization: token {% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@3.1" or currentVersion == "github-ae@next" %}ghp_16C7e42F292c6912E7710c838347Ae178B4a{% else %}5199831f4dd3b79e7c5b7e0ebe75d67aa66e79d4{% endif %}" \
298298 {% data variables.product.api_url_pre %}/orgs/rails/issues
299299```
300300
@@ -336,7 +336,7 @@ body to the `/issues` path underneath the repository in which we want to create
336336the issue:
337337
338338```shell
339- $ curl -i -H ' Authorization: token {% if currentVersion == " free-pro-team@latest" or currentVersion ver_gt " enterprise-server@3.1" or currentVersion == " github-ae@next" %}ghp_16C7e42F292c6912E7710c838347Ae178B4a" {% else %}5199831f4dd3b79e7c5b7e0ebe75d67aa66e79d4{% endif %}' \
339+ $ curl -i -H ' Authorization: token {% if currentVersion == " free-pro-team@latest" or currentVersion ver_gt " enterprise-server@3.1" or currentVersion == " github-ae@next" %}ghp_16C7e42F292c6912E7710c838347Ae178B4a{% else %}5199831f4dd3b79e7c5b7e0ebe75d67aa66e79d4{% endif %}' \
340340$ -d ' { \
341341$ " title" : " New logo" , \
342342$ " body" : " We should have one" , \
0 commit comments