зеркало из https://github.com/nextcloud/cookbook.git
Add helpers for accessing the appstore
Signed-off-by: Christian Wolf <github@christianwolf.email>
This commit is contained in:
Родитель
1318689fc3
Коммит
4c03866481
|
@ -0,0 +1 @@
|
||||||
|
token.file
|
|
@ -0,0 +1 @@
|
||||||
|
https://nextcloudappstore.readthedocs.io/en/latest/restapi.html#specification
|
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
dir=$(dirname "$0")
|
||||||
|
TOKEN=$(cat "$dir/token.file")
|
||||||
|
|
||||||
|
curl -H "Authorization: Token $TOKEN" "$@"
|
Загрузка…
Ссылка в новой задаче