ルーティング設定の参照・更新に関するAPIです。
関連機能: ルーティング
| type | parameter | require | example | description |
|---|---|---|---|---|
| query | token | yes | api-token |
API Token |
| type | parameter | require | example | description |
|---|---|---|---|---|
| query | token | yes | api-token |
API Token |
show example
</span>
</div>
<div class="expand-content" style="display: none;">
<div class="highlight"><pre style="color:#272822;background-color:#fafafa;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-javascript" data-lang="javascript"><span style="color:#111">{</span>
"name": "/create/:id", "urls": [ { "url": "https://legs-echo-test.iij.k8s.iijgio.jp/api/create/{id}", "headers": { "AuthToken": "auth-token" } }, { "url": "https://gw.machinist.iij.jp/gateway" } ] }
| type | parameter | require | example | description |
|---|---|---|---|---|
| path | id | yes | 1 |
更新するルーティング設定のID |
| query | token | yes | api-token |
API Token |
show example
</span>
</div>
<div class="expand-content" style="display: none;">
<div class="highlight"><pre style="color:#272822;background-color:#fafafa;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-javascript" data-lang="javascript"><span style="color:#111">{</span>
"name": "/update/:id", "urls": [ { "url": "https://legs-echo-test.iij.k8s.iijgio.jp/api/create/{id}", "headers": { "AuthToken": "auth-token" } } ] }
| type | parameter | require | example | description |
|---|---|---|---|---|
| path | id | yes | 1 |
削除するルーティング設定のID |
| query | token | yes | api-token |
API Token |
no content