|
202 | 202 | "endpoint": "CoreAPI/Endpoints/VirtualMachines/AllocateIPEndpoint",
|
203 | 203 | "group": "virtual_machines"
|
204 | 204 | },
|
| 205 | + { |
| 206 | + "path": "virtual_machine/authorized_keys", |
| 207 | + "request_method": "GET", |
| 208 | + "controller": null, |
| 209 | + "endpoint": "CoreAPI/Endpoints/VirtualMachines/AuthorizedKeysEndpoint", |
| 210 | + "group": "virtual_machines" |
| 211 | + }, |
205 | 212 | {
|
206 | 213 | "path": "organizations/:organization/virtual_machines/build",
|
207 | 214 | "request_method": "POST",
|
|
7539 | 7546 | "fields": []
|
7540 | 7547 | }
|
7541 | 7548 | },
|
| 7549 | + { |
| 7550 | + "type": "endpoint", |
| 7551 | + "value": { |
| 7552 | + "id": "CoreAPI/Endpoints/VirtualMachines/AuthorizedKeysEndpoint", |
| 7553 | + "name": "Get authorized keys for a virtual machine", |
| 7554 | + "description": "Return the authorized keys for the virtual machine associated with the provided API token", |
| 7555 | + "http_status": 200, |
| 7556 | + "authenticator": null, |
| 7557 | + "argument_set": { |
| 7558 | + "id": "CoreAPI/Endpoints/VirtualMachines/AuthorizedKeysEndpoint/BaseArgumentSet", |
| 7559 | + "name": null, |
| 7560 | + "description": null, |
| 7561 | + "arguments": [] |
| 7562 | + }, |
| 7563 | + "fields": [ |
| 7564 | + { |
| 7565 | + "id": "CoreAPI/Endpoints/VirtualMachines/AuthorizedKeysEndpoint/AuthorizedKeysField", |
| 7566 | + "name": "authorized_keys", |
| 7567 | + "description": null, |
| 7568 | + "type": "Apia/Scalars/String", |
| 7569 | + "null": false, |
| 7570 | + "array": false, |
| 7571 | + "spec": { |
| 7572 | + "all": true, |
| 7573 | + "spec": null |
| 7574 | + } |
| 7575 | + } |
| 7576 | + ], |
| 7577 | + "potential_errors": [ |
| 7578 | + "CoreAPI/Endpoints/VirtualMachines/AuthorizedKeysEndpoint/NoVirtualMachineForAPIToken" |
| 7579 | + ], |
| 7580 | + "scopes": [ |
| 7581 | + "virtual_machines:authorized_keys" |
| 7582 | + ] |
| 7583 | + } |
| 7584 | + }, |
| 7585 | + { |
| 7586 | + "type": "argument_set", |
| 7587 | + "value": { |
| 7588 | + "id": "CoreAPI/Endpoints/VirtualMachines/AuthorizedKeysEndpoint/BaseArgumentSet", |
| 7589 | + "name": null, |
| 7590 | + "description": null, |
| 7591 | + "arguments": [] |
| 7592 | + } |
| 7593 | + }, |
| 7594 | + { |
| 7595 | + "type": "error", |
| 7596 | + "value": { |
| 7597 | + "id": "CoreAPI/Endpoints/VirtualMachines/AuthorizedKeysEndpoint/NoVirtualMachineForAPIToken", |
| 7598 | + "name": null, |
| 7599 | + "description": "No virtual machine was found for the provided API token", |
| 7600 | + "code": "no_virtual_machine_for_api_token", |
| 7601 | + "http_status": 404, |
| 7602 | + "fields": [] |
| 7603 | + } |
| 7604 | + }, |
7542 | 7605 | {
|
7543 | 7606 | "type": "endpoint",
|
7544 | 7607 | "value": {
|
|
0 commit comments