mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-04 17:56:38 +00:00
add back the blueprints api - draft
This commit is contained in:
committed by
Owen Schwartz
parent
fea4d43920
commit
9bd66fa306
@@ -1053,6 +1053,8 @@
|
|||||||
"actionGetSite": "Get Site",
|
"actionGetSite": "Get Site",
|
||||||
"actionListSites": "List Sites",
|
"actionListSites": "List Sites",
|
||||||
"actionApplyBlueprint": "Apply Blueprint",
|
"actionApplyBlueprint": "Apply Blueprint",
|
||||||
|
"actionListBlueprints": "List Blueprints",
|
||||||
|
"actionGetBlueprint": "Get Blueprint",
|
||||||
"setupToken": "Setup Token",
|
"setupToken": "Setup Token",
|
||||||
"setupTokenDescription": "Enter the setup token from the server console.",
|
"setupTokenDescription": "Enter the setup token from the server console.",
|
||||||
"setupTokenRequired": "Setup token is required",
|
"setupTokenRequired": "Setup token is required",
|
||||||
|
|||||||
@@ -1022,6 +1022,8 @@
|
|||||||
"actionGetSite": "獲取站點",
|
"actionGetSite": "獲取站點",
|
||||||
"actionListSites": "站點列表",
|
"actionListSites": "站點列表",
|
||||||
"actionApplyBlueprint": "應用藍圖",
|
"actionApplyBlueprint": "應用藍圖",
|
||||||
|
"actionListBlueprints": "藍圖列表",
|
||||||
|
"actionGetBlueprint": "獲取藍圖",
|
||||||
"setupToken": "設置令牌",
|
"setupToken": "設置令牌",
|
||||||
"setupTokenDescription": "從伺服器控制台輸入設定令牌。",
|
"setupTokenDescription": "從伺服器控制台輸入設定令牌。",
|
||||||
"setupTokenRequired": "需要設置令牌",
|
"setupTokenRequired": "需要設置令牌",
|
||||||
|
|||||||
@@ -858,6 +858,22 @@ authenticated.put(
|
|||||||
blueprints.applyJSONBlueprint
|
blueprints.applyJSONBlueprint
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
authenticated.get(
|
||||||
|
"/org/:orgId/blueprint/:blueprintId",
|
||||||
|
verifyApiKeyOrgAccess,
|
||||||
|
verifyApiKeyHasAction(ActionsEnum.getBlueprint),
|
||||||
|
blueprints.getBlueprint
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
authenticated.get(
|
||||||
|
"/org/:orgId/blueprints",
|
||||||
|
verifyApiKeyOrgAccess,
|
||||||
|
verifyApiKeyHasAction(ActionsEnum.listBlueprints),
|
||||||
|
blueprints.listBlueprints
|
||||||
|
);
|
||||||
|
|
||||||
authenticated.get(
|
authenticated.get(
|
||||||
"/org/:orgId/logs/request",
|
"/org/:orgId/logs/request",
|
||||||
verifyApiKeyOrgAccess,
|
verifyApiKeyOrgAccess,
|
||||||
|
|||||||
@@ -34,7 +34,9 @@ function getActionsCategories(root: boolean) {
|
|||||||
[t("actionListOrgDomains")]: "listOrgDomains",
|
[t("actionListOrgDomains")]: "listOrgDomains",
|
||||||
[t("updateOrgUser")]: "updateOrgUser",
|
[t("updateOrgUser")]: "updateOrgUser",
|
||||||
[t("createOrgUser")]: "createOrgUser",
|
[t("createOrgUser")]: "createOrgUser",
|
||||||
[t("actionApplyBlueprint")]: "applyBlueprint"
|
[t("actionApplyBlueprint")]: "applyBlueprint",
|
||||||
|
[t("actionListBlueprints")]: "listBlueprints",
|
||||||
|
[t("actionGetBlueprint")]: "getBlueprint"
|
||||||
},
|
},
|
||||||
|
|
||||||
Site: {
|
Site: {
|
||||||
|
|||||||
Reference in New Issue
Block a user