mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-17 20:32:48 +00:00
Compare commits
2 Commits
1.16.2-s.1
...
1.16.2-s.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
aed86ce4ba | ||
|
|
2c2be50b19 |
@@ -310,7 +310,7 @@ authenticated.post(
|
|||||||
);
|
);
|
||||||
|
|
||||||
authenticated.post(
|
authenticated.post(
|
||||||
"/client/:clientId/resources",
|
"/client/:clientId/site-resources",
|
||||||
verifyLimits,
|
verifyLimits,
|
||||||
verifyApiKeyHasAction(ActionsEnum.setResourceUsers),
|
verifyApiKeyHasAction(ActionsEnum.setResourceUsers),
|
||||||
logActionAudit(ActionsEnum.setResourceUsers),
|
logActionAudit(ActionsEnum.setResourceUsers),
|
||||||
|
|||||||
@@ -35,9 +35,9 @@ const batchAddClientToSiteResourcesBodySchema = z
|
|||||||
|
|
||||||
registry.registerPath({
|
registry.registerPath({
|
||||||
method: "post",
|
method: "post",
|
||||||
path: "/client/{clientId}/resources",
|
path: "/client/{clientId}/site-resources",
|
||||||
description: "Add a machine client to multiple site resources at once.",
|
description: "Add a machine client to multiple site resources at once.",
|
||||||
tags: [OpenAPITags.PrivateResource, OpenAPITags.Client],
|
tags: [OpenAPITags.Client],
|
||||||
request: {
|
request: {
|
||||||
params: batchAddClientToSiteResourcesParamsSchema,
|
params: batchAddClientToSiteResourcesParamsSchema,
|
||||||
body: {
|
body: {
|
||||||
|
|||||||
Reference in New Issue
Block a user