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
518 B
JSON
29 lines
518 B
JSON
{
|
|
"name": "project.v2.config.workloadtemplate.read",
|
|
"resource_urls": [
|
|
{
|
|
"url": "/",
|
|
"methods": [
|
|
"GET"
|
|
]
|
|
},
|
|
{
|
|
"url": "/:template_id/",
|
|
"methods": [
|
|
"GET"
|
|
]
|
|
}
|
|
],
|
|
"resource_action_urls": [
|
|
{
|
|
"url": "/:template_id/download",
|
|
"methods": [
|
|
"GET"
|
|
]
|
|
}
|
|
],
|
|
"base_url": "/v2/config/project/:project_id/workloadtemplate",
|
|
"description": "View workload templates",
|
|
"authenticated": true,
|
|
"scope": "PROJECT"
|
|
} |