mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore: removing unaudited resources (#5885)
* chore: removing unaudited resources * cleaned up tests * CI errors
This commit is contained in:
+2
-2
@@ -54,7 +54,7 @@ curl -X GET http://coder-server:8080/api/v2/audit?q=string \
|
||||
"resource_id": "4d5215ed-38bb-48ed-879a-fdb9ca58522f",
|
||||
"resource_link": "string",
|
||||
"resource_target": "string",
|
||||
"resource_type": "organization",
|
||||
"resource_type": "template",
|
||||
"status_code": 0,
|
||||
"time": "2019-08-24T14:15:22Z",
|
||||
"user": {
|
||||
@@ -108,7 +108,7 @@ curl -X POST http://coder-server:8080/api/v2/audit/testgenerate \
|
||||
"action": "create",
|
||||
"build_reason": "autostart",
|
||||
"resource_id": "4d5215ed-38bb-48ed-879a-fdb9ca58522f",
|
||||
"resource_type": "organization",
|
||||
"resource_type": "template",
|
||||
"time": "2019-08-24T14:15:22Z"
|
||||
}
|
||||
```
|
||||
|
||||
+5
-8
@@ -330,7 +330,7 @@
|
||||
"resource_id": "4d5215ed-38bb-48ed-879a-fdb9ca58522f",
|
||||
"resource_link": "string",
|
||||
"resource_target": "string",
|
||||
"resource_type": "organization",
|
||||
"resource_type": "template",
|
||||
"status_code": 0,
|
||||
"time": "2019-08-24T14:15:22Z",
|
||||
"user": {
|
||||
@@ -406,7 +406,7 @@
|
||||
"resource_id": "4d5215ed-38bb-48ed-879a-fdb9ca58522f",
|
||||
"resource_link": "string",
|
||||
"resource_target": "string",
|
||||
"resource_type": "organization",
|
||||
"resource_type": "template",
|
||||
"status_code": 0,
|
||||
"time": "2019-08-24T14:15:22Z",
|
||||
"user": {
|
||||
@@ -785,7 +785,7 @@ CreateParameterRequest is a structure used to create a new parameter value for a
|
||||
"action": "create",
|
||||
"build_reason": "autostart",
|
||||
"resource_id": "4d5215ed-38bb-48ed-879a-fdb9ca58522f",
|
||||
"resource_type": "organization",
|
||||
"resource_type": "template",
|
||||
"time": "2019-08-24T14:15:22Z"
|
||||
}
|
||||
```
|
||||
@@ -812,15 +812,13 @@ CreateParameterRequest is a structure used to create a new parameter value for a
|
||||
| `build_reason` | `autostart` |
|
||||
| `build_reason` | `autostop` |
|
||||
| `build_reason` | `initiator` |
|
||||
| `resource_type` | `organization` |
|
||||
| `resource_type` | `template` |
|
||||
| `resource_type` | `template_version` |
|
||||
| `resource_type` | `user` |
|
||||
| `resource_type` | `workspace` |
|
||||
| `resource_type` | `workspace_build` |
|
||||
| `resource_type` | `git_ssh_key` |
|
||||
| `resource_type` | `api_key` |
|
||||
| `resource_type` | `group` |
|
||||
| `resource_type` | `auditable_group` |
|
||||
|
||||
## codersdk.CreateTokenRequest
|
||||
|
||||
@@ -3739,7 +3737,7 @@ Parameter represents a set value for the scope.
|
||||
## codersdk.ResourceType
|
||||
|
||||
```json
|
||||
"organization"
|
||||
"template"
|
||||
```
|
||||
|
||||
### Properties
|
||||
@@ -3748,7 +3746,6 @@ Parameter represents a set value for the scope.
|
||||
|
||||
| Value |
|
||||
| ------------------ |
|
||||
| `organization` |
|
||||
| `template` |
|
||||
| `template_version` |
|
||||
| `user` |
|
||||
|
||||
Reference in New Issue
Block a user