Feat: API write
Ability to write via API call
Merge request reports
Activity
74 74 'instance_name' => 'Instance name', 75 75 ``` 76 77 ### Writing via API 78 #### Configuration 79 Add the following (and adjust the credentials) to enable writing via the API (example request following). Methods supported are `POST,PUT`. 80 ``` 81 'apiWriteEnabled' => true, 82 'apiWriteUsername' => 'api_writer, 83 'apiWritePassword' => 'ap1Wr1T3rP@S$, 84 ``` 85 #### Example request 86 ``` 87 curl --request POST \ 88 --url https://proxy.com/proxy/module.php/proxystatistics/writeLoginApi.php \ 89 --header 'Authorization: Basic encodedCredentials' \ Created by: melanger
How about OIDC or JWT? (aka
client_secret_jwt
orprivate_key_jwt
in OIDC)
74 74 'instance_name' => 'Instance name', 75 75 ``` 76 77 ### Writing via API 78 #### Configuration 79 Add the following (and adjust the credentials) to enable writing via the API (example request following). Methods supported are `POST,PUT`. 80 ``` 81 'apiWriteEnabled' => true, 82 'apiWriteUsername' => 'api_writer, 83 'apiWritePassword' => 'ap1Wr1T3rP@S$, 84 ``` 85 #### Example request 86 ``` 87 curl --request POST \ 88 --url https://proxy.com/proxy/module.php/proxystatistics/writeLoginApi.php \ 89 --header 'Authorization: Basic encodedCredentials' \ Created by: github-actions[bot]
This PR is included in version 8.0.0The release is available on GitHub release
Your semantic-release bot :package::rocket:
Please register or sign in to reply