Skip to content

Commit

Permalink
Update readme.md for plugins token usage
Browse files Browse the repository at this point in the history
  • Loading branch information
Xpirix authored Sep 26, 2024
1 parent e9fcd35 commit 00b6142
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,13 @@ Users can create specific tokens for a plugin at `https://plugins.qgis.org/<pack
# A specific plugin token can be used to upload or update a plugin version. For example:
curl \
-H "Authorization: Bearer the_access_token" \
https://plugins.qgis.org/plugins/api/<package_name>/version/add/
https://plugins.qgis.org/plugins/api/<package_name>/version/add/ \
-F "package=@/path/to/valid_plugin_0.0.1.zip_"

curl \
-H "Authorization: Bearer the_access_token" \
https://plugins.qgis.org/plugins/api/<package_name>/version/<version>/update
https://plugins.qgis.org/plugins/api/<package_name>/version/<version>/update \
-F "package=@/path/to/valid_plugin_0.0.2.zip_"
```

## Contributing
Expand Down

0 comments on commit 00b6142

Please sign in to comment.