Document store APIs for add/remove repository (#1354)

This commit is contained in:
Mike Degatano 2022-06-01 14:52:34 -04:00 committed by GitHub
parent f77d0672d0
commit 0f040fc5c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2289,6 +2289,26 @@ Returns a list of store repositories
</ApiEndpoint>
<ApiEndpoint path="/store/repositories" method="post">
Add an addon repository to the store
**Payload:**
| key | type | description |
| ---------- | ------ | ------------------------------------------------ |
| repository | string | URL of the addon repository to add to the store. |
**Example payload:**
```json
{
"repository": "https://example.com/addons"
}
```
</ApiEndpoint>
<ApiEndpoint path="/store/repositories/<repository>" method="get">
Returns information about a store repository
@ -2307,6 +2327,12 @@ Returns information about a store repository
</ApiEndpoint>
<ApiEndpoint path="/store/repositories/<repository>" method="delete">
Remove an unused addon repository from the store.
</ApiEndpoint>
### Security
<ApiEndpoint path="/security/info" method="get">