mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-13 14:30:00 +00:00
fixup! fixup! fixup! fixup! fixup! fixup! fixup! adding more tests for ListOrganization()
This commit is contained in:
@@ -1257,7 +1257,8 @@ service AdminService {
|
|||||||
value: {
|
value: {
|
||||||
description: "list of organizations matching the query";
|
description: "list of organizations matching the query";
|
||||||
};
|
};
|
||||||
};
|
}
|
||||||
|
deprecated: true;
|
||||||
responses: {
|
responses: {
|
||||||
key: "400";
|
key: "400";
|
||||||
value: {
|
value: {
|
||||||
@@ -1292,7 +1293,8 @@ service AdminService {
|
|||||||
value: {
|
value: {
|
||||||
description: "org, user and user membership were created successfully";
|
description: "org, user and user membership were created successfully";
|
||||||
};
|
};
|
||||||
};
|
}
|
||||||
|
deprecated: true;
|
||||||
responses: {
|
responses: {
|
||||||
key: "400";
|
key: "400";
|
||||||
value: {
|
value: {
|
||||||
@@ -1325,7 +1327,8 @@ service AdminService {
|
|||||||
value: {
|
value: {
|
||||||
description: "org removed successfully";
|
description: "org removed successfully";
|
||||||
};
|
};
|
||||||
};
|
}
|
||||||
|
deprecated: true;
|
||||||
responses: {
|
responses: {
|
||||||
key: "400";
|
key: "400";
|
||||||
value: {
|
value: {
|
||||||
|
@@ -2134,6 +2134,7 @@ service ManagementService {
|
|||||||
tags: "Organizations";
|
tags: "Organizations";
|
||||||
summary: "Create Organization";
|
summary: "Create Organization";
|
||||||
description: "Create a new organization. Based on the given name a domain will be generated to be able to identify users within an organization."
|
description: "Create a new organization. Based on the given name a domain will be generated to be able to identify users within an organization."
|
||||||
|
deprecated: true
|
||||||
parameters: {
|
parameters: {
|
||||||
headers: {
|
headers: {
|
||||||
name: "x-zitadel-orgid";
|
name: "x-zitadel-orgid";
|
||||||
@@ -2160,6 +2161,7 @@ service ManagementService {
|
|||||||
tags: "Organizations";
|
tags: "Organizations";
|
||||||
summary: "Update Organization";
|
summary: "Update Organization";
|
||||||
description: "Change the name of the organization."
|
description: "Change the name of the organization."
|
||||||
|
deprecated: true
|
||||||
parameters: {
|
parameters: {
|
||||||
headers: {
|
headers: {
|
||||||
name: "x-zitadel-orgid";
|
name: "x-zitadel-orgid";
|
||||||
@@ -2186,6 +2188,7 @@ service ManagementService {
|
|||||||
tags: "Organizations";
|
tags: "Organizations";
|
||||||
summary: "Deactivate Organization";
|
summary: "Deactivate Organization";
|
||||||
description: "Sets the state of my organization to deactivated. Users of this organization will not be able to log in."
|
description: "Sets the state of my organization to deactivated. Users of this organization will not be able to log in."
|
||||||
|
deprecated: true
|
||||||
parameters: {
|
parameters: {
|
||||||
headers: {
|
headers: {
|
||||||
name: "x-zitadel-orgid";
|
name: "x-zitadel-orgid";
|
||||||
@@ -2212,6 +2215,7 @@ service ManagementService {
|
|||||||
tags: "Organizations";
|
tags: "Organizations";
|
||||||
summary: "Reactivate Organization";
|
summary: "Reactivate Organization";
|
||||||
description: "Set the state of my organization to active. The state of the organization has to be deactivated to perform the request. Users of this organization will be able to log in again."
|
description: "Set the state of my organization to active. The state of the organization has to be deactivated to perform the request. Users of this organization will be able to log in again."
|
||||||
|
deprecated: true
|
||||||
parameters: {
|
parameters: {
|
||||||
headers: {
|
headers: {
|
||||||
name: "x-zitadel-orgid";
|
name: "x-zitadel-orgid";
|
||||||
@@ -2237,6 +2241,7 @@ service ManagementService {
|
|||||||
tags: "Organizations";
|
tags: "Organizations";
|
||||||
summary: "Delete Organization";
|
summary: "Delete Organization";
|
||||||
description: "Deletes my organization and all its resources (Users, Projects, Grants to and from the org). Users of this organization will not be able to log in."
|
description: "Deletes my organization and all its resources (Users, Projects, Grants to and from the org). Users of this organization will not be able to log in."
|
||||||
|
deprecated: true
|
||||||
parameters: {
|
parameters: {
|
||||||
headers: {
|
headers: {
|
||||||
name: "x-zitadel-orgid";
|
name: "x-zitadel-orgid";
|
||||||
@@ -2264,6 +2269,7 @@ service ManagementService {
|
|||||||
tags: "Organization Metadata";
|
tags: "Organization Metadata";
|
||||||
summary: "Set Organization Metadata";
|
summary: "Set Organization Metadata";
|
||||||
description: "This endpoint either adds or updates a metadata value for the requested key. Make sure the value is base64 encoded."
|
description: "This endpoint either adds or updates a metadata value for the requested key. Make sure the value is base64 encoded."
|
||||||
|
deprecated: true
|
||||||
parameters: {
|
parameters: {
|
||||||
headers: {
|
headers: {
|
||||||
name: "x-zitadel-orgid";
|
name: "x-zitadel-orgid";
|
||||||
@@ -2291,6 +2297,7 @@ service ManagementService {
|
|||||||
tags: "Organization Metadata";
|
tags: "Organization Metadata";
|
||||||
summary: "Bulk Set Organization Metadata";
|
summary: "Bulk Set Organization Metadata";
|
||||||
description: "This endpoint sets a list of metadata to the organization. Make sure the values are base64 encoded."
|
description: "This endpoint sets a list of metadata to the organization. Make sure the values are base64 encoded."
|
||||||
|
deprecated: true
|
||||||
parameters: {
|
parameters: {
|
||||||
headers: {
|
headers: {
|
||||||
name: "x-zitadel-orgid";
|
name: "x-zitadel-orgid";
|
||||||
@@ -2318,6 +2325,7 @@ service ManagementService {
|
|||||||
tags: "Organization Metadata";
|
tags: "Organization Metadata";
|
||||||
summary: "Search Organization Metadata";
|
summary: "Search Organization Metadata";
|
||||||
description: "Get the metadata of an organization filtered by your query."
|
description: "Get the metadata of an organization filtered by your query."
|
||||||
|
deprecated: true
|
||||||
parameters: {
|
parameters: {
|
||||||
headers: {
|
headers: {
|
||||||
name: "x-zitadel-orgid";
|
name: "x-zitadel-orgid";
|
||||||
@@ -2344,6 +2352,7 @@ service ManagementService {
|
|||||||
tags: "Organization Metadata";
|
tags: "Organization Metadata";
|
||||||
summary: "Get Organization Metadata By Key";
|
summary: "Get Organization Metadata By Key";
|
||||||
description: "Get a metadata object from an organization by a specific key."
|
description: "Get a metadata object from an organization by a specific key."
|
||||||
|
deprecated: true
|
||||||
parameters: {
|
parameters: {
|
||||||
headers: {
|
headers: {
|
||||||
name: "x-zitadel-orgid";
|
name: "x-zitadel-orgid";
|
||||||
@@ -2370,6 +2379,7 @@ service ManagementService {
|
|||||||
tags: "Organization Metadata";
|
tags: "Organization Metadata";
|
||||||
summary: "Delete Organization Metadata By Key";
|
summary: "Delete Organization Metadata By Key";
|
||||||
description: "Remove a metadata object from an organization with a specific key."
|
description: "Remove a metadata object from an organization with a specific key."
|
||||||
|
deprecated: true
|
||||||
parameters: {
|
parameters: {
|
||||||
headers: {
|
headers: {
|
||||||
name: "x-zitadel-orgid";
|
name: "x-zitadel-orgid";
|
||||||
@@ -2422,6 +2432,7 @@ service ManagementService {
|
|||||||
tags: "Organizations";
|
tags: "Organizations";
|
||||||
summary: "Add Domain";
|
summary: "Add Domain";
|
||||||
description: "Add a new domain to an organization. The domains are used to identify to which organization a user belongs."
|
description: "Add a new domain to an organization. The domains are used to identify to which organization a user belongs."
|
||||||
|
deprecated: true
|
||||||
parameters: {
|
parameters: {
|
||||||
headers: {
|
headers: {
|
||||||
name: "x-zitadel-orgid";
|
name: "x-zitadel-orgid";
|
||||||
@@ -2448,6 +2459,7 @@ service ManagementService {
|
|||||||
tags: "Organizations";
|
tags: "Organizations";
|
||||||
summary: "Search Domains";
|
summary: "Search Domains";
|
||||||
description: "Returns the list of registered domains of an organization. The domains are used to identify to which organization a user belongs."
|
description: "Returns the list of registered domains of an organization. The domains are used to identify to which organization a user belongs."
|
||||||
|
deprecated: true
|
||||||
parameters: {
|
parameters: {
|
||||||
headers: {
|
headers: {
|
||||||
name: "x-zitadel-orgid";
|
name: "x-zitadel-orgid";
|
||||||
@@ -2473,6 +2485,7 @@ service ManagementService {
|
|||||||
tags: "Organizations";
|
tags: "Organizations";
|
||||||
summary: "Remove Domain";
|
summary: "Remove Domain";
|
||||||
description: "Delete a new domain from an organization. The domains are used to identify to which organization a user belongs. If the uses use the domain for login, this will not be possible afterwards. They have to use another domain instead."
|
description: "Delete a new domain from an organization. The domains are used to identify to which organization a user belongs. If the uses use the domain for login, this will not be possible afterwards. They have to use another domain instead."
|
||||||
|
deprecated: true
|
||||||
parameters: {
|
parameters: {
|
||||||
headers: {
|
headers: {
|
||||||
name: "x-zitadel-orgid";
|
name: "x-zitadel-orgid";
|
||||||
@@ -2499,6 +2512,7 @@ service ManagementService {
|
|||||||
tags: "Organizations";
|
tags: "Organizations";
|
||||||
summary: "Generate Domain Verification";
|
summary: "Generate Domain Verification";
|
||||||
description: "Generate a new file to be able to verify your domain with DNS or HTTP challenge."
|
description: "Generate a new file to be able to verify your domain with DNS or HTTP challenge."
|
||||||
|
deprecated: true
|
||||||
parameters: {
|
parameters: {
|
||||||
headers: {
|
headers: {
|
||||||
name: "x-zitadel-orgid";
|
name: "x-zitadel-orgid";
|
||||||
@@ -2525,6 +2539,7 @@ service ManagementService {
|
|||||||
tags: "Organizations";
|
tags: "Organizations";
|
||||||
summary: "Verify Domain";
|
summary: "Verify Domain";
|
||||||
description: "Make sure you have added the required verification to your domain, depending on the method you have chosen (HTTP or DNS challenge). ZITADEL will check it and set the domain as verified if it was successful. A verify domain has to be unique."
|
description: "Make sure you have added the required verification to your domain, depending on the method you have chosen (HTTP or DNS challenge). ZITADEL will check it and set the domain as verified if it was successful. A verify domain has to be unique."
|
||||||
|
deprecated: true
|
||||||
parameters: {
|
parameters: {
|
||||||
headers: {
|
headers: {
|
||||||
name: "x-zitadel-orgid";
|
name: "x-zitadel-orgid";
|
||||||
|
@@ -14,12 +14,13 @@ import "google/api/field_behavior.proto";
|
|||||||
import "google/protobuf/struct.proto";
|
import "google/protobuf/struct.proto";
|
||||||
import "protoc-gen-openapiv2/options/annotations.proto";
|
import "protoc-gen-openapiv2/options/annotations.proto";
|
||||||
import "validate/validate.proto";
|
import "validate/validate.proto";
|
||||||
|
import "google/protobuf/timestamp.proto";
|
||||||
|
|
||||||
option go_package = "github.com/zitadel/zitadel/pkg/grpc/org/v2beta;org";
|
option go_package = "github.com/zitadel/zitadel/pkg/grpc/org/v2beta;org";
|
||||||
|
|
||||||
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = {
|
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = {
|
||||||
info: {
|
info: {
|
||||||
title: "User Service";
|
title: "Organization Service (Beta)";
|
||||||
version: "2.0-beta";
|
version: "2.0-beta";
|
||||||
description: "This API is intended to manage organizations in a ZITADEL instance. This project is in beta state. It can AND will continue breaking until the services provide the same functionality as the current login.";
|
description: "This API is intended to manage organizations in a ZITADEL instance. This project is in beta state. It can AND will continue breaking until the services provide the same functionality as the current login.";
|
||||||
contact:{
|
contact:{
|
||||||
@@ -105,7 +106,7 @@ option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
service OrganizationService {
|
service OrganizationServiceV2beta {
|
||||||
|
|
||||||
// Create Organization
|
// Create Organization
|
||||||
//
|
//
|
||||||
@@ -636,7 +637,6 @@ message DeleteOrganizationDomainRequest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
message DeleteOrganizationDomainResponse {
|
message DeleteOrganizationDomainResponse {
|
||||||
zitadel.object.v2beta.Details details = 1;
|
|
||||||
// The timestamp of the deletion of the organization domain.
|
// The timestamp of the deletion of the organization domain.
|
||||||
google.protobuf.Timestamp change_date = 1 [
|
google.protobuf.Timestamp change_date = 1 [
|
||||||
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||||||
|
Reference in New Issue
Block a user