mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-13 20:36:29 +00:00
Document store APIs for add/remove repository (#1354)
This commit is contained in:
parent
f77d0672d0
commit
0f040fc5c0
@ -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">
|
||||
|
Loading…
x
Reference in New Issue
Block a user