mirror of
https://github.com/paralus/paralus.git
synced 2026-05-07 08:56:42 +00:00
find permissions -name '*.json' | while read -r file; do
echo Processing $file
sed -i 's|"description": "\([a-zA-Z]\)\([a-zA-Z\ ]*\)\.*",|"description": "\u\1\2",|' $file
done
29 lines
552 B
JSON
29 lines
552 B
JSON
{
|
|
"name": "hub.workloadtemplate.read",
|
|
"resource_urls": [
|
|
{
|
|
"url": "",
|
|
"methods": [
|
|
"GET"
|
|
]
|
|
},
|
|
{
|
|
"url": "/:workloadtemplate_name",
|
|
"methods": [
|
|
"GET"
|
|
]
|
|
}
|
|
],
|
|
"resource_action_urls": [
|
|
{
|
|
"url": "/:workloadtemplate_name/artifacts",
|
|
"methods": [
|
|
"GET"
|
|
]
|
|
}
|
|
],
|
|
"base_url": "/apis/apps.k8smgmt.io/v3/projects/:project_name/workloadtemplates",
|
|
"description": "View workload template information",
|
|
"authenticated": true,
|
|
"scope": "PROJECT"
|
|
} |