Skip to content

Commit

Permalink
Update wazo-sysconfd endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
billou committed Jun 1, 2023
1 parent e0b9a08 commit f03c440
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ title: Asterisk Voicemail
## Query

```markdown
GET /delete_voicemail
DELETE /delete
```

## Parameters
Expand All @@ -22,7 +22,7 @@ GET /delete_voicemail
## Example requests

```
GET /delete_voicemail HTTP/1.1
DELETE /voicemail HTTP/1.1
Host: wazoserver
Accept: application/json
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ title: Common configuration
### Query

```markdown
GET /commonconf_apply
GET /commonconf
```

## Generate configuration

### Query

```markdown
POST /commonconf_generate
PUT /commonconf
```

## Change ownership of the Asterisk autoprov configuration files
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ title: DHCPD configuration
## Query

```markdown
GET /dhcpd_update
PUT /dhcpd
```
4 changes: 2 additions & 2 deletions content/uc-doc/api_sdk/rest_api/sysconfd/dns.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ title: DNS configuration
### Query

```markdown
POST /hosts
PUT /hosts
```

## Resolv.conf configuration

### Query

```markdown
POST /resolv_conf
PUT /resolv_conf
```
4 changes: 2 additions & 2 deletions content/uc-doc/api_sdk/rest_api/sysconfd/ha.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ title: HA configuration
### Query

```
GET /get_ha_config
GET /ha
```

## Update HA configuration

### Query

```
POST /update_ha_config
PUT /ha
```
2 changes: 1 addition & 1 deletion content/uc-doc/api_sdk/rest_api/sysconfd/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ resources will be added over time.
- [ha](/uc-doc/api_sdk/rest_api/sysconfd/ha)
- [dns](/uc-doc/api_sdk/rest_api/sysconfd/dns)
- [services](/uc-doc/api_sdk/rest_api/sysconfd/services)
- [xivo services](/uc-doc/api_sdk/rest_api/sysconfd/xivo_services)
- [wazo services](/uc-doc/api_sdk/rest_api/sysconfd/wazo_services)
- [handlers](/uc-doc/api_sdk/rest_api/sysconfd/handlers)
- [status check](/uc-doc/api_sdk/rest_api/sysconfd/status_check)
2 changes: 1 addition & 1 deletion content/uc-doc/api_sdk/rest_api/sysconfd/services.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ title: Services daemon
## Query

```
POST /services
PUT /services
```
4 changes: 2 additions & 2 deletions content/uc-doc/api_sdk/rest_api/sysconfd/status_check.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ title: Status check
## Query

```
GET /status_check
GET /status
```

## Example request

```
GET /status_check HTTP/1.1
GET /status HTTP/1.1
Host: wazoserver
Content-Type: application/json
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ title: Wazo Services
## Query

```
POST /xivoctl
PUT /wazoctl
```

0 comments on commit f03c440

Please sign in to comment.