mirror of
https://github.com/fosrl/pangolin.git
synced 2026-07-11 08:22:05 +02:00
More route cleanup
This commit is contained in:
+2
-1
@@ -10,7 +10,7 @@ export enum OpenAPITags {
|
|||||||
Client = "Client",
|
Client = "Client",
|
||||||
Org = "Organization",
|
Org = "Organization",
|
||||||
Domain = "Domain",
|
Domain = "Domain",
|
||||||
Policy = "Policy",
|
PublicResourcePolicy = "Public Resource Policy",
|
||||||
Role = "Role",
|
Role = "Role",
|
||||||
User = "User",
|
User = "User",
|
||||||
Rule = "Rule",
|
Rule = "Rule",
|
||||||
@@ -22,6 +22,7 @@ export enum OpenAPITags {
|
|||||||
Blueprint = "Blueprint",
|
Blueprint = "Blueprint",
|
||||||
Ssh = "SSH",
|
Ssh = "SSH",
|
||||||
Logs = "Logs",
|
Logs = "Logs",
|
||||||
|
PublicResourcePolicyLegacy = "Public Resource Policy (Legacy)",
|
||||||
PublicResourceLegacy = "Public Resource (Legacy)",
|
PublicResourceLegacy = "Public Resource (Legacy)",
|
||||||
PrivateResourceLegacy = "Private Resource (Legacy)"
|
PrivateResourceLegacy = "Private Resource (Legacy)"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -121,7 +121,7 @@ registry.registerPath({
|
|||||||
method: "post",
|
method: "post",
|
||||||
path: "/org/{orgId}/resource-policy",
|
path: "/org/{orgId}/resource-policy",
|
||||||
description: "Create a resource policy.",
|
description: "Create a resource policy.",
|
||||||
tags: [OpenAPITags.Org, OpenAPITags.Policy],
|
tags: [OpenAPITags.Org, OpenAPITags.PublicResourcePolicy],
|
||||||
request: {
|
request: {
|
||||||
params: createResourcePolicyParamsSchema,
|
params: createResourcePolicyParamsSchema,
|
||||||
body: {
|
body: {
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ registry.registerPath({
|
|||||||
method: "delete",
|
method: "delete",
|
||||||
path: "/resource-policy/{resourcePolicyId}",
|
path: "/resource-policy/{resourcePolicyId}",
|
||||||
description: "Delete a resource policy.",
|
description: "Delete a resource policy.",
|
||||||
tags: [OpenAPITags.Policy],
|
tags: [OpenAPITags.PublicResourcePolicy],
|
||||||
request: {
|
request: {
|
||||||
params: deleteResourcePolicySchema
|
params: deleteResourcePolicySchema
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -79,7 +79,7 @@ registry.registerPath({
|
|||||||
method: "get",
|
method: "get",
|
||||||
path: "/org/{orgId}/resource-policies",
|
path: "/org/{orgId}/resource-policies",
|
||||||
description: "List resource policies for an organization.",
|
description: "List resource policies for an organization.",
|
||||||
tags: [OpenAPITags.Org, OpenAPITags.Policy],
|
tags: [OpenAPITags.Org, OpenAPITags.PublicResourcePolicy],
|
||||||
request: {
|
request: {
|
||||||
params: z.object({
|
params: z.object({
|
||||||
orgId: z.string()
|
orgId: z.string()
|
||||||
|
|||||||
@@ -168,7 +168,7 @@ registry.registerPath({
|
|||||||
path: "/org/{orgId}/resource-policy/{niceId}",
|
path: "/org/{orgId}/resource-policy/{niceId}",
|
||||||
description:
|
description:
|
||||||
"Get a resource policy by orgId and niceId. NiceId is a readable ID for the resource and unique on a per org basis.",
|
"Get a resource policy by orgId and niceId. NiceId is a readable ID for the resource and unique on a per org basis.",
|
||||||
tags: [OpenAPITags.Org, OpenAPITags.Policy],
|
tags: [OpenAPITags.Org, OpenAPITags.PublicResourcePolicy],
|
||||||
request: {
|
request: {
|
||||||
params: z.object({
|
params: z.object({
|
||||||
orgId: z.string(),
|
orgId: z.string(),
|
||||||
@@ -182,7 +182,7 @@ registry.registerPath({
|
|||||||
method: "get",
|
method: "get",
|
||||||
path: "/resource-policy/{resourcePolicyId}",
|
path: "/resource-policy/{resourcePolicyId}",
|
||||||
description: "Get a resource policy by its resourcePolicyId.",
|
description: "Get a resource policy by its resourcePolicyId.",
|
||||||
tags: [OpenAPITags.Policy],
|
tags: [OpenAPITags.PublicResourcePolicyLegacy],
|
||||||
request: {
|
request: {
|
||||||
params: z.object({
|
params: z.object({
|
||||||
resourcePolicyId: z.number()
|
resourcePolicyId: z.number()
|
||||||
@@ -195,7 +195,7 @@ registry.registerPath({
|
|||||||
method: "get",
|
method: "get",
|
||||||
path: "/public-resource-policy/{resourcePolicyId}",
|
path: "/public-resource-policy/{resourcePolicyId}",
|
||||||
description: "Get a resource policy by its resourcePolicyId.",
|
description: "Get a resource policy by its resourcePolicyId.",
|
||||||
tags: [OpenAPITags.Policy],
|
tags: [OpenAPITags.PublicResourcePolicy],
|
||||||
request: {
|
request: {
|
||||||
params: z.object({
|
params: z.object({
|
||||||
resourcePolicyId: z.number()
|
resourcePolicyId: z.number()
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ registry.registerPath({
|
|||||||
path: "/resource-policy/{resourceId}/access-control",
|
path: "/resource-policy/{resourceId}/access-control",
|
||||||
description:
|
description:
|
||||||
"Set access control users for a resource policy, including SSO, users, roles, Identity provider.",
|
"Set access control users for a resource policy, including SSO, users, roles, Identity provider.",
|
||||||
tags: [OpenAPITags.Policy, OpenAPITags.User],
|
tags: [OpenAPITags.PublicResourcePolicyLegacy],
|
||||||
request: {
|
request: {
|
||||||
params: setResourcePolicyAccessControlParamsSchema,
|
params: setResourcePolicyAccessControlParamsSchema,
|
||||||
body: {
|
body: {
|
||||||
@@ -59,7 +59,7 @@ registry.registerPath({
|
|||||||
path: "/public-resource-policy/{resourceId}/access-control",
|
path: "/public-resource-policy/{resourceId}/access-control",
|
||||||
description:
|
description:
|
||||||
"Set access control users for a resource policy, including SSO, users, roles, Identity provider.",
|
"Set access control users for a resource policy, including SSO, users, roles, Identity provider.",
|
||||||
tags: [OpenAPITags.Policy, OpenAPITags.User],
|
tags: [OpenAPITags.PublicResourcePolicy, OpenAPITags.User],
|
||||||
request: {
|
request: {
|
||||||
params: setResourcePolicyAccessControlParamsSchema,
|
params: setResourcePolicyAccessControlParamsSchema,
|
||||||
body: {
|
body: {
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ registry.registerPath({
|
|||||||
path: "/resource-policy/{resourcePolicyId}/header-auth",
|
path: "/resource-policy/{resourcePolicyId}/header-auth",
|
||||||
description:
|
description:
|
||||||
"Set or update the header authentication for a resource policy. If user and password is not provided, it will remove the header authentication.",
|
"Set or update the header authentication for a resource policy. If user and password is not provided, it will remove the header authentication.",
|
||||||
tags: [OpenAPITags.Policy],
|
tags: [OpenAPITags.PublicResourcePolicyLegacy],
|
||||||
request: {
|
request: {
|
||||||
params: setResourcePolicyHeaderAuthParamsSchema,
|
params: setResourcePolicyHeaderAuthParamsSchema,
|
||||||
body: {
|
body: {
|
||||||
@@ -48,7 +48,7 @@ registry.registerPath({
|
|||||||
path: "/public-resource-policy/{resourcePolicyId}/header-auth",
|
path: "/public-resource-policy/{resourcePolicyId}/header-auth",
|
||||||
description:
|
description:
|
||||||
"Set or update the header authentication for a resource policy. If user and password is not provided, it will remove the header authentication.",
|
"Set or update the header authentication for a resource policy. If user and password is not provided, it will remove the header authentication.",
|
||||||
tags: [OpenAPITags.Policy],
|
tags: [OpenAPITags.PublicResourcePolicy],
|
||||||
request: {
|
request: {
|
||||||
params: setResourcePolicyHeaderAuthParamsSchema,
|
params: setResourcePolicyHeaderAuthParamsSchema,
|
||||||
body: {
|
body: {
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ registry.registerPath({
|
|||||||
path: "/resource-policy/{resourcePolicyId}/password",
|
path: "/resource-policy/{resourcePolicyId}/password",
|
||||||
description:
|
description:
|
||||||
"Set the password for a resource policy. Setting the password to null will remove it.",
|
"Set the password for a resource policy. Setting the password to null will remove it.",
|
||||||
tags: [OpenAPITags.Policy],
|
tags: [OpenAPITags.PublicResourcePolicyLegacy],
|
||||||
request: {
|
request: {
|
||||||
params: setResourcePolicyPasswordParamsSchema,
|
params: setResourcePolicyPasswordParamsSchema,
|
||||||
body: {
|
body: {
|
||||||
@@ -43,7 +43,7 @@ registry.registerPath({
|
|||||||
path: "/public-resource-policy/{resourcePolicyId}/password",
|
path: "/public-resource-policy/{resourcePolicyId}/password",
|
||||||
description:
|
description:
|
||||||
"Set the password for a resource policy. Setting the password to null will remove it.",
|
"Set the password for a resource policy. Setting the password to null will remove it.",
|
||||||
tags: [OpenAPITags.Policy],
|
tags: [OpenAPITags.PublicResourcePolicy],
|
||||||
request: {
|
request: {
|
||||||
params: setResourcePolicyPasswordParamsSchema,
|
params: setResourcePolicyPasswordParamsSchema,
|
||||||
body: {
|
body: {
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ registry.registerPath({
|
|||||||
path: "/resource-policy/{resourcePolicyId}/pincode",
|
path: "/resource-policy/{resourcePolicyId}/pincode",
|
||||||
description:
|
description:
|
||||||
"Set the PIN code for a resource policy. Setting the PIN code to null will remove it.",
|
"Set the PIN code for a resource policy. Setting the PIN code to null will remove it.",
|
||||||
tags: [OpenAPITags.Policy],
|
tags: [OpenAPITags.PublicResourcePolicyLegacy],
|
||||||
request: {
|
request: {
|
||||||
params: setResourcePolicyPincodeParamsSchema,
|
params: setResourcePolicyPincodeParamsSchema,
|
||||||
body: {
|
body: {
|
||||||
@@ -46,7 +46,7 @@ registry.registerPath({
|
|||||||
path: "/public-resource-policy/{resourcePolicyId}/pincode",
|
path: "/public-resource-policy/{resourcePolicyId}/pincode",
|
||||||
description:
|
description:
|
||||||
"Set the PIN code for a resource policy. Setting the PIN code to null will remove it.",
|
"Set the PIN code for a resource policy. Setting the PIN code to null will remove it.",
|
||||||
tags: [OpenAPITags.Policy],
|
tags: [OpenAPITags.PublicResourcePolicy],
|
||||||
request: {
|
request: {
|
||||||
params: setResourcePolicyPincodeParamsSchema,
|
params: setResourcePolicyPincodeParamsSchema,
|
||||||
body: {
|
body: {
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ registry.registerPath({
|
|||||||
path: "/resource-policy/{resourcePolicyId}/rules",
|
path: "/resource-policy/{resourcePolicyId}/rules",
|
||||||
description:
|
description:
|
||||||
"Set all rules for a resource policy at once. This will replace all existing rules.",
|
"Set all rules for a resource policy at once. This will replace all existing rules.",
|
||||||
tags: [OpenAPITags.Policy],
|
tags: [OpenAPITags.PublicResourcePolicyLegacy],
|
||||||
request: {
|
request: {
|
||||||
params: setResourcePolicyRulesParamsSchema,
|
params: setResourcePolicyRulesParamsSchema,
|
||||||
body: {
|
body: {
|
||||||
@@ -66,7 +66,7 @@ registry.registerPath({
|
|||||||
path: "/public-resource-policy/{resourcePolicyId}/rules",
|
path: "/public-resource-policy/{resourcePolicyId}/rules",
|
||||||
description:
|
description:
|
||||||
"Set all rules for a resource policy at once. This will replace all existing rules.",
|
"Set all rules for a resource policy at once. This will replace all existing rules.",
|
||||||
tags: [OpenAPITags.Policy],
|
tags: [OpenAPITags.PublicResourcePolicy],
|
||||||
request: {
|
request: {
|
||||||
params: setResourcePolicyRulesParamsSchema,
|
params: setResourcePolicyRulesParamsSchema,
|
||||||
body: {
|
body: {
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ registry.registerPath({
|
|||||||
path: "/resource-policy/{resourcePolicyId}/whitelist",
|
path: "/resource-policy/{resourcePolicyId}/whitelist",
|
||||||
description:
|
description:
|
||||||
"Set email whitelist for a resource policy. This will replace all existing emails.",
|
"Set email whitelist for a resource policy. This will replace all existing emails.",
|
||||||
tags: [OpenAPITags.Policy],
|
tags: [OpenAPITags.PublicResourcePolicyLegacy],
|
||||||
request: {
|
request: {
|
||||||
params: setResourcePolicyWhitelistParamsSchema,
|
params: setResourcePolicyWhitelistParamsSchema,
|
||||||
body: {
|
body: {
|
||||||
@@ -51,7 +51,7 @@ registry.registerPath({
|
|||||||
path: "/public-resource-policy/{resourcePolicyId}/whitelist",
|
path: "/public-resource-policy/{resourcePolicyId}/whitelist",
|
||||||
description:
|
description:
|
||||||
"Set email whitelist for a resource policy. This will replace all existing emails.",
|
"Set email whitelist for a resource policy. This will replace all existing emails.",
|
||||||
tags: [OpenAPITags.Policy],
|
tags: [OpenAPITags.PublicResourcePolicy],
|
||||||
request: {
|
request: {
|
||||||
params: setResourcePolicyWhitelistParamsSchema,
|
params: setResourcePolicyWhitelistParamsSchema,
|
||||||
body: {
|
body: {
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ registry.registerPath({
|
|||||||
method: "put",
|
method: "put",
|
||||||
path: "/resource-policy/{resourcePolicyId}",
|
path: "/resource-policy/{resourcePolicyId}",
|
||||||
description: "Update a resource policy.",
|
description: "Update a resource policy.",
|
||||||
tags: [OpenAPITags.Org, OpenAPITags.Policy],
|
tags: [OpenAPITags.Org, OpenAPITags.PublicResourcePolicy],
|
||||||
request: {
|
request: {
|
||||||
params: updateResourcePolicyParamsSchema,
|
params: updateResourcePolicyParamsSchema,
|
||||||
body: {
|
body: {
|
||||||
@@ -40,7 +40,7 @@ registry.registerPath({
|
|||||||
method: "put",
|
method: "put",
|
||||||
path: "/public-resource-policy/{resourcePolicyId}",
|
path: "/public-resource-policy/{resourcePolicyId}",
|
||||||
description: "Update a resource policy.",
|
description: "Update a resource policy.",
|
||||||
tags: [OpenAPITags.Org, OpenAPITags.Policy],
|
tags: [OpenAPITags.Org, OpenAPITags.PublicResourcePolicy],
|
||||||
request: {
|
request: {
|
||||||
params: updateResourcePolicyParamsSchema,
|
params: updateResourcePolicyParamsSchema,
|
||||||
body: {
|
body: {
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ registry.registerPath({
|
|||||||
path: "/public-resource/{resourceId}/policies",
|
path: "/public-resource/{resourceId}/policies",
|
||||||
description:
|
description:
|
||||||
"Get the inline and shared policies associated with a resource.",
|
"Get the inline and shared policies associated with a resource.",
|
||||||
tags: [OpenAPITags.PublicResource, OpenAPITags.Policy],
|
tags: [OpenAPITags.PublicResource, OpenAPITags.PublicResourcePolicy],
|
||||||
request: {
|
request: {
|
||||||
params: getResourcePoliciesParamsSchema
|
params: getResourcePoliciesParamsSchema
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ registry.registerPath({
|
|||||||
path: "/site-resource/{siteResourceId}/clients/add",
|
path: "/site-resource/{siteResourceId}/clients/add",
|
||||||
description:
|
description:
|
||||||
"Add a single client to a site resource. Clients with a userId cannot be added.",
|
"Add a single client to a site resource. Clients with a userId cannot be added.",
|
||||||
tags: [OpenAPITags.PrivateResource, OpenAPITags.Client],
|
tags: [OpenAPITags.PrivateResourceLegacy],
|
||||||
request: {
|
request: {
|
||||||
params: addClientToSiteResourceParamsSchema,
|
params: addClientToSiteResourceParamsSchema,
|
||||||
body: {
|
body: {
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ registry.registerPath({
|
|||||||
method: "post",
|
method: "post",
|
||||||
path: "/site-resource/{siteResourceId}/roles/add",
|
path: "/site-resource/{siteResourceId}/roles/add",
|
||||||
description: "Add a single role to a site resource.",
|
description: "Add a single role to a site resource.",
|
||||||
tags: [OpenAPITags.PrivateResource, OpenAPITags.Role],
|
tags: [OpenAPITags.PrivateResourceLegacy],
|
||||||
request: {
|
request: {
|
||||||
params: addRoleToSiteResourceParamsSchema,
|
params: addRoleToSiteResourceParamsSchema,
|
||||||
body: {
|
body: {
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ registry.registerPath({
|
|||||||
method: "post",
|
method: "post",
|
||||||
path: "/site-resource/{siteResourceId}/users/add",
|
path: "/site-resource/{siteResourceId}/users/add",
|
||||||
description: "Add a single user to a site resource.",
|
description: "Add a single user to a site resource.",
|
||||||
tags: [OpenAPITags.PrivateResource, OpenAPITags.User],
|
tags: [OpenAPITags.PrivateResourceLegacy],
|
||||||
request: {
|
request: {
|
||||||
params: addUserToSiteResourceParamsSchema,
|
params: addUserToSiteResourceParamsSchema,
|
||||||
body: {
|
body: {
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ registry.registerPath({
|
|||||||
method: "get",
|
method: "get",
|
||||||
path: "/site-resource/{siteResourceId}/clients",
|
path: "/site-resource/{siteResourceId}/clients",
|
||||||
description: "List all clients for a site resource.",
|
description: "List all clients for a site resource.",
|
||||||
tags: [OpenAPITags.PrivateResource, OpenAPITags.Client],
|
tags: [OpenAPITags.PrivateResourceLegacy],
|
||||||
request: {
|
request: {
|
||||||
params: listSiteResourceClientsSchema
|
params: listSiteResourceClientsSchema
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ registry.registerPath({
|
|||||||
method: "get",
|
method: "get",
|
||||||
path: "/site-resource/{siteResourceId}/roles",
|
path: "/site-resource/{siteResourceId}/roles",
|
||||||
description: "List all roles for a site resource.",
|
description: "List all roles for a site resource.",
|
||||||
tags: [OpenAPITags.PrivateResource, OpenAPITags.Role],
|
tags: [OpenAPITags.PrivateResourceLegacy],
|
||||||
request: {
|
request: {
|
||||||
params: listSiteResourceRolesSchema
|
params: listSiteResourceRolesSchema
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ registry.registerPath({
|
|||||||
method: "get",
|
method: "get",
|
||||||
path: "/site-resource/{siteResourceId}/users",
|
path: "/site-resource/{siteResourceId}/users",
|
||||||
description: "List all users for a site resource.",
|
description: "List all users for a site resource.",
|
||||||
tags: [OpenAPITags.PrivateResource, OpenAPITags.User],
|
tags: [OpenAPITags.PrivateResourceLegacy],
|
||||||
request: {
|
request: {
|
||||||
params: listSiteResourceUsersSchema
|
params: listSiteResourceUsersSchema
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ registry.registerPath({
|
|||||||
path: "/site-resource/{siteResourceId}/clients/remove",
|
path: "/site-resource/{siteResourceId}/clients/remove",
|
||||||
description:
|
description:
|
||||||
"Remove a single client from a site resource. Clients with a userId cannot be removed.",
|
"Remove a single client from a site resource. Clients with a userId cannot be removed.",
|
||||||
tags: [OpenAPITags.PrivateResource, OpenAPITags.Client],
|
tags: [OpenAPITags.PrivateResourceLegacy],
|
||||||
request: {
|
request: {
|
||||||
params: removeClientFromSiteResourceParamsSchema,
|
params: removeClientFromSiteResourceParamsSchema,
|
||||||
body: {
|
body: {
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ registry.registerPath({
|
|||||||
method: "post",
|
method: "post",
|
||||||
path: "/site-resource/{siteResourceId}/roles/remove",
|
path: "/site-resource/{siteResourceId}/roles/remove",
|
||||||
description: "Remove a single role from a site resource.",
|
description: "Remove a single role from a site resource.",
|
||||||
tags: [OpenAPITags.PrivateResource, OpenAPITags.Role],
|
tags: [OpenAPITags.PrivateResourceLegacy],
|
||||||
request: {
|
request: {
|
||||||
params: removeRoleFromSiteResourceParamsSchema,
|
params: removeRoleFromSiteResourceParamsSchema,
|
||||||
body: {
|
body: {
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ registry.registerPath({
|
|||||||
method: "post",
|
method: "post",
|
||||||
path: "/site-resource/{siteResourceId}/users/remove",
|
path: "/site-resource/{siteResourceId}/users/remove",
|
||||||
description: "Remove a single user from a site resource.",
|
description: "Remove a single user from a site resource.",
|
||||||
tags: [OpenAPITags.PrivateResource, OpenAPITags.User],
|
tags: [OpenAPITags.PrivateResourceLegacy],
|
||||||
request: {
|
request: {
|
||||||
params: removeUserFromSiteResourceParamsSchema,
|
params: removeUserFromSiteResourceParamsSchema,
|
||||||
body: {
|
body: {
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ registry.registerPath({
|
|||||||
path: "/site-resource/{siteResourceId}/clients",
|
path: "/site-resource/{siteResourceId}/clients",
|
||||||
description:
|
description:
|
||||||
"Set clients for a site resource. This will replace all existing clients. Clients with a userId cannot be added.",
|
"Set clients for a site resource. This will replace all existing clients. Clients with a userId cannot be added.",
|
||||||
tags: [OpenAPITags.PrivateResource, OpenAPITags.Client],
|
tags: [OpenAPITags.PrivateResourceLegacy],
|
||||||
request: {
|
request: {
|
||||||
params: setSiteResourceClientsParamsSchema,
|
params: setSiteResourceClientsParamsSchema,
|
||||||
body: {
|
body: {
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ registry.registerPath({
|
|||||||
path: "/site-resource/{siteResourceId}/roles",
|
path: "/site-resource/{siteResourceId}/roles",
|
||||||
description:
|
description:
|
||||||
"Set roles for a site resource. This will replace all existing roles.",
|
"Set roles for a site resource. This will replace all existing roles.",
|
||||||
tags: [OpenAPITags.PrivateResource, OpenAPITags.Role],
|
tags: [OpenAPITags.PrivateResourceLegacy],
|
||||||
request: {
|
request: {
|
||||||
params: setSiteResourceRolesParamsSchema,
|
params: setSiteResourceRolesParamsSchema,
|
||||||
body: {
|
body: {
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ registry.registerPath({
|
|||||||
path: "/site-resource/{siteResourceId}/users",
|
path: "/site-resource/{siteResourceId}/users",
|
||||||
description:
|
description:
|
||||||
"Set users for a site resource. This will replace all existing users.",
|
"Set users for a site resource. This will replace all existing users.",
|
||||||
tags: [OpenAPITags.PrivateResource, OpenAPITags.User],
|
tags: [OpenAPITags.PrivateResourceLegacy],
|
||||||
request: {
|
request: {
|
||||||
params: setSiteResourceUsersParamsSchema,
|
params: setSiteResourceUsersParamsSchema,
|
||||||
body: {
|
body: {
|
||||||
|
|||||||
Reference in New Issue
Block a user