зеркало из https://github.com/github/docs.git
Fix management console API URLs (#25562)
* No /api/v3 for mgmt console operations * Add updated decorated files
This commit is contained in:
Родитель
28659e92ad
Коммит
f48d536bbf
|
@ -73605,8 +73605,8 @@
|
|||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/configcheck",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/configcheck</code></pre>"
|
||||
"source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/configcheck",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/configcheck</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
|
@ -73655,8 +73655,8 @@
|
|||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/configure",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/configure</code></pre>"
|
||||
"source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/configure",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/configure</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
|
@ -73704,8 +73704,8 @@
|
|||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/maintenance",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/maintenance</code></pre>"
|
||||
"source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/maintenance",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/maintenance</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
|
@ -73754,8 +73754,8 @@
|
|||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/maintenance \\\n --data-urlencode maintenance=maintenance",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/maintenance \\\n --data-urlencode maintenance=maintenance</code></pre>"
|
||||
"source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/maintenance \\\n --data-urlencode maintenance=maintenance",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/maintenance \\\n --data-urlencode maintenance=maintenance</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
|
@ -73842,8 +73842,8 @@
|
|||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings</code></pre>"
|
||||
"source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/settings",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/settings</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
|
@ -73892,8 +73892,8 @@
|
|||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings \\\n --data-urlencode settings=settings",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings \\\n --data-urlencode settings=settings</code></pre>"
|
||||
"source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/settings \\\n --data-urlencode settings=settings",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/settings \\\n --data-urlencode settings=settings</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
|
@ -73979,8 +73979,8 @@
|
|||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings/authorized-keys",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings/authorized-keys</code></pre>"
|
||||
"source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/settings/authorized-keys",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/settings/authorized-keys</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
|
@ -74029,8 +74029,8 @@
|
|||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings/authorized-keys \\\n --data-urlencode authorized_key=authorized_key",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings/authorized-keys \\\n --data-urlencode authorized_key=authorized_key</code></pre>"
|
||||
"source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/settings/authorized-keys \\\n --data-urlencode authorized_key=authorized_key",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/settings/authorized-keys \\\n --data-urlencode authorized_key=authorized_key</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
|
@ -74117,8 +74117,8 @@
|
|||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings/authorized-keys \\\n --data-urlencode authorized_key=authorized_key",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings/authorized-keys \\\n --data-urlencode authorized_key=authorized_key</code></pre>"
|
||||
"source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/settings/authorized-keys \\\n --data-urlencode authorized_key=authorized_key",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/settings/authorized-keys \\\n --data-urlencode authorized_key=authorized_key</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
|
@ -74205,8 +74205,8 @@
|
|||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/start \\\n --data-urlencode license=license",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/start \\\n --data-urlencode license=license</code></pre>"
|
||||
"source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/start \\\n --data-urlencode license=license",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/start \\\n --data-urlencode license=license</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
|
@ -74325,8 +74325,8 @@
|
|||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/upgrade \\\n --data-urlencode license=license",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/upgrade \\\n --data-urlencode license=license</code></pre>"
|
||||
"source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/upgrade \\\n --data-urlencode license=license",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/upgrade \\\n --data-urlencode license=license</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
|
|
|
@ -74549,8 +74549,8 @@
|
|||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/configcheck",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/configcheck</code></pre>"
|
||||
"source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/configcheck",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/configcheck</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
|
@ -74599,8 +74599,8 @@
|
|||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/configure",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/configure</code></pre>"
|
||||
"source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/configure",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/configure</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
|
@ -74648,8 +74648,8 @@
|
|||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/maintenance",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/maintenance</code></pre>"
|
||||
"source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/maintenance",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/maintenance</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
|
@ -74698,8 +74698,8 @@
|
|||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/maintenance \\\n --data-urlencode maintenance=maintenance",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/maintenance \\\n --data-urlencode maintenance=maintenance</code></pre>"
|
||||
"source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/maintenance \\\n --data-urlencode maintenance=maintenance",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/maintenance \\\n --data-urlencode maintenance=maintenance</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
|
@ -74786,8 +74786,8 @@
|
|||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings</code></pre>"
|
||||
"source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/settings",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/settings</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
|
@ -74836,8 +74836,8 @@
|
|||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings \\\n --data-urlencode settings=settings",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings \\\n --data-urlencode settings=settings</code></pre>"
|
||||
"source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/settings \\\n --data-urlencode settings=settings",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/settings \\\n --data-urlencode settings=settings</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
|
@ -74923,8 +74923,8 @@
|
|||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings/authorized-keys",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings/authorized-keys</code></pre>"
|
||||
"source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/settings/authorized-keys",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/settings/authorized-keys</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
|
@ -74973,8 +74973,8 @@
|
|||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings/authorized-keys \\\n --data-urlencode authorized_key=authorized_key",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings/authorized-keys \\\n --data-urlencode authorized_key=authorized_key</code></pre>"
|
||||
"source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/settings/authorized-keys \\\n --data-urlencode authorized_key=authorized_key",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/settings/authorized-keys \\\n --data-urlencode authorized_key=authorized_key</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
|
@ -75061,8 +75061,8 @@
|
|||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings/authorized-keys \\\n --data-urlencode authorized_key=authorized_key",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings/authorized-keys \\\n --data-urlencode authorized_key=authorized_key</code></pre>"
|
||||
"source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/settings/authorized-keys \\\n --data-urlencode authorized_key=authorized_key",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/settings/authorized-keys \\\n --data-urlencode authorized_key=authorized_key</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
|
@ -75149,8 +75149,8 @@
|
|||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/start \\\n --data-urlencode license=license",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/start \\\n --data-urlencode license=license</code></pre>"
|
||||
"source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/start \\\n --data-urlencode license=license",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/start \\\n --data-urlencode license=license</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
|
@ -75269,8 +75269,8 @@
|
|||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/upgrade \\\n --data-urlencode license=license",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/upgrade \\\n --data-urlencode license=license</code></pre>"
|
||||
"source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/upgrade \\\n --data-urlencode license=license",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/upgrade \\\n --data-urlencode license=license</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
|
|
|
@ -77339,8 +77339,8 @@
|
|||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/configcheck",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/configcheck</code></pre>"
|
||||
"source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/configcheck",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/configcheck</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
|
@ -77389,8 +77389,8 @@
|
|||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/configure",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/configure</code></pre>"
|
||||
"source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/configure",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/configure</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
|
@ -77438,8 +77438,8 @@
|
|||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/maintenance",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/maintenance</code></pre>"
|
||||
"source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/maintenance",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/maintenance</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
|
@ -77488,8 +77488,8 @@
|
|||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/maintenance \\\n --data-urlencode maintenance=maintenance",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/maintenance \\\n --data-urlencode maintenance=maintenance</code></pre>"
|
||||
"source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/maintenance \\\n --data-urlencode maintenance=maintenance",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/maintenance \\\n --data-urlencode maintenance=maintenance</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
|
@ -77576,8 +77576,8 @@
|
|||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings</code></pre>"
|
||||
"source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/settings",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/settings</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
|
@ -77626,8 +77626,8 @@
|
|||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings \\\n --data-urlencode settings=settings",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings \\\n --data-urlencode settings=settings</code></pre>"
|
||||
"source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/settings \\\n --data-urlencode settings=settings",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/settings \\\n --data-urlencode settings=settings</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
|
@ -77713,8 +77713,8 @@
|
|||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings/authorized-keys",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings/authorized-keys</code></pre>"
|
||||
"source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/settings/authorized-keys",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/settings/authorized-keys</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
|
@ -77763,8 +77763,8 @@
|
|||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings/authorized-keys \\\n --data-urlencode authorized_key=authorized_key",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings/authorized-keys \\\n --data-urlencode authorized_key=authorized_key</code></pre>"
|
||||
"source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/settings/authorized-keys \\\n --data-urlencode authorized_key=authorized_key",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/settings/authorized-keys \\\n --data-urlencode authorized_key=authorized_key</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
|
@ -77851,8 +77851,8 @@
|
|||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings/authorized-keys \\\n --data-urlencode authorized_key=authorized_key",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings/authorized-keys \\\n --data-urlencode authorized_key=authorized_key</code></pre>"
|
||||
"source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/settings/authorized-keys \\\n --data-urlencode authorized_key=authorized_key",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/settings/authorized-keys \\\n --data-urlencode authorized_key=authorized_key</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
|
@ -77939,8 +77939,8 @@
|
|||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/start \\\n --data-urlencode license=license",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/start \\\n --data-urlencode license=license</code></pre>"
|
||||
"source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/start \\\n --data-urlencode license=license",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/start \\\n --data-urlencode license=license</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
|
@ -78059,8 +78059,8 @@
|
|||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/upgrade \\\n --data-urlencode license=license",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/upgrade \\\n --data-urlencode license=license</code></pre>"
|
||||
"source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/upgrade \\\n --data-urlencode license=license",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/upgrade \\\n --data-urlencode license=license</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
|
|
|
@ -77762,8 +77762,8 @@
|
|||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/configcheck",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/configcheck</code></pre>"
|
||||
"source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/configcheck",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/configcheck</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
|
@ -77812,8 +77812,8 @@
|
|||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/configure",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/configure</code></pre>"
|
||||
"source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/configure",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/configure</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
|
@ -77861,8 +77861,8 @@
|
|||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/maintenance",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/maintenance</code></pre>"
|
||||
"source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/maintenance",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/maintenance</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
|
@ -77911,8 +77911,8 @@
|
|||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/maintenance \\\n --data-urlencode maintenance=maintenance",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/maintenance \\\n --data-urlencode maintenance=maintenance</code></pre>"
|
||||
"source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/maintenance \\\n --data-urlencode maintenance=maintenance",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/maintenance \\\n --data-urlencode maintenance=maintenance</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
|
@ -77999,8 +77999,8 @@
|
|||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings</code></pre>"
|
||||
"source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/settings",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/settings</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
|
@ -78049,8 +78049,8 @@
|
|||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings \\\n --data-urlencode settings=settings",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings \\\n --data-urlencode settings=settings</code></pre>"
|
||||
"source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/settings \\\n --data-urlencode settings=settings",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/settings \\\n --data-urlencode settings=settings</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
|
@ -78136,8 +78136,8 @@
|
|||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings/authorized-keys",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings/authorized-keys</code></pre>"
|
||||
"source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/settings/authorized-keys",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/settings/authorized-keys</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
|
@ -78186,8 +78186,8 @@
|
|||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings/authorized-keys \\\n --data-urlencode authorized_key=authorized_key",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings/authorized-keys \\\n --data-urlencode authorized_key=authorized_key</code></pre>"
|
||||
"source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/settings/authorized-keys \\\n --data-urlencode authorized_key=authorized_key",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/settings/authorized-keys \\\n --data-urlencode authorized_key=authorized_key</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
|
@ -78274,8 +78274,8 @@
|
|||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings/authorized-keys \\\n --data-urlencode authorized_key=authorized_key",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings/authorized-keys \\\n --data-urlencode authorized_key=authorized_key</code></pre>"
|
||||
"source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/settings/authorized-keys \\\n --data-urlencode authorized_key=authorized_key",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/settings/authorized-keys \\\n --data-urlencode authorized_key=authorized_key</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
|
@ -78362,8 +78362,8 @@
|
|||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/start \\\n --data-urlencode license=license",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/start \\\n --data-urlencode license=license</code></pre>"
|
||||
"source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/start \\\n --data-urlencode license=license",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/start \\\n --data-urlencode license=license</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
|
@ -78482,8 +78482,8 @@
|
|||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/upgrade \\\n --data-urlencode license=license",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/upgrade \\\n --data-urlencode license=license</code></pre>"
|
||||
"source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/upgrade \\\n --data-urlencode license=license",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/upgrade \\\n --data-urlencode license=license</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
|
|
|
@ -81551,8 +81551,8 @@
|
|||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/configcheck",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/configcheck</code></pre>"
|
||||
"source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/configcheck",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/configcheck</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
|
@ -81601,8 +81601,8 @@
|
|||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/configure",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/configure</code></pre>"
|
||||
"source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/configure",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/configure</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
|
@ -81650,8 +81650,8 @@
|
|||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/maintenance",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/maintenance</code></pre>"
|
||||
"source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/maintenance",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/maintenance</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
|
@ -81700,8 +81700,8 @@
|
|||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/maintenance \\\n --data-urlencode maintenance=maintenance",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/maintenance \\\n --data-urlencode maintenance=maintenance</code></pre>"
|
||||
"source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/maintenance \\\n --data-urlencode maintenance=maintenance",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/maintenance \\\n --data-urlencode maintenance=maintenance</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
|
@ -81788,8 +81788,8 @@
|
|||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings</code></pre>"
|
||||
"source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/settings",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/settings</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
|
@ -81838,8 +81838,8 @@
|
|||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings \\\n --data-urlencode settings=settings",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings \\\n --data-urlencode settings=settings</code></pre>"
|
||||
"source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/settings \\\n --data-urlencode settings=settings",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/settings \\\n --data-urlencode settings=settings</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
|
@ -81925,8 +81925,8 @@
|
|||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings/authorized-keys",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings/authorized-keys</code></pre>"
|
||||
"source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/settings/authorized-keys",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/settings/authorized-keys</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
|
@ -81975,8 +81975,8 @@
|
|||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings/authorized-keys \\\n --data-urlencode authorized_key=authorized_key",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings/authorized-keys \\\n --data-urlencode authorized_key=authorized_key</code></pre>"
|
||||
"source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/settings/authorized-keys \\\n --data-urlencode authorized_key=authorized_key",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/settings/authorized-keys \\\n --data-urlencode authorized_key=authorized_key</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
|
@ -82063,8 +82063,8 @@
|
|||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings/authorized-keys \\\n --data-urlencode authorized_key=authorized_key",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/settings/authorized-keys \\\n --data-urlencode authorized_key=authorized_key</code></pre>"
|
||||
"source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/settings/authorized-keys \\\n --data-urlencode authorized_key=authorized_key",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/settings/authorized-keys \\\n --data-urlencode authorized_key=authorized_key</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
|
@ -82151,8 +82151,8 @@
|
|||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/start \\\n --data-urlencode license=license",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/start \\\n --data-urlencode license=license</code></pre>"
|
||||
"source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/start \\\n --data-urlencode license=license",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/start \\\n --data-urlencode license=license</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
|
@ -82271,8 +82271,8 @@
|
|||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/upgrade \\\n --data-urlencode license=license",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/setup/api/upgrade \\\n --data-urlencode license=license</code></pre>"
|
||||
"source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/upgrade \\\n --data-urlencode license=license",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/setup/api/upgrade \\\n --data-urlencode license=license</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
|
|
|
@ -27,6 +27,8 @@ function createCodeSamples(operation) {
|
|||
serverUrl === 'https://api.github.com'
|
||||
) {
|
||||
codeSampleParams.serverUrl = operation.servers[0].variables.origin.default
|
||||
} else if (operation.subcategory && operation.subcategory === 'management-console') {
|
||||
codeSampleParams.serverUrl = serverUrl.replace('/api/v3', '')
|
||||
}
|
||||
|
||||
return [
|
||||
|
|
Загрузка…
Ссылка в новой задаче