mirror of
https://github.com/paralus/paralus.git
synced 2026-03-05 10:30:25 +00:00
multiple fixes and refactored to support from id to name, added resource roles, permissions script and improved test coverage
34 lines
532 B
JSON
34 lines
532 B
JSON
{
|
|
"name": "project.agent.write",
|
|
"base_url": "/v2/config/project/:project_id/agent",
|
|
"resource_urls": [
|
|
{
|
|
"url": "",
|
|
"methods": [
|
|
"POST"
|
|
]
|
|
},
|
|
{
|
|
"url": "/:agent_name",
|
|
"methods": [
|
|
"PUT",
|
|
"DELETE"
|
|
]
|
|
}
|
|
],
|
|
"resource_action_urls": [
|
|
{
|
|
"url": "/:agent_name/activate",
|
|
"methods": [
|
|
"POST"
|
|
]
|
|
},
|
|
{
|
|
"url": "/:agent_name/deactivate",
|
|
"methods": [
|
|
"POST"
|
|
]
|
|
}
|
|
],
|
|
"authenticated": true
|
|
} |