Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

fix(api): Update the POST proxy request by PUT #8243

Merged
merged 2 commits into from
Jan 9, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
78 changes: 39 additions & 39 deletions doc/API/centreon-api-v2.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion doc/API/centreon-api-v2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ paths:
$ref: '#/components/responses/Forbidden'
'500':
$ref: '#/components/responses/InternalServerError'
post:
put:
tags:
- Proxy
summary: "Update the default configuration of the Centreon proxy"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public function getProxy(): View

/**
* @IsGranted("ROLE_API_CONFIGURATION", message="You are not authorized to access this resource")
* @Rest\Post(
* @Rest\Put(
* "/configuration/proxy",
* condition="request.attributes.get('version.is_beta') == true",
* name="configuration.proxy.updateProxy")
Expand Down