Files
threshold/internal/gen/controller.swagger.json
T

3634 lines
101 KiB
JSON
Raw Normal View History

{
"swagger": "2.0",
"info": {
2020-05-01 12:38:01 -07:00
"title": "Controller API",
"description": "API for managing resources associated with Controllers.",
"version": "0.0.1"
},
2020-05-01 12:38:01 -07:00
"schemes": [
"https",
"http"
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
2020-05-01 12:38:01 -07:00
"paths": {
2020-07-22 00:14:28 -04:00
"/v1/scopes": {
2020-06-19 10:55:50 -07:00
"get": {
2020-07-22 00:14:28 -04:00
"summary": "Lists all Scopes within the scope of the token making the request",
"operationId": "ScopeService_ListScopes",
2020-06-19 10:55:50 -07:00
"responses": {
"200": {
"description": "A successful response.",
"schema": {
2020-07-22 00:14:28 -04:00
"$ref": "#/definitions/controller.api.services.v1.ListScopesResponse"
2020-06-19 10:55:50 -07:00
}
}
},
"parameters": [
{
"name": "scope_id",
"in": "query",
"required": false,
"type": "string"
},
2020-06-19 10:55:50 -07:00
{
"name": "view",
"in": "query",
"required": false,
"type": "string"
}
],
"tags": [
2020-07-22 00:14:28 -04:00
"controller.api.services.v1.ScopeService"
2020-06-19 10:55:50 -07:00
]
2020-07-22 00:14:28 -04:00
},
"post": {
"summary": "Creates a single Scope",
"operationId": "ScopeService_CreateScope",
2020-06-19 10:55:50 -07:00
"responses": {
"200": {
"description": "",
"schema": {
2020-07-22 00:14:28 -04:00
"$ref": "#/definitions/controller.api.resources.scopes.v1.Scope"
2020-06-19 10:55:50 -07:00
}
}
},
"parameters": [
{
2020-07-22 00:14:28 -04:00
"name": "body",
"in": "body",
2020-06-19 10:55:50 -07:00
"required": true,
2020-07-22 00:14:28 -04:00
"schema": {
"$ref": "#/definitions/controller.api.resources.scopes.v1.Scope"
}
2020-08-18 21:58:59 -04:00
},
{
"name": "scope_id",
"in": "query",
"required": false,
"type": "string"
},
{
"name": "skip_role_creation",
"in": "query",
"required": false,
"type": "boolean",
"format": "boolean"
2020-06-19 10:55:50 -07:00
}
],
"tags": [
2020-07-22 00:14:28 -04:00
"controller.api.services.v1.ScopeService"
2020-06-19 10:55:50 -07:00
]
}
},
"/v1/scopes/*/auth-methods": {
"get": {
"summary": "Lists all AuthMethods",
"operationId": "AuthMethodService_ListAuthMethods",
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/controller.api.services.v1.ListAuthMethodsResponse"
}
}
},
"parameters": [
{
"name": "view",
"in": "query",
"required": false,
"type": "string"
}
],
"tags": [
"controller.api.services.v1.AuthMethodService"
]
},
"post": {
"summary": "Creates a single AuthMethod",
"operationId": "AuthMethodService_CreateAuthMethod",
"responses": {
"200": {
"description": "",
"schema": {
2020-08-07 12:55:02 -04:00
"$ref": "#/definitions/controller.api.resources.authmethods.v1.AuthMethod"
}
}
},
"parameters": [
{
"name": "body",
"in": "body",
"required": true,
"schema": {
2020-08-07 12:55:02 -04:00
"$ref": "#/definitions/controller.api.resources.authmethods.v1.AuthMethod"
}
}
],
"tags": [
"controller.api.services.v1.AuthMethodService"
]
}
},
"/v1/scopes/*/auth-methods/{auth_method_id}/accounts": {
"get": {
"summary": "Lists all accounts in a specific auth method.",
"operationId": "AccountService_ListAccounts",
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/controller.api.services.v1.ListAccountsResponse"
}
}
},
"parameters": [
{
"name": "auth_method_id",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "view",
"in": "query",
"required": false,
"type": "string"
}
],
"tags": [
"controller.api.services.v1.AccountService"
]
},
"post": {
"summary": "Creates a single account in the provided auth method.",
"operationId": "AccountService_CreateAccount",
"responses": {
"200": {
"description": "",
"schema": {
2020-08-07 12:55:02 -04:00
"$ref": "#/definitions/controller.api.resources.authmethods.v1.Account"
}
}
},
"parameters": [
{
"name": "auth_method_id",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "body",
"in": "body",
"required": true,
"schema": {
2020-08-07 12:55:02 -04:00
"$ref": "#/definitions/controller.api.resources.authmethods.v1.Account"
}
}
],
"tags": [
"controller.api.services.v1.AccountService"
]
}
},
"/v1/scopes/*/auth-methods/{auth_method_id}/accounts/{id}": {
"get": {
"summary": "Gets a single Account",
"operationId": "AccountService_GetAccount",
"responses": {
"200": {
"description": "",
"schema": {
2020-08-07 12:55:02 -04:00
"$ref": "#/definitions/controller.api.resources.authmethods.v1.Account"
}
}
},
"parameters": [
{
"name": "auth_method_id",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "id",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "view",
"in": "query",
"required": false,
"type": "string"
}
],
"tags": [
"controller.api.services.v1.AccountService"
]
},
"delete": {
"summary": "Deletes an account.",
"operationId": "AccountService_DeleteAccount",
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/controller.api.services.v1.DeleteAccountResponse"
}
}
},
"parameters": [
{
"name": "auth_method_id",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "id",
"in": "path",
"required": true,
"type": "string"
}
],
"tags": [
"controller.api.services.v1.AccountService"
]
},
"patch": {
"summary": "Updates an account.",
"operationId": "AccountService_UpdateAccount",
"responses": {
"200": {
"description": "",
"schema": {
2020-08-07 12:55:02 -04:00
"$ref": "#/definitions/controller.api.resources.authmethods.v1.Account"
}
}
},
"parameters": [
{
"name": "auth_method_id",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "id",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "body",
"in": "body",
"required": true,
"schema": {
2020-08-07 12:55:02 -04:00
"$ref": "#/definitions/controller.api.resources.authmethods.v1.Account"
}
2020-08-18 21:58:59 -04:00
},
{
"name": "update_mask",
"in": "query",
"required": false,
"type": "array",
"items": {
"type": "string"
},
"collectionFormat": "multi"
2020-08-17 09:37:15 -07:00
}
],
"tags": [
"controller.api.services.v1.AccountService"
]
}
},
"/v1/scopes/*/auth-methods/{auth_method_id}/accounts/{id}:change-password": {
"post": {
"summary": "Sets the password for the provided account.",
"operationId": "AccountService_ChangePassword",
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/controller.api.resources.authmethods.v1.Account"
}
}
},
"parameters": [
{
"name": "auth_method_id",
"in": "path",
"required": true,
"type": "string"
2020-08-17 11:50:59 -04:00
},
{
2020-08-17 09:37:15 -07:00
"name": "id",
"in": "path",
"required": true,
"type": "string"
2020-08-17 11:50:59 -04:00
},
{
2020-08-17 09:37:15 -07:00
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/controller.api.services.v1.ChangePasswordRequest"
}
}
],
"tags": [
"controller.api.services.v1.AccountService"
]
}
},
"/v1/scopes/*/auth-methods/{auth_method_id}/accounts/{id}:set-password": {
"post": {
"summary": "Sets the password for the provided account.",
"operationId": "AccountService_SetPassword",
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/controller.api.resources.authmethods.v1.Account"
}
}
},
"parameters": [
{
"name": "auth_method_id",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "id",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/controller.api.services.v1.SetPasswordRequest"
}
}
],
"tags": [
"controller.api.services.v1.AccountService"
]
}
},
2020-07-22 00:14:28 -04:00
"/v1/scopes/*/auth-methods/{auth_method_id}:authenticate": {
"post": {
2020-07-22 00:14:28 -04:00
"summary": "Authenticate a user to an scope and retrieve an authentication token.",
"operationId": "AuthenticationService_Authenticate",
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/controller.api.resources.authtokens.v1.AuthToken"
}
}
},
"parameters": [
{
"name": "auth_method_id",
2020-07-22 00:14:28 -04:00
"description": "The id to the authmethod in the system being used for authentication. The auth method must be in the scope\nbeing logged in to.",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/controller.api.services.v1.AuthenticateRequest"
}
}
],
"tags": [
"controller.api.services.v1.AuthenticationService"
]
}
},
"/v1/scopes/*/auth-methods/{id}": {
"get": {
"summary": "Gets a single AuthMethod",
"operationId": "AuthMethodService_GetAuthMethod",
"responses": {
"200": {
"description": "",
"schema": {
2020-08-07 12:55:02 -04:00
"$ref": "#/definitions/controller.api.resources.authmethods.v1.AuthMethod"
}
}
},
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "view",
"in": "query",
"required": false,
"type": "string"
}
],
"tags": [
"controller.api.services.v1.AuthMethodService"
]
},
"delete": {
"summary": "Deletes an AuthMethod",
"operationId": "AuthMethodService_DeleteAuthMethod",
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/controller.api.services.v1.DeleteAuthMethodResponse"
}
}
},
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"type": "string"
}
],
"tags": [
"controller.api.services.v1.AuthMethodService"
]
},
"patch": {
"summary": "Updates an AuthMethod",
"operationId": "AuthMethodService_UpdateAuthMethod",
"responses": {
"200": {
"description": "",
"schema": {
2020-08-07 12:55:02 -04:00
"$ref": "#/definitions/controller.api.resources.authmethods.v1.AuthMethod"
}
}
},
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "body",
"in": "body",
"required": true,
"schema": {
2020-08-07 12:55:02 -04:00
"$ref": "#/definitions/controller.api.resources.authmethods.v1.AuthMethod"
}
2020-08-18 21:58:59 -04:00
},
{
"name": "update_mask",
"in": "query",
"required": false,
"type": "array",
"items": {
"type": "string"
},
"collectionFormat": "multi"
}
],
"tags": [
"controller.api.services.v1.AuthMethodService"
]
}
},
"/v1/scopes/*/auth-tokens": {
"get": {
"summary": "Lists all AuthTokens",
"operationId": "AuthTokenService_ListAuthTokens",
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/controller.api.services.v1.ListAuthTokensResponse"
}
}
},
"parameters": [
{
"name": "view",
"in": "query",
"required": false,
"type": "string"
}
],
"tags": [
"controller.api.services.v1.AuthTokenService"
]
}
},
"/v1/scopes/*/auth-tokens/{id}": {
"get": {
"summary": "Gets a single AuthToken",
"operationId": "AuthTokenService_GetAuthToken",
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/controller.api.resources.authtokens.v1.AuthToken"
}
}
},
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "view",
"in": "query",
"required": false,
"type": "string"
}
],
"tags": [
"controller.api.services.v1.AuthTokenService"
]
},
"delete": {
"summary": "Deletes an AuthTokens",
"operationId": "AuthTokenService_DeleteAuthToken",
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/controller.api.services.v1.DeleteAuthTokenResponse"
}
}
},
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"type": "string"
}
],
"tags": [
"controller.api.services.v1.AuthTokenService"
]
}
},
2020-07-22 00:14:28 -04:00
"/v1/scopes/*/groups": {
2020-06-15 15:22:41 -07:00
"get": {
"summary": "Lists all Groups",
"operationId": "GroupService_ListGroups",
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/controller.api.services.v1.ListGroupsResponse"
}
}
},
"parameters": [
{
"name": "view",
"in": "query",
"required": false,
"type": "string"
}
],
"tags": [
"controller.api.services.v1.GroupService"
]
},
"post": {
"summary": "Creates a single Group",
"operationId": "GroupService_CreateGroup",
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/controller.api.resources.groups.v1.Group"
}
}
},
"parameters": [
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/controller.api.resources.groups.v1.Group"
}
}
],
"tags": [
"controller.api.services.v1.GroupService"
]
}
},
2020-07-22 00:14:28 -04:00
"/v1/scopes/*/groups/{id}": {
2020-06-15 15:22:41 -07:00
"get": {
"summary": "Gets a single Group",
"operationId": "GroupService_GetGroup",
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/controller.api.resources.groups.v1.Group"
}
}
},
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "view",
"in": "query",
"required": false,
"type": "string"
}
],
"tags": [
"controller.api.services.v1.GroupService"
]
},
"delete": {
"summary": "Deletes a Group",
"operationId": "GroupService_DeleteGroup",
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/controller.api.services.v1.DeleteGroupResponse"
}
}
},
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"type": "string"
}
],
"tags": [
"controller.api.services.v1.GroupService"
]
},
"patch": {
"summary": "Updates a Group",
"operationId": "GroupService_UpdateGroup",
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/controller.api.resources.groups.v1.Group"
}
}
},
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/controller.api.resources.groups.v1.Group"
}
2020-08-18 21:58:59 -04:00
},
{
"name": "update_mask",
"in": "query",
"required": false,
"type": "array",
"items": {
"type": "string"
},
"collectionFormat": "multi"
2020-06-15 15:22:41 -07:00
}
],
"tags": [
"controller.api.services.v1.GroupService"
]
}
},
"/v1/scopes/*/groups/{id}:add-members": {
"post": {
"summary": "Adds Users as members to a Group",
"operationId": "GroupService_AddGroupMembers",
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/controller.api.resources.groups.v1.Group"
}
}
},
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/controller.api.services.v1.AddGroupMembersRequest"
}
}
],
"tags": [
"controller.api.services.v1.GroupService"
]
}
},
"/v1/scopes/*/groups/{id}:remove-members": {
"post": {
"summary": "Removes the specified members from a Group.",
"operationId": "GroupService_RemoveGroupMembers",
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/controller.api.resources.groups.v1.Group"
}
}
},
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/controller.api.services.v1.RemoveGroupMembersRequest"
}
}
],
"tags": [
"controller.api.services.v1.GroupService"
]
}
},
"/v1/scopes/*/groups/{id}:set-members": {
"post": {
"summary": "Set a Group's members to exactly the list of provided in the request, removing any members that are not specified.",
"operationId": "GroupService_SetGroupMembers",
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/controller.api.resources.groups.v1.Group"
}
}
},
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/controller.api.services.v1.SetGroupMembersRequest"
}
}
],
"tags": [
"controller.api.services.v1.GroupService"
]
}
},
2020-07-22 00:14:28 -04:00
"/v1/scopes/*/host-catalogs": {
"get": {
2020-07-22 00:14:28 -04:00
"summary": "Gets a list of HostCatalogs",
"operationId": "HostCatalogService_ListHostCatalogs",
"responses": {
"200": {
"description": "A successful response.",
"schema": {
2020-07-22 00:14:28 -04:00
"$ref": "#/definitions/controller.api.services.v1.ListHostCatalogsResponse"
}
}
},
"parameters": [
{
"name": "view",
"in": "query",
"required": false,
"type": "string"
}
],
"tags": [
2020-07-22 00:14:28 -04:00
"controller.api.services.v1.HostCatalogService"
]
},
"post": {
"summary": "Creates a HostCatalog",
2020-07-22 00:14:28 -04:00
"description": "Creates a single host catalog under the specified scope",
"operationId": "HostCatalogService_CreateHostCatalog",
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/controller.api.resources.hosts.v1.HostCatalog"
}
}
},
"parameters": [
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/controller.api.resources.hosts.v1.HostCatalog"
}
}
],
"tags": [
"controller.api.services.v1.HostCatalogService"
]
}
},
2020-07-22 00:14:28 -04:00
"/v1/scopes/*/host-catalogs/{host_catalog_id}/host-sets": {
"get": {
"summary": "List all HostSets under the specific catalog",
2020-07-22 00:14:28 -04:00
"operationId": "HostSetService_ListHostSets",
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/controller.api.services.v1.ListHostSetsResponse"
}
}
},
"parameters": [
{
"name": "host_catalog_id",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "view",
"in": "query",
"required": false,
"type": "string"
}
],
"tags": [
"controller.api.services.v1.HostSetService"
]
},
"post": {
"summary": "Create a HostSet",
2020-07-22 00:14:28 -04:00
"operationId": "HostSetService_CreateHostSet",
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/controller.api.resources.hosts.v1.HostSet"
}
}
},
"parameters": [
{
"name": "host_catalog_id",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/controller.api.resources.hosts.v1.HostSet"
}
}
],
"tags": [
"controller.api.services.v1.HostSetService"
]
}
},
2020-07-22 00:14:28 -04:00
"/v1/scopes/*/host-catalogs/{host_catalog_id}/host-sets/{id}": {
"get": {
"summary": "Get a single HostSet",
2020-07-22 00:14:28 -04:00
"operationId": "HostSetService_GetHostSet",
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/controller.api.resources.hosts.v1.HostSet"
}
}
},
"parameters": [
{
"name": "host_catalog_id",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "id",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "view",
"in": "query",
"required": false,
"type": "string"
}
],
"tags": [
"controller.api.services.v1.HostSetService"
]
},
"delete": {
"summary": "Delete a HostSet",
2020-07-22 00:14:28 -04:00
"operationId": "HostSetService_DeleteHostSet",
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/controller.api.services.v1.DeleteHostSetResponse"
}
}
},
"parameters": [
{
"name": "host_catalog_id",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "id",
"in": "path",
"required": true,
"type": "string"
}
],
"tags": [
"controller.api.services.v1.HostSetService"
]
},
"patch": {
"summary": "Update a HostSet",
2020-07-22 00:14:28 -04:00
"operationId": "HostSetService_UpdateHostSet",
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/controller.api.resources.hosts.v1.HostSet"
}
}
},
"parameters": [
{
"name": "host_catalog_id",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "id",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/controller.api.resources.hosts.v1.HostSet"
}
2020-08-18 21:58:59 -04:00
},
{
"name": "update_mask",
"in": "query",
"required": false,
"type": "array",
"items": {
"type": "string"
},
"collectionFormat": "multi"
}
],
"tags": [
"controller.api.services.v1.HostSetService"
]
}
},
2020-07-22 00:14:28 -04:00
"/v1/scopes/*/host-catalogs/{host_catalog_id}/host-sets/{id}:add-hosts": {
"post": {
2020-08-21 10:57:30 -07:00
"summary": "Adds existing Hosts to a Host Set.",
"operationId": "HostSetService_AddHostSetHosts",
"responses": {
"200": {
2020-08-21 10:57:30 -07:00
"description": "",
"schema": {
2020-08-21 10:57:30 -07:00
"$ref": "#/definitions/controller.api.resources.hosts.v1.HostSet"
}
}
},
"parameters": [
{
"name": "host_catalog_id",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "id",
"in": "path",
"required": true,
"type": "string"
2020-08-21 10:57:30 -07:00
},
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/controller.api.services.v1.AddHostSetHostsRequest"
}
}
],
"tags": [
"controller.api.services.v1.HostSetService"
]
}
},
2020-07-22 00:14:28 -04:00
"/v1/scopes/*/host-catalogs/{host_catalog_id}/host-sets/{id}:remove-hosts": {
"post": {
2020-08-21 10:57:30 -07:00
"summary": "Removes Hosts from the Host Set.",
"operationId": "HostSetService_RemoveHostSetHosts",
"responses": {
"200": {
2020-08-21 10:57:30 -07:00
"description": "",
"schema": {
2020-08-21 10:57:30 -07:00
"$ref": "#/definitions/controller.api.resources.hosts.v1.HostSet"
}
}
},
"parameters": [
{
"name": "host_catalog_id",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "id",
"description": "This host set's id.",
"in": "path",
"required": true,
"type": "string"
2020-08-21 10:57:30 -07:00
},
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/controller.api.services.v1.RemoveHostSetHostsRequest"
}
}
],
"tags": [
"controller.api.services.v1.HostSetService"
]
}
},
"/v1/scopes/*/host-catalogs/{host_catalog_id}/host-sets/{id}:set-hosts": {
"post": {
"summary": "Sets the Hosts on the Host Set.",
"operationId": "HostSetService_SetHostSetHosts",
"responses": {
"200": {
2020-08-21 10:57:30 -07:00
"description": "",
"schema": {
2020-08-21 10:57:30 -07:00
"$ref": "#/definitions/controller.api.resources.hosts.v1.HostSet"
}
}
},
"parameters": [
{
"name": "host_catalog_id",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "id",
"in": "path",
"required": true,
"type": "string"
2020-08-21 10:57:30 -07:00
},
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/controller.api.services.v1.SetHostSetHostsRequest"
}
}
],
"tags": [
"controller.api.services.v1.HostSetService"
]
}
},
2020-07-22 00:14:28 -04:00
"/v1/scopes/*/host-catalogs/{host_catalog_id}/hosts": {
"get": {
"summary": "List all Hosts for the specified catalog",
"operationId": "HostService_ListHosts",
"responses": {
"200": {
2020-07-22 00:14:28 -04:00
"description": "A successful response.",
"schema": {
2020-07-22 00:14:28 -04:00
"$ref": "#/definitions/controller.api.services.v1.ListHostsResponse"
}
}
},
"parameters": [
{
2020-07-22 00:14:28 -04:00
"name": "host_catalog_id",
"in": "path",
"required": true,
"type": "string"
},
2020-07-22 00:14:28 -04:00
{
"name": "view",
"in": "query",
"required": false,
"type": "string"
}
],
"tags": [
"controller.api.services.v1.HostService"
]
},
"post": {
"summary": "Create a single Host",
"operationId": "HostService_CreateHost",
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/controller.api.resources.hosts.v1.Host"
}
}
},
"parameters": [
{
"name": "host_catalog_id",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/controller.api.resources.hosts.v1.Host"
}
}
],
"tags": [
"controller.api.services.v1.HostService"
]
}
},
2020-07-22 00:14:28 -04:00
"/v1/scopes/*/host-catalogs/{host_catalog_id}/hosts/{id}": {
"get": {
"summary": "Gets a single Host",
2020-07-22 00:14:28 -04:00
"operationId": "HostService_GetHost",
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/controller.api.resources.hosts.v1.Host"
}
}
},
"parameters": [
{
"name": "host_catalog_id",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "id",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "view",
"in": "query",
"required": false,
"type": "string"
}
],
"tags": [
"controller.api.services.v1.HostService"
]
},
"delete": {
"summary": "Delete a Host",
2020-07-22 00:14:28 -04:00
"operationId": "HostService_DeleteHost",
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/controller.api.services.v1.DeleteHostResponse"
}
}
},
"parameters": [
{
"name": "host_catalog_id",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "id",
"in": "path",
"required": true,
"type": "string"
}
],
"tags": [
"controller.api.services.v1.HostService"
]
},
"patch": {
"summary": "Update a Host",
2020-07-22 00:14:28 -04:00
"operationId": "HostService_UpdateHost",
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/controller.api.resources.hosts.v1.Host"
}
}
},
"parameters": [
{
"name": "host_catalog_id",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "id",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/controller.api.resources.hosts.v1.Host"
}
2020-08-18 21:58:59 -04:00
},
{
"name": "update_mask",
"in": "query",
"required": false,
"type": "array",
"items": {
"type": "string"
},
"collectionFormat": "multi"
}
],
"tags": [
"controller.api.services.v1.HostService"
]
}
},
2020-07-22 00:14:28 -04:00
"/v1/scopes/*/host-catalogs/{id}": {
"get": {
"summary": "Gets a single HostCatalog",
2020-07-22 00:14:28 -04:00
"description": "Gets a single Host Catalog with the provided identifier.",
"operationId": "HostCatalogService_GetHostCatalog",
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/controller.api.resources.hosts.v1.HostCatalog"
}
}
},
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "view",
"in": "query",
"required": false,
"type": "string"
}
],
"tags": [
"controller.api.services.v1.HostCatalogService"
]
},
"delete": {
"summary": "Deletes a HostCatalog",
2020-07-22 00:14:28 -04:00
"operationId": "HostCatalogService_DeleteHostCatalog",
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/controller.api.services.v1.DeleteHostCatalogResponse"
}
}
},
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"type": "string"
}
],
"tags": [
"controller.api.services.v1.HostCatalogService"
]
},
"patch": {
"summary": "Updates a HostCatalog",
2020-07-22 00:14:28 -04:00
"operationId": "HostCatalogService_UpdateHostCatalog",
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/controller.api.resources.hosts.v1.HostCatalog"
}
}
},
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/controller.api.resources.hosts.v1.HostCatalog"
}
2020-08-18 21:58:59 -04:00
},
{
"name": "update_mask",
"in": "query",
"required": false,
"type": "array",
"items": {
"type": "string"
},
"collectionFormat": "multi"
}
],
"tags": [
"controller.api.services.v1.HostCatalogService"
]
}
},
2020-07-22 00:14:28 -04:00
"/v1/scopes/*/roles": {
2020-06-22 06:56:27 -07:00
"get": {
"summary": "Lists all Roles",
"operationId": "RoleService_ListRoles",
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/controller.api.services.v1.ListRolesResponse"
}
}
},
"parameters": [
{
"name": "view",
"in": "query",
"required": false,
"type": "string"
}
],
"tags": [
"controller.api.services.v1.RoleService"
]
},
"post": {
"summary": "Creates a single Role",
"operationId": "RoleService_CreateRole",
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/controller.api.resources.roles.v1.Role"
}
}
},
"parameters": [
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/controller.api.resources.roles.v1.Role"
}
}
],
"tags": [
"controller.api.services.v1.RoleService"
]
}
},
2020-07-22 00:14:28 -04:00
"/v1/scopes/*/roles/{id}": {
2020-06-22 06:56:27 -07:00
"get": {
"summary": "Gets a single Role",
"operationId": "RoleService_GetRole",
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/controller.api.resources.roles.v1.Role"
}
}
},
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "view",
"in": "query",
"required": false,
"type": "string"
}
],
"tags": [
"controller.api.services.v1.RoleService"
]
},
"delete": {
"summary": "Deletes a Role",
"operationId": "RoleService_DeleteRole",
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/controller.api.services.v1.DeleteRoleResponse"
}
}
},
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"type": "string"
}
],
"tags": [
"controller.api.services.v1.RoleService"
]
},
"patch": {
"summary": "Updates a Role",
"operationId": "RoleService_UpdateRole",
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/controller.api.resources.roles.v1.Role"
}
}
},
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/controller.api.resources.roles.v1.Role"
}
2020-08-18 21:58:59 -04:00
},
{
"name": "update_mask",
"in": "query",
"required": false,
"type": "array",
"items": {
"type": "string"
},
"collectionFormat": "multi"
2020-06-22 06:56:27 -07:00
}
],
"tags": [
"controller.api.services.v1.RoleService"
]
}
},
2020-07-22 00:14:28 -04:00
"/v1/scopes/*/roles/{role_id}:add-grants": {
"post": {
"summary": "Adds grants to a role",
"operationId": "RoleService_AddRoleGrants",
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/controller.api.resources.roles.v1.Role"
}
}
},
"parameters": [
{
"name": "role_id",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/controller.api.services.v1.AddRoleGrantsRequest"
}
}
],
"tags": [
"controller.api.services.v1.RoleService"
]
}
},
2020-07-22 00:14:28 -04:00
"/v1/scopes/*/roles/{role_id}:add-principals": {
"post": {
"summary": "Adds Users and/or Groups to a Role",
"operationId": "RoleService_AddRolePrincipals",
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/controller.api.resources.roles.v1.Role"
}
}
},
"parameters": [
{
"name": "role_id",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/controller.api.services.v1.AddRolePrincipalsRequest"
}
}
],
"tags": [
"controller.api.services.v1.RoleService"
]
}
},
2020-07-22 00:14:28 -04:00
"/v1/scopes/*/roles/{role_id}:remove-grants": {
"post": {
"summary": "Removes grants from a role.",
"operationId": "RoleService_RemoveRoleGrants",
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/controller.api.resources.roles.v1.Role"
}
}
},
"parameters": [
{
"name": "role_id",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/controller.api.services.v1.RemoveRoleGrantsRequest"
}
}
],
"tags": [
"controller.api.services.v1.RoleService"
]
}
},
2020-07-22 00:14:28 -04:00
"/v1/scopes/*/roles/{role_id}:remove-principals": {
"post": {
"summary": "Removes the specified Users and/or Groups from a Role.",
"operationId": "RoleService_RemoveRolePrincipals",
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/controller.api.resources.roles.v1.Role"
}
}
},
"parameters": [
{
"name": "role_id",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/controller.api.services.v1.RemoveRolePrincipalsRequest"
}
}
],
"tags": [
"controller.api.services.v1.RoleService"
]
}
},
2020-07-22 00:14:28 -04:00
"/v1/scopes/*/roles/{role_id}:set-grants": {
"post": {
"summary": "Set grants for a role, removing any grants that are not specified in the request.",
"operationId": "RoleService_SetRoleGrants",
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/controller.api.resources.roles.v1.Role"
}
}
},
"parameters": [
{
"name": "role_id",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/controller.api.services.v1.SetRoleGrantsRequest"
}
}
],
"tags": [
"controller.api.services.v1.RoleService"
]
}
},
2020-07-22 00:14:28 -04:00
"/v1/scopes/*/roles/{role_id}:set-principals": {
"post": {
"summary": "Set Users and/or Groups to a Role, removing any principals that are not specified in the request.",
"operationId": "RoleService_SetRolePrincipals",
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/controller.api.resources.roles.v1.Role"
}
}
},
"parameters": [
{
"name": "role_id",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/controller.api.services.v1.SetRolePrincipalsRequest"
}
}
],
"tags": [
"controller.api.services.v1.RoleService"
]
}
},
2020-07-22 00:14:28 -04:00
"/v1/scopes/*/users": {
2020-06-09 11:20:59 -07:00
"get": {
"summary": "Lists all Users",
"operationId": "UserService_ListUsers",
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/controller.api.services.v1.ListUsersResponse"
}
}
},
"parameters": [
{
"name": "view",
"in": "query",
"required": false,
"type": "string"
}
],
"tags": [
"controller.api.services.v1.UserService"
]
},
"post": {
"summary": "Creates a single User",
"operationId": "UserService_CreateUser",
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/controller.api.resources.users.v1.User"
}
}
},
"parameters": [
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/controller.api.resources.users.v1.User"
}
}
],
"tags": [
"controller.api.services.v1.UserService"
]
}
},
2020-07-22 00:14:28 -04:00
"/v1/scopes/*/users/{id}": {
2020-06-09 11:20:59 -07:00
"get": {
"summary": "Gets a single User",
2020-06-09 11:20:59 -07:00
"operationId": "UserService_GetUser",
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/controller.api.resources.users.v1.User"
}
}
},
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "view",
"in": "query",
"required": false,
"type": "string"
}
],
"tags": [
"controller.api.services.v1.UserService"
]
},
"delete": {
"summary": "Deletes a User",
"operationId": "UserService_DeleteUser",
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/controller.api.services.v1.DeleteUserResponse"
}
}
},
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"type": "string"
}
],
"tags": [
"controller.api.services.v1.UserService"
]
},
"patch": {
"summary": "Updates a User",
"operationId": "UserService_UpdateUser",
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/controller.api.resources.users.v1.User"
}
}
},
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/controller.api.resources.users.v1.User"
}
2020-08-18 21:58:59 -04:00
},
{
"name": "update_mask",
"in": "query",
"required": false,
"type": "array",
"items": {
"type": "string"
},
"collectionFormat": "multi"
2020-06-09 11:20:59 -07:00
}
],
"tags": [
"controller.api.services.v1.UserService"
]
}
2020-06-26 15:41:08 -07:00
},
2020-07-22 00:14:28 -04:00
"/v1/scopes/{id}": {
"get": {
"summary": "Gets a single Scope",
"operationId": "ScopeService_GetScope",
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/controller.api.resources.scopes.v1.Scope"
}
}
},
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "view",
"in": "query",
"required": false,
"type": "string"
}
],
"tags": [
"controller.api.services.v1.ScopeService"
]
},
"delete": {
"summary": "Deletes a Scope",
"operationId": "ScopeService_DeleteScope",
2020-06-26 15:41:08 -07:00
"responses": {
"200": {
"description": "A successful response.",
"schema": {
2020-07-22 00:14:28 -04:00
"$ref": "#/definitions/controller.api.services.v1.DeleteScopeResponse"
2020-06-26 15:41:08 -07:00
}
}
},
"parameters": [
{
2020-07-22 00:14:28 -04:00
"name": "id",
2020-06-26 15:41:08 -07:00
"in": "path",
"required": true,
"type": "string"
}
],
"tags": [
2020-07-22 00:14:28 -04:00
"controller.api.services.v1.ScopeService"
]
},
"patch": {
"summary": "Updates a Scope",
"operationId": "ScopeService_UpdateScope",
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/controller.api.resources.scopes.v1.Scope"
}
}
},
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/controller.api.resources.scopes.v1.Scope"
}
2020-08-18 21:58:59 -04:00
},
{
"name": "update_mask",
"in": "query",
"required": false,
"type": "array",
"items": {
"type": "string"
},
"collectionFormat": "multi"
2020-07-22 00:14:28 -04:00
}
],
"tags": [
"controller.api.services.v1.ScopeService"
2020-06-26 15:41:08 -07:00
]
}
2020-05-01 12:38:01 -07:00
}
},
"definitions": {
2020-08-07 12:55:02 -04:00
"controller.api.resources.authmethods.v1.Account": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The ID of the Account\nOutput only.",
"readOnly": true
},
"scope": {
"$ref": "#/definitions/controller.api.resources.scopes.v1.ScopeInfo",
"description": "Scope information for this resource\nOutput only.",
"readOnly": true
},
"name": {
"type": "string",
"title": "Optional name for identification purposes"
},
"description": {
"type": "string",
"title": "Optional user-set descripton for identification purposes"
},
"created_time": {
"type": "string",
"format": "date-time",
"description": "The time this resource was created\nOutput only.",
"readOnly": true
},
"updated_time": {
"type": "string",
"format": "date-time",
"description": "The time this resource was last updated.\nOutput only.",
"readOnly": true
},
"version": {
"type": "integer",
"format": "int64",
"description": "The version can be used in subsequent write requests to ensure this resource\nhas not changed and to fail the write if it has."
},
"type": {
"type": "string",
"description": "The type of this account. Possible values are: \"password\", \"oidc\"."
},
"auth_method_id": {
"type": "string",
"description": "The auth method this account is created for.\nOutput only.",
"readOnly": true
},
"attributes": {
"type": "object",
"description": "The attributes that are applicable for the specific Account type."
}
},
"title": "Account contains all fields related to an auth Account resource"
},
2020-08-07 12:55:02 -04:00
"controller.api.resources.authmethods.v1.AuthMethod": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The ID of the AuthMethod\nOutput only.",
"readOnly": true
},
"scope": {
"$ref": "#/definitions/controller.api.resources.scopes.v1.ScopeInfo",
"description": "Scope information for this resource\nOutput only.",
"readOnly": true
},
"name": {
"type": "string",
"title": "Optional name for identification purposes"
},
"description": {
"type": "string",
"title": "Optional user-set description for identification purposes"
},
"created_time": {
"type": "string",
"format": "date-time",
"description": "The time this resource was created\nOutput only.",
"readOnly": true
},
"updated_time": {
"type": "string",
"format": "date-time",
"description": "The time this resource was last updated.\nOutput only.",
"readOnly": true
},
"version": {
"type": "integer",
"format": "int64",
"description": "The version can be used in subsequent write requests to ensure this resource\nhas not changed and to fail the write if it has."
},
"type": {
"type": "string",
"description": "The auth method type. This can be \"password\" or \"oidc\"."
},
"attributes": {
"type": "object",
"description": "The attributes that are applied for the specific Auth Method type."
}
},
"title": "AuthMethod contains all fields related to a AuthMethod resource"
},
2020-06-26 15:41:08 -07:00
"controller.api.resources.authtokens.v1.AuthToken": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The ID of the AuthToken\nOutput only.",
"readOnly": true
},
2020-07-22 00:14:28 -04:00
"scope": {
"$ref": "#/definitions/controller.api.resources.scopes.v1.ScopeInfo",
"description": "Scope information for this resource\nOutput only.",
"readOnly": true
},
2020-06-26 15:41:08 -07:00
"token": {
"type": "string",
2020-07-22 00:14:28 -04:00
"description": "The token value, which will only be populated after authentication and is\nonly ever visible to the end user whose login request resulted in this\nauth token being created.\nOutput only.",
2020-06-26 15:41:08 -07:00
"readOnly": true
},
"user_id": {
"type": "string",
"description": "The id of the user of this AuthToken.\nOutput only.",
"readOnly": true
},
"auth_method_id": {
"type": "string",
"description": "The id of the user of this AuthToken.\nOutput only.",
"readOnly": true
},
"created_time": {
"type": "string",
"format": "date-time",
"description": "The time this resource was created\nOutput only.",
"readOnly": true
},
"updated_time": {
"type": "string",
"format": "date-time",
"description": "The time this resource was last updated.\nOutput only.",
"readOnly": true
},
"approximate_last_used_time": {
"type": "string",
"format": "date-time",
"description": "The approximate time this AuthToken was last used.\nOutput only.",
"readOnly": true
},
"expiration_time": {
"type": "string",
"format": "date-time",
"description": "The time this AuthToken expires.\nOutput only.",
"readOnly": true
}
},
"title": "AuthToken contains all fields related to an AuthToken resource"
},
2020-06-15 15:22:41 -07:00
"controller.api.resources.groups.v1.Group": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The ID of the Project\nOutput only.",
"readOnly": true
},
2020-07-22 00:14:28 -04:00
"scope": {
"$ref": "#/definitions/controller.api.resources.scopes.v1.ScopeInfo",
"description": "Scope information for this resource\nOutput only.",
"readOnly": true
},
2020-06-15 15:22:41 -07:00
"name": {
"type": "string",
"title": "Optional name for identification purposes"
},
"description": {
"type": "string",
"title": "Optional user-set descripton for identification purposes"
},
"created_time": {
"type": "string",
"format": "date-time",
"description": "The time this resource was created\nOutput only.",
"readOnly": true
},
"updated_time": {
"type": "string",
"format": "date-time",
"description": "The time this resource was last updated.\nOutput only.",
"readOnly": true
},
"version": {
"type": "integer",
"format": "int64",
"description": "The version can be used in subsequent write requests to ensure this resource\nhas not changed and to fail the write if it has."
},
"member_ids": {
"type": "array",
"items": {
"type": "string"
},
"description": "Contains the list of member ids in this group.\nOutput only.",
"readOnly": true
},
"members": {
"type": "array",
"items": {
"$ref": "#/definitions/controller.api.resources.groups.v1.Member"
},
"description": "The members of this group.\nOutput only.",
"readOnly": true
2020-06-15 15:22:41 -07:00
}
},
"title": "Group contains all fields related to a Group resource"
},
"controller.api.resources.groups.v1.Member": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The ID of the member.\nOutput only.",
"readOnly": true
},
"scope_id": {
"type": "string",
"description": "The scope ID of the member.\nOutput only.",
"readOnly": true
}
}
},
"controller.api.resources.hosts.v1.Host": {
2020-05-01 12:38:01 -07:00
"type": "object",
"properties": {
2020-05-04 22:57:22 -04:00
"id": {
2020-05-01 12:38:01 -07:00
"type": "string",
2020-05-04 22:57:22 -04:00
"description": "The ID of the host\nOutput only.",
"readOnly": true
2020-05-01 12:38:01 -07:00
},
2020-07-22 00:14:28 -04:00
"scope": {
"$ref": "#/definitions/controller.api.resources.scopes.v1.ScopeInfo",
"description": "Scope information for this resource\nOutput only.",
"readOnly": true
},
2020-05-05 11:19:42 -04:00
"name": {
"type": "string",
2020-05-05 11:19:42 -04:00
"title": "Optional name for identification purposes"
},
"description": {
"type": "string",
"title": "Optional user-set description for identification purposes"
2020-05-01 12:38:01 -07:00
},
"created_time": {
"type": "string",
"format": "date-time",
"description": "The time this resource was created\nOutput only.",
"readOnly": true
2020-05-01 12:38:01 -07:00
},
"updated_time": {
"type": "string",
"format": "date-time",
"description": "The time this resource was last updated\nOutput only.",
2020-05-01 12:38:01 -07:00
"readOnly": true
},
"version": {
"type": "integer",
"format": "int64",
2020-08-20 08:20:26 -07:00
"description": "The version can be used in subsequent write requests to ensure this resource\nhas not changed and to fail the write if it has."
},
"type": {
"type": "string",
"title": "The type of the resource, to help differentiate schemas"
},
2020-08-20 08:20:26 -07:00
"host_catalog_id": {
2020-05-01 12:38:01 -07:00
"type": "string",
2020-08-20 08:20:26 -07:00
"title": "The host catalog this host set is a part of\nOutput only"
},
"host_set_ids": {
"type": "array",
"items": {
"type": "string"
},
"description": "A list of host sets this host is in\nOutput only.",
"readOnly": true
},
"attributes": {
"type": "object",
"description": "The attributes that are applied for the specific host type."
2020-05-01 12:38:01 -07:00
}
},
"title": "Host contains all fields related to a Host resource"
2020-05-01 12:38:01 -07:00
},
"controller.api.resources.hosts.v1.HostCatalog": {
2020-05-01 12:38:01 -07:00
"type": "object",
"properties": {
2020-05-04 22:57:22 -04:00
"id": {
2020-05-01 12:38:01 -07:00
"type": "string",
2020-05-04 22:57:22 -04:00
"description": "The ID of the host\nOutput only.",
2020-05-01 12:38:01 -07:00
"readOnly": true
},
2020-07-22 00:14:28 -04:00
"scope": {
"$ref": "#/definitions/controller.api.resources.scopes.v1.ScopeInfo",
"description": "Scope information for this resource\nOutput only.",
"readOnly": true
},
2020-05-05 11:19:42 -04:00
"name": {
"type": "string",
"title": "Optional name for identification purposes"
},
"description": {
"type": "string",
2020-05-05 11:19:42 -04:00
"title": "Optional user-set description for identification purposes"
2020-05-01 12:38:01 -07:00
},
"created_time": {
"type": "string",
"format": "date-time",
"description": "The time this resource was created\nOutput only.",
2020-05-01 12:38:01 -07:00
"readOnly": true
},
"updated_time": {
"type": "string",
"format": "date-time",
"description": "The time this resource was last updated\nOutput only.",
2020-05-01 12:38:01 -07:00
"readOnly": true
},
"version": {
"type": "integer",
"format": "int64",
"description": "The version can be used in subsequent write requests to ensure this resource\nhas not changed and to fail the write if it has."
},
"type": {
"type": "string",
"title": "The type of the resource, to help differentiate schemas"
},
"attributes": {
"type": "object",
"title": "Attributes specific to the catalog type"
2020-05-01 12:38:01 -07:00
}
},
"title": "HostCatalog manages Hosts and HostSets"
2020-05-01 12:38:01 -07:00
},
"controller.api.resources.hosts.v1.HostSet": {
2020-05-01 12:38:01 -07:00
"type": "object",
"properties": {
2020-05-04 22:57:22 -04:00
"id": {
2020-05-01 12:38:01 -07:00
"type": "string",
2020-05-04 22:57:22 -04:00
"description": "The ID of the host\nOutput only.",
2020-05-01 12:38:01 -07:00
"readOnly": true
},
2020-07-22 00:14:28 -04:00
"scope": {
"$ref": "#/definitions/controller.api.resources.scopes.v1.ScopeInfo",
"description": "Scope information for this resource\nOutput only.",
"readOnly": true
},
2020-05-05 11:19:42 -04:00
"name": {
"type": "string",
"title": "Optional name for identification purposes"
},
"description": {
"type": "string",
2020-05-05 11:19:42 -04:00
"title": "Optional user-set description for identification purposes"
2020-05-01 12:38:01 -07:00
},
"created_time": {
"type": "string",
"format": "date-time",
"description": "The time this resource was created\nOutput only.",
2020-05-01 12:38:01 -07:00
"readOnly": true
},
"updated_time": {
"type": "string",
"format": "date-time",
"description": "The time this resource was last updated\nOutput only.",
2020-05-01 12:38:01 -07:00
"readOnly": true
},
"version": {
"type": "integer",
"format": "int64",
2020-08-21 10:57:30 -07:00
"description": "The version can be used in subsequent write requests to ensure this resource\nhas not changed and to fail the write if it has."
},
"type": {
"type": "string",
"title": "The type of the resource, to help differentiate schemas"
},
2020-08-21 10:57:30 -07:00
"host_catalog_id": {
"type": "string",
"title": "The host catalog this host set is a part of\nOutput only"
2020-05-01 12:38:01 -07:00
},
2020-08-21 10:57:30 -07:00
"host_ids": {
2020-05-01 12:38:01 -07:00
"type": "array",
"items": {
2020-08-21 10:57:30 -07:00
"type": "string"
2020-05-01 12:38:01 -07:00
},
"description": "A list of hosts in this host set\nTODO: Figure out if this should be in the basic HostSet view and what\nview to use on the Hosts.\nOutput only.",
2020-05-01 12:38:01 -07:00
"readOnly": true
2020-08-21 10:57:30 -07:00
},
"attributes": {
"type": "object",
"description": "The attributes that are applied for the specific host set type."
2020-05-01 12:38:01 -07:00
}
},
"title": "HostSet is a collection of Hosts created and managed by a HostCatalog"
2020-05-01 12:38:01 -07:00
},
"controller.api.resources.roles.v1.Grant": {
"type": "object",
"properties": {
"raw": {
"type": "string",
"description": "The original user-supplied string.\nOutput only.",
"readOnly": true
},
"canonical": {
"type": "string",
"description": "The canonically formatted string.\nOutput only.",
"readOnly": true
},
"json": {
"$ref": "#/definitions/controller.api.resources.roles.v1.GrantJson",
"description": "The JSON representation of the grant.\nOutput only.",
"readOnly": true
}
}
},
"controller.api.resources.roles.v1.GrantJson": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The ID, if set.\nOutput only.",
"readOnly": true
},
"type": {
"type": "string",
"description": "The type, if set.\nOutput only.",
"readOnly": true
},
"actions": {
"type": "array",
"items": {
"type": "string"
},
"description": "The actions.\nOutput only.",
"readOnly": true
}
}
},
"controller.api.resources.roles.v1.Principal": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The ID of the principal.\nOutput only.",
"readOnly": true
},
"type": {
"type": "string",
"description": "The type of the principal.\nOutput only.",
"readOnly": true
},
"scope_id": {
"type": "string",
"description": "The scope ID of the principal.\nOutput only.",
"readOnly": true
}
}
},
2020-06-22 06:56:27 -07:00
"controller.api.resources.roles.v1.Role": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The ID of the Role\nOutput only.",
"readOnly": true
},
2020-07-22 00:14:28 -04:00
"scope": {
"$ref": "#/definitions/controller.api.resources.scopes.v1.ScopeInfo",
"description": "Scope information for this resource\nOutput only.",
"readOnly": true
},
2020-06-22 06:56:27 -07:00
"name": {
"type": "string",
"title": "Optional name for identification purposes"
},
"description": {
"type": "string",
"title": "Optional user-set description for identification purposes"
},
"created_time": {
"type": "string",
"format": "date-time",
"description": "The time this resource was created\nOutput only.",
"readOnly": true
},
"updated_time": {
"type": "string",
"format": "date-time",
"description": "The time this resource was last updated.\nOutput only.",
"readOnly": true
},
"version": {
"type": "integer",
"format": "int64",
"description": "The version can be used in subsequent write requests to ensure this resource\nhas not changed and to fail the write if it has."
},
"grant_scope_id": {
"type": "string",
"description": "The scope the grants will apply to. If the role is at the global scope,\nthis can be an org or project. If the role is at an org\nscope, this can be a project within the org. It is invalid for\nthis to be anything other than the role's scope when the role's scope is\na project."
},
"principal_ids": {
"type": "array",
"items": {
"type": "string"
},
"description": "The IDs (only) of principals that are assigned to this role.\nOutput only.",
"readOnly": true
},
"principals": {
"type": "array",
"items": {
"$ref": "#/definitions/controller.api.resources.roles.v1.Principal"
},
"description": "The principals that are assigned to this role.\nOutput only.",
"readOnly": true
},
"grant_strings": {
"type": "array",
"items": {
"type": "string"
},
"description": "The grants that this role provides for its principals.\nOutput only.",
"readOnly": true
},
"grants": {
"type": "array",
"items": {
"$ref": "#/definitions/controller.api.resources.roles.v1.Grant"
},
"description": "The parsed grant information.\nOutput only.",
"readOnly": true
2020-06-22 06:56:27 -07:00
}
},
"title": "Role contains all fields related to a Role resource"
},
2020-07-22 00:14:28 -04:00
"controller.api.resources.scopes.v1.Scope": {
2020-06-19 10:55:50 -07:00
"type": "object",
"properties": {
"id": {
"type": "string",
2020-07-22 00:14:28 -04:00
"description": "The ID of the Scope\nOutput only.",
"readOnly": true
},
"scope": {
"$ref": "#/definitions/controller.api.resources.scopes.v1.ScopeInfo",
"description": "Scope information for this resource\nOutput only.",
2020-06-19 10:55:50 -07:00
"readOnly": true
},
"name": {
"type": "string",
"title": "Optional name for identification purposes"
},
"description": {
"type": "string",
"title": "Optional user-set descripton for identification purposes"
},
"created_time": {
"type": "string",
"format": "date-time",
"description": "The time this resource was created\nOutput only.",
"readOnly": true
},
"updated_time": {
"type": "string",
"format": "date-time",
"description": "The time this resource was last updated.\nOutput only.",
"readOnly": true
2020-07-22 00:14:28 -04:00
},
2020-08-07 12:55:02 -04:00
"version": {
"type": "integer",
"format": "int64",
"description": "The version can be used in subsequent write requests to ensure this\nresource has not changed and to fail the write if it has.\nOutput only.",
"readOnly": true
2020-06-19 10:55:50 -07:00
}
},
2020-07-22 00:14:28 -04:00
"title": "Scope contains all fields related to a Scope resource"
2020-06-19 10:55:50 -07:00
},
2020-07-22 00:14:28 -04:00
"controller.api.resources.scopes.v1.ScopeInfo": {
2020-05-12 17:35:48 -07:00
"type": "object",
"properties": {
"id": {
"type": "string",
2020-07-22 00:14:28 -04:00
"description": "The ID of the Scope\nOutput only.",
2020-05-12 17:35:48 -07:00
"readOnly": true
},
2020-07-22 00:14:28 -04:00
"type": {
2020-05-12 17:35:48 -07:00
"type": "string",
2020-07-22 00:14:28 -04:00
"description": "The type of the Scope\nOutput only.",
"readOnly": true
2020-05-12 17:35:48 -07:00
},
2020-07-22 00:14:28 -04:00
"name": {
2020-05-12 17:35:48 -07:00
"type": "string",
2020-07-22 00:14:28 -04:00
"description": "The name of the scope, if any\nOutput only.",
"readOnly": true
2020-05-12 17:35:48 -07:00
},
2020-07-22 00:14:28 -04:00
"description": {
2020-05-12 17:35:48 -07:00
"type": "string",
2020-07-22 00:14:28 -04:00
"description": "The description of the scope, if any\nOutput only.",
2020-05-12 17:35:48 -07:00
"readOnly": true
},
2020-07-22 00:14:28 -04:00
"parent_scope_id": {
2020-05-12 17:35:48 -07:00
"type": "string",
2020-07-22 00:14:28 -04:00
"description": "The ID of the parent scope, if any\nOutput only.",
2020-05-12 17:35:48 -07:00
"readOnly": true
}
2020-07-22 00:14:28 -04:00
}
2020-05-12 17:35:48 -07:00
},
2020-06-09 11:20:59 -07:00
"controller.api.resources.users.v1.User": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The ID of the Project\nOutput only.",
"readOnly": true
},
2020-07-22 00:14:28 -04:00
"scope": {
"$ref": "#/definitions/controller.api.resources.scopes.v1.ScopeInfo",
"description": "Scope information for this resource\nOutput only.",
"readOnly": true
},
2020-06-09 11:20:59 -07:00
"name": {
"type": "string",
"title": "Optional name for identification purposes"
},
"description": {
"type": "string",
"title": "Optional user-set descripton for identification purposes"
},
"created_time": {
"type": "string",
"format": "date-time",
"description": "The time this resource was created\nOutput only.",
"readOnly": true
},
"updated_time": {
"type": "string",
"format": "date-time",
"description": "The time this resource was last updated.\nOutput only.",
"readOnly": true
},
2020-08-07 12:55:02 -04:00
"version": {
"type": "integer",
"format": "int64",
"description": "The version can be used in subsequent write requests to ensure this\nresource has not changed and to fail the write if it has."
2020-06-09 11:20:59 -07:00
}
},
"title": "User contains all fields related to a User resource"
},
"controller.api.services.v1.AddGroupMembersRequest": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"version": {
"type": "integer",
"format": "int64",
"description": "The version ensures the group hasn't changed since it was last retrieved and if\nit has the request will fail."
},
"member_ids": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"controller.api.services.v1.AddGroupMembersResponse": {
"type": "object",
"properties": {
"item": {
"$ref": "#/definitions/controller.api.resources.groups.v1.Group"
}
}
},
2020-08-21 10:57:30 -07:00
"controller.api.services.v1.AddHostSetHostsRequest": {
"type": "object",
"properties": {
"host_catalog_id": {
"type": "string"
},
"id": {
"type": "string"
},
"version": {
"type": "integer",
"format": "int64"
},
"host_ids": {
"type": "array",
"items": {
"type": "string"
},
"description": "A list of host IDs which will be added to this host set. Each host\nreferenced here must be a child of the same host catalog that this host\nset is a child of."
}
}
},
"controller.api.services.v1.AddHostSetHostsResponse": {
2020-08-21 10:57:30 -07:00
"type": "object",
"properties": {
"item": {
"$ref": "#/definitions/controller.api.resources.hosts.v1.HostSet"
}
}
},
"controller.api.services.v1.AddRoleGrantsRequest": {
"type": "object",
"properties": {
"role_id": {
"type": "string"
},
"version": {
"type": "integer",
"format": "int64",
"description": "The version ensures the role hasn't changed since it was last retrieved and if\nit has the request will fail."
},
"grant_strings": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"controller.api.services.v1.AddRoleGrantsResponse": {
"type": "object",
"properties": {
"item": {
"$ref": "#/definitions/controller.api.resources.roles.v1.Role"
}
}
},
"controller.api.services.v1.AddRolePrincipalsRequest": {
"type": "object",
"properties": {
"role_id": {
"type": "string"
},
"version": {
"type": "integer",
"format": "int64",
"description": "The version ensures the role hasn't changed since it was last retrieved and if\nit has the request will fail."
},
"principal_ids": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"controller.api.services.v1.AddRolePrincipalsResponse": {
"type": "object",
"properties": {
"item": {
"$ref": "#/definitions/controller.api.resources.roles.v1.Role"
}
}
},
2020-06-26 15:41:08 -07:00
"controller.api.services.v1.AuthenticateRequest": {
"type": "object",
"properties": {
"auth_method_id": {
"type": "string",
2020-07-22 00:14:28 -04:00
"description": "The id to the authmethod in the system being used for authentication. The auth method must be in the scope\nbeing logged in to."
2020-06-26 15:41:08 -07:00
},
"token_type": {
"type": "string",
"description": "This can be \"cookie\" or \"token\". If not provided, \"token\" will be used. For now only type \"token\" is returned."
},
"credentials": {
"type": "object",
"description": "credentials are the different possible credential names depending on what type of auth method is used.\nFor password auth method: should include only \"name\" and \"password\"."
2020-06-26 15:41:08 -07:00
}
}
},
"controller.api.services.v1.AuthenticateResponse": {
"type": "object",
"properties": {
"item": {
"$ref": "#/definitions/controller.api.resources.authtokens.v1.AuthToken"
}
}
},
2020-08-17 09:37:15 -07:00
"controller.api.services.v1.ChangePasswordRequest": {
"type": "object",
"properties": {
"auth_method_id": {
"type": "string"
},
"id": {
"type": "string"
},
"version": {
"type": "integer",
"format": "int64"
},
"old_password": {
"type": "string"
},
"new_password": {
"type": "string"
}
}
},
"controller.api.services.v1.ChangePasswordResponse": {
"type": "object",
"properties": {
"item": {
"$ref": "#/definitions/controller.api.resources.authmethods.v1.Account"
}
}
},
"controller.api.services.v1.CreateAccountResponse": {
"type": "object",
"properties": {
"uri": {
"type": "string"
},
"item": {
2020-08-07 12:55:02 -04:00
"$ref": "#/definitions/controller.api.resources.authmethods.v1.Account"
}
}
},
"controller.api.services.v1.CreateAuthMethodResponse": {
"type": "object",
"properties": {
"uri": {
"type": "string"
},
"item": {
2020-08-07 12:55:02 -04:00
"$ref": "#/definitions/controller.api.resources.authmethods.v1.AuthMethod"
}
}
},
2020-06-15 15:22:41 -07:00
"controller.api.services.v1.CreateGroupResponse": {
"type": "object",
"properties": {
"uri": {
"type": "string"
},
"item": {
"$ref": "#/definitions/controller.api.resources.groups.v1.Group"
}
}
},
"controller.api.services.v1.CreateHostCatalogResponse": {
2020-05-01 12:38:01 -07:00
"type": "object",
"properties": {
"uri": {
"type": "string"
},
"item": {
"$ref": "#/definitions/controller.api.resources.hosts.v1.HostCatalog"
2020-05-01 12:38:01 -07:00
}
}
},
"controller.api.services.v1.CreateHostResponse": {
2020-05-01 12:38:01 -07:00
"type": "object",
"properties": {
2020-07-22 00:14:28 -04:00
"uri": {
2020-05-01 12:38:01 -07:00
"type": "string"
},
"item": {
"$ref": "#/definitions/controller.api.resources.hosts.v1.Host"
2020-05-01 12:38:01 -07:00
}
}
},
"controller.api.services.v1.CreateHostSetResponse": {
2020-05-01 12:38:01 -07:00
"type": "object",
"properties": {
"uri": {
"type": "string"
},
"item": {
"$ref": "#/definitions/controller.api.resources.hosts.v1.HostSet"
2020-05-01 12:38:01 -07:00
}
}
},
2020-07-22 00:14:28 -04:00
"controller.api.services.v1.CreateRoleResponse": {
2020-05-12 17:35:48 -07:00
"type": "object",
"properties": {
"uri": {
"type": "string"
},
"item": {
2020-07-22 00:14:28 -04:00
"$ref": "#/definitions/controller.api.resources.roles.v1.Role"
2020-05-12 17:35:48 -07:00
}
}
},
2020-07-22 00:14:28 -04:00
"controller.api.services.v1.CreateScopeResponse": {
2020-06-22 06:56:27 -07:00
"type": "object",
"properties": {
"uri": {
"type": "string"
},
"item": {
2020-07-22 00:14:28 -04:00
"$ref": "#/definitions/controller.api.resources.scopes.v1.Scope"
2020-06-22 06:56:27 -07:00
}
}
},
2020-06-09 11:20:59 -07:00
"controller.api.services.v1.CreateUserResponse": {
"type": "object",
"properties": {
"uri": {
"type": "string"
},
"item": {
"$ref": "#/definitions/controller.api.resources.users.v1.User"
}
}
},
"controller.api.services.v1.DeleteAccountResponse": {
"type": "object",
"properties": {
"existed": {
"type": "boolean",
"format": "boolean"
}
}
},
"controller.api.services.v1.DeleteAuthMethodResponse": {
"type": "object",
"properties": {
"existed": {
"type": "boolean",
"format": "boolean"
}
}
},
"controller.api.services.v1.DeleteAuthTokenResponse": {
"type": "object",
"properties": {
"existed": {
"type": "boolean",
"format": "boolean"
}
}
},
2020-06-15 15:22:41 -07:00
"controller.api.services.v1.DeleteGroupResponse": {
"type": "object",
"properties": {
"existed": {
"type": "boolean",
"format": "boolean"
}
}
},
"controller.api.services.v1.DeleteHostCatalogResponse": {
2020-05-01 12:38:01 -07:00
"type": "object",
"properties": {
"existed": {
"type": "boolean",
"format": "boolean"
}
}
},
"controller.api.services.v1.DeleteHostResponse": {
2020-05-01 12:38:01 -07:00
"type": "object",
"properties": {
"existed": {
"type": "boolean",
"format": "boolean"
}
}
},
"controller.api.services.v1.DeleteHostSetResponse": {
2020-05-01 12:38:01 -07:00
"type": "object",
"properties": {
"existed": {
"type": "boolean",
"format": "boolean"
}
}
},
2020-07-22 00:14:28 -04:00
"controller.api.services.v1.DeleteRoleResponse": {
2020-05-12 17:35:48 -07:00
"type": "object",
"properties": {
"existed": {
"type": "boolean",
"format": "boolean"
}
}
},
2020-07-22 00:14:28 -04:00
"controller.api.services.v1.DeleteScopeResponse": {
2020-06-22 06:56:27 -07:00
"type": "object",
"properties": {
"existed": {
"type": "boolean",
"format": "boolean"
}
}
},
2020-06-09 11:20:59 -07:00
"controller.api.services.v1.DeleteUserResponse": {
"type": "object",
"properties": {
"existed": {
"type": "boolean",
"format": "boolean"
}
}
},
"controller.api.services.v1.GetAccountResponse": {
"type": "object",
"properties": {
"item": {
2020-08-07 12:55:02 -04:00
"$ref": "#/definitions/controller.api.resources.authmethods.v1.Account"
}
}
},
"controller.api.services.v1.GetAuthMethodResponse": {
"type": "object",
"properties": {
"item": {
2020-08-07 12:55:02 -04:00
"$ref": "#/definitions/controller.api.resources.authmethods.v1.AuthMethod"
}
}
},
"controller.api.services.v1.GetAuthTokenResponse": {
"type": "object",
"properties": {
"item": {
"$ref": "#/definitions/controller.api.resources.authtokens.v1.AuthToken"
}
}
},
2020-06-15 15:22:41 -07:00
"controller.api.services.v1.GetGroupResponse": {
"type": "object",
"properties": {
"item": {
"$ref": "#/definitions/controller.api.resources.groups.v1.Group"
}
}
},
"controller.api.services.v1.GetHostCatalogResponse": {
2020-05-01 12:38:01 -07:00
"type": "object",
"properties": {
"item": {
"$ref": "#/definitions/controller.api.resources.hosts.v1.HostCatalog"
2020-05-01 12:38:01 -07:00
}
}
},
"controller.api.services.v1.GetHostResponse": {
2020-05-01 12:38:01 -07:00
"type": "object",
"properties": {
"item": {
"$ref": "#/definitions/controller.api.resources.hosts.v1.Host"
2020-05-01 12:38:01 -07:00
}
}
},
"controller.api.services.v1.GetHostSetResponse": {
2020-05-01 12:38:01 -07:00
"type": "object",
"properties": {
"item": {
"$ref": "#/definitions/controller.api.resources.hosts.v1.HostSet"
2020-05-01 12:38:01 -07:00
}
}
},
2020-07-22 00:14:28 -04:00
"controller.api.services.v1.GetRoleResponse": {
2020-05-12 17:35:48 -07:00
"type": "object",
"properties": {
"item": {
2020-07-22 00:14:28 -04:00
"$ref": "#/definitions/controller.api.resources.roles.v1.Role"
2020-05-12 17:35:48 -07:00
}
}
},
2020-07-22 00:14:28 -04:00
"controller.api.services.v1.GetScopeResponse": {
2020-06-22 06:56:27 -07:00
"type": "object",
"properties": {
"item": {
2020-07-22 00:14:28 -04:00
"$ref": "#/definitions/controller.api.resources.scopes.v1.Scope"
2020-06-22 06:56:27 -07:00
}
}
},
2020-06-09 11:20:59 -07:00
"controller.api.services.v1.GetUserResponse": {
"type": "object",
"properties": {
"item": {
"$ref": "#/definitions/controller.api.resources.users.v1.User"
}
}
},
"controller.api.services.v1.ListAccountsResponse": {
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
2020-08-07 12:55:02 -04:00
"$ref": "#/definitions/controller.api.resources.authmethods.v1.Account"
}
}
}
},
"controller.api.services.v1.ListAuthMethodsResponse": {
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
2020-08-07 12:55:02 -04:00
"$ref": "#/definitions/controller.api.resources.authmethods.v1.AuthMethod"
}
}
}
},
"controller.api.services.v1.ListAuthTokensResponse": {
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"$ref": "#/definitions/controller.api.resources.authtokens.v1.AuthToken"
}
}
}
},
2020-06-15 15:22:41 -07:00
"controller.api.services.v1.ListGroupsResponse": {
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"$ref": "#/definitions/controller.api.resources.groups.v1.Group"
}
}
}
},
"controller.api.services.v1.ListHostCatalogsResponse": {
2020-05-01 12:38:01 -07:00
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"$ref": "#/definitions/controller.api.resources.hosts.v1.HostCatalog"
2020-05-01 12:38:01 -07:00
}
}
}
},
"controller.api.services.v1.ListHostSetsResponse": {
2020-05-01 12:38:01 -07:00
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"$ref": "#/definitions/controller.api.resources.hosts.v1.HostSet"
2020-05-01 12:38:01 -07:00
}
}
}
},
"controller.api.services.v1.ListHostsResponse": {
2020-05-01 12:38:01 -07:00
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"$ref": "#/definitions/controller.api.resources.hosts.v1.Host"
2020-05-01 12:38:01 -07:00
}
}
}
},
2020-07-22 00:14:28 -04:00
"controller.api.services.v1.ListRolesResponse": {
2020-05-12 17:35:48 -07:00
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
2020-07-22 00:14:28 -04:00
"$ref": "#/definitions/controller.api.resources.roles.v1.Role"
2020-05-12 17:35:48 -07:00
}
}
}
},
2020-07-22 00:14:28 -04:00
"controller.api.services.v1.ListScopesResponse": {
2020-06-22 06:56:27 -07:00
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
2020-07-22 00:14:28 -04:00
"$ref": "#/definitions/controller.api.resources.scopes.v1.Scope"
2020-06-22 06:56:27 -07:00
}
}
}
},
2020-06-09 11:20:59 -07:00
"controller.api.services.v1.ListUsersResponse": {
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"$ref": "#/definitions/controller.api.resources.users.v1.User"
}
}
}
},
"controller.api.services.v1.RemoveGroupMembersRequest": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"version": {
"type": "integer",
"format": "int64",
"description": "The version ensures the group hasn't changed since it was last retrieved and if\nit has the request will fail."
},
"member_ids": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"controller.api.services.v1.RemoveGroupMembersResponse": {
"type": "object",
"properties": {
"item": {
"$ref": "#/definitions/controller.api.resources.groups.v1.Group"
}
}
},
2020-08-21 10:57:30 -07:00
"controller.api.services.v1.RemoveHostSetHostsRequest": {
"type": "object",
"properties": {
"host_catalog_id": {
"type": "string"
},
"id": {
"type": "string",
"description": "This host set's id."
},
"version": {
"type": "integer",
"format": "int64"
},
"host_ids": {
"type": "array",
"items": {
"type": "string"
},
"description": "A list of host IDs which should not be in the host set when this request\nreturns."
}
}
},
"controller.api.services.v1.RemoveHostSetHostsResponse": {
2020-08-21 10:57:30 -07:00
"type": "object",
"properties": {
"item": {
"$ref": "#/definitions/controller.api.resources.hosts.v1.HostSet"
}
}
},
"controller.api.services.v1.RemoveRoleGrantsRequest": {
"type": "object",
"properties": {
"role_id": {
"type": "string"
},
"version": {
"type": "integer",
"format": "int64",
"description": "The version ensures the role hasn't changed since it was last retrieved and if\nit has the request will fail."
},
"grant_strings": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"controller.api.services.v1.RemoveRoleGrantsResponse": {
"type": "object",
"properties": {
"item": {
"$ref": "#/definitions/controller.api.resources.roles.v1.Role"
}
}
},
"controller.api.services.v1.RemoveRolePrincipalsRequest": {
"type": "object",
"properties": {
"role_id": {
"type": "string"
},
"version": {
"type": "integer",
"format": "int64",
"description": "The version ensures the role hasn't changed since it was last retrieved and if\nit has the request will fail."
},
"principal_ids": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"controller.api.services.v1.RemoveRolePrincipalsResponse": {
"type": "object",
"properties": {
"item": {
"$ref": "#/definitions/controller.api.resources.roles.v1.Role"
}
}
},
"controller.api.services.v1.SetGroupMembersRequest": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"version": {
"type": "integer",
"format": "int64",
"description": "The version ensures the group hasn't changed since it was last retrieved and if\nit has the request will fail."
},
"member_ids": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"controller.api.services.v1.SetGroupMembersResponse": {
"type": "object",
"properties": {
"item": {
"$ref": "#/definitions/controller.api.resources.groups.v1.Group"
}
}
},
2020-08-21 10:57:30 -07:00
"controller.api.services.v1.SetHostSetHostsRequest": {
"type": "object",
"properties": {
"host_catalog_id": {
"type": "string"
},
"id": {
"type": "string"
},
"version": {
"type": "integer",
"format": "int64"
},
"host_ids": {
"type": "array",
"items": {
"type": "string"
},
"description": "A list of host IDs which will be set on this host set. Each host\nreferenced here must be a child of the same host catalog that this host\nset is a child of."
}
}
},
"controller.api.services.v1.SetHostSetHostsResponse": {
2020-08-21 10:57:30 -07:00
"type": "object",
"properties": {
"item": {
"$ref": "#/definitions/controller.api.resources.hosts.v1.HostSet"
}
}
},
2020-08-17 09:37:15 -07:00
"controller.api.services.v1.SetPasswordRequest": {
"type": "object",
"properties": {
"auth_method_id": {
"type": "string"
},
"id": {
"type": "string"
},
"version": {
"type": "integer",
"format": "int64"
},
"password": {
"type": "string"
}
}
},
"controller.api.services.v1.SetPasswordResponse": {
"type": "object",
"properties": {
"item": {
"$ref": "#/definitions/controller.api.resources.authmethods.v1.Account"
}
}
},
"controller.api.services.v1.SetRoleGrantsRequest": {
"type": "object",
"properties": {
"role_id": {
"type": "string"
},
"version": {
"type": "integer",
"format": "int64",
"description": "The version ensures the role hasn't changed since it was last retrieved and if\nit has the request will fail."
},
"grant_strings": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"controller.api.services.v1.SetRoleGrantsResponse": {
"type": "object",
"properties": {
"item": {
"$ref": "#/definitions/controller.api.resources.roles.v1.Role"
}
}
},
"controller.api.services.v1.SetRolePrincipalsRequest": {
"type": "object",
"properties": {
"role_id": {
"type": "string"
},
"version": {
"type": "integer",
"format": "int64",
"description": "The version ensures the role hasn't changed since it was last retrieved and if\nit has the request will fail."
},
"principal_ids": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"controller.api.services.v1.SetRolePrincipalsResponse": {
"type": "object",
"properties": {
"item": {
"$ref": "#/definitions/controller.api.resources.roles.v1.Role"
}
}
},
2020-08-12 00:40:39 -04:00
"controller.api.services.v1.StatusResponse": {
"type": "object",
"properties": {
"controllers": {
"type": "array",
"items": {
"$ref": "#/definitions/controller.servers.v1.Server"
},
"description": "Active controllers. This can be used (eventually) for conneciton\nmanagement."
},
"cancel_job_ids": {
"type": "array",
"items": {
"type": "string"
},
"description": "Jobs that should be canceled: ones assigned to this worker that have been\nreported as active but are in canceling state in the database. Once the\nworker cancels the job, it will no longer show up in active_jobs in the\nnext heartbeat, and we can move the job to canceled state."
}
}
},
"controller.api.services.v1.UpdateAccountResponse": {
"type": "object",
"properties": {
"item": {
2020-08-07 12:55:02 -04:00
"$ref": "#/definitions/controller.api.resources.authmethods.v1.Account"
}
}
},
"controller.api.services.v1.UpdateAuthMethodResponse": {
"type": "object",
"properties": {
"item": {
2020-08-07 12:55:02 -04:00
"$ref": "#/definitions/controller.api.resources.authmethods.v1.AuthMethod"
}
}
},
2020-06-15 15:22:41 -07:00
"controller.api.services.v1.UpdateGroupResponse": {
"type": "object",
"properties": {
"item": {
"$ref": "#/definitions/controller.api.resources.groups.v1.Group"
}
}
},
"controller.api.services.v1.UpdateHostCatalogResponse": {
2020-05-01 12:38:01 -07:00
"type": "object",
"properties": {
"item": {
"$ref": "#/definitions/controller.api.resources.hosts.v1.HostCatalog"
2020-05-01 12:38:01 -07:00
}
}
},
"controller.api.services.v1.UpdateHostResponse": {
2020-05-01 12:38:01 -07:00
"type": "object",
"properties": {
"item": {
"$ref": "#/definitions/controller.api.resources.hosts.v1.Host"
2020-05-01 12:38:01 -07:00
}
}
},
"controller.api.services.v1.UpdateHostSetResponse": {
2020-05-01 12:38:01 -07:00
"type": "object",
"properties": {
"item": {
"$ref": "#/definitions/controller.api.resources.hosts.v1.HostSet"
2020-05-01 12:38:01 -07:00
}
}
},
2020-07-22 00:14:28 -04:00
"controller.api.services.v1.UpdateRoleResponse": {
2020-05-12 17:35:48 -07:00
"type": "object",
"properties": {
"item": {
2020-07-22 00:14:28 -04:00
"$ref": "#/definitions/controller.api.resources.roles.v1.Role"
2020-05-12 17:35:48 -07:00
}
}
},
2020-07-22 00:14:28 -04:00
"controller.api.services.v1.UpdateScopeResponse": {
2020-06-22 06:56:27 -07:00
"type": "object",
"properties": {
"item": {
2020-07-22 00:14:28 -04:00
"$ref": "#/definitions/controller.api.resources.scopes.v1.Scope"
2020-06-22 06:56:27 -07:00
}
}
},
2020-06-09 11:20:59 -07:00
"controller.api.services.v1.UpdateUserResponse": {
"type": "object",
"properties": {
"item": {
"$ref": "#/definitions/controller.api.resources.users.v1.User"
}
}
},
2020-08-12 00:40:39 -04:00
"controller.servers.v1.Server": {
"type": "object",
"properties": {
"private_id": {
"type": "string",
"title": "Private ID of the resource"
},
"type": {
"type": "string",
"title": "Type of the resource (controller, worker)"
},
"name": {
"type": "string",
"title": "Name of the resource"
},
"description": {
"type": "string",
"title": "Description of the resource"
},
"address": {
"type": "string",
"title": "Address for the server"
},
"create_time": {
"$ref": "#/definitions/controller.storage.timestamp.v1.Timestamp",
"title": "First seen time from the RDBMS"
},
"update_time": {
"$ref": "#/definitions/controller.storage.timestamp.v1.Timestamp",
"title": "Last time there was an update"
}
},
"title": "Server contains all fields related to a Controller or Worker resource"
},
"controller.storage.timestamp.v1.Timestamp": {
"type": "object",
"properties": {
"timestamp": {
"type": "string",
"format": "date-time"
}
},
"title": "Timestamp for storage messages. We've defined a new local type wrapper\nof google.protobuf.Timestamp so we can implement sql.Scanner and sql.Valuer\ninterfaces. See:\nhttps://golang.org/pkg/database/sql/#Scanner\nhttps://golang.org/pkg/database/sql/driver/#Valuer"
},
"google.protobuf.NullValue": {
"type": "string",
"enum": [
"NULL_VALUE"
],
"default": "NULL_VALUE",
"description": "`NullValue` is a singleton enumeration to represent the null value for the\n`Value` type union.\n\n The JSON representation for `NullValue` is JSON `null`.\n\n - NULL_VALUE: Null value."
2020-05-01 12:38:01 -07:00
}
}
}