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
41 lines
686 B
JSON
41 lines
686 B
JSON
{
|
|
"name": "project.v2.config.workload.read",
|
|
"resource_urls": [
|
|
{
|
|
"url": "",
|
|
"methods": [
|
|
"GET"
|
|
]
|
|
},
|
|
{
|
|
"url": "/:workload_name",
|
|
"methods": [
|
|
"GET"
|
|
]
|
|
}
|
|
],
|
|
"resource_action_urls": [
|
|
{
|
|
"url": "/:workload_name/published",
|
|
"methods": [
|
|
"GET"
|
|
]
|
|
},
|
|
{
|
|
"url": "/:workload_name/snapshot",
|
|
"methods": [
|
|
"GET"
|
|
]
|
|
},
|
|
{
|
|
"url": "/:workload_name/download",
|
|
"methods": [
|
|
"GET"
|
|
]
|
|
}
|
|
],
|
|
"base_url": "/v2/config/project/:project_id/workload",
|
|
"description": "View workloads",
|
|
"authenticated": true,
|
|
"scope": "PROJECT"
|
|
} |