doc: add github repo example

This commit is contained in:
Vlad Stan 2023-01-19 18:49:34 +02:00 committed by GitHub
parent d8ba9448a2
commit 37ec55a6e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,5 +63,18 @@ It goes under the `extensions` object and it is of the form:
| criticalNotification | string | optional | Reserved for urgent notifications. The admin user will receive a message each time it visits the `Install` page. One example is if the extension has a critical bug. |
</details>
This mode has the advantage of strictly specifying what releases of an extension can be installed.
### GitHub Repository
It goes under the `repos` object and it is of the form:
```json
{
"id": "withdraw",
"organisation": "lnbits",
"repository": "withdraw-extension"
}
```