Skip to content
Snippets Groups Projects

Feat: API write

Merged Ghost User requested to merge github/fork/dBucik/api_write into master

Ability to write via API call

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
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' \
  • Pavel Břoušek
  • Pavel Břoušek
  • Pavel Břoušek
  • Pavel Břoušek
  • Pavel Břoušek
  • Pavel Břoušek
  • Pavel Břoušek
  • Ghost User
  • Ghost User
  • Ghost User
    Ghost User @ghost started a thread on commit 9c21fbb9
  • 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]

    :tada: This PR is included in version 8.0.0 :tada:

    The release is available on GitHub release

    Your semantic-release bot :package::rocket:

  • Please register or sign in to reply
    Loading