mirror of
https://github.com/YGGverse/web-api.git
synced 2025-08-30 07:42:03 +00:00
update readme
This commit is contained in:
parent
9e5f458bd8
commit
17f059d2cb
17
README.md
17
README.md
@ -47,20 +47,27 @@ Show host records
|
|||||||
|
|
||||||
#### Usage
|
#### Usage
|
||||||
|
|
||||||
|
##### Attributes
|
||||||
|
|
||||||
* `name` - required host name, IPv4 or IPv6
|
* `name` - required host name, IPv4 or IPv6
|
||||||
* `record` - required if `records` not provided
|
* `record` - required if `records` not provided
|
||||||
* `records` - required if `record` not provided
|
* `records` - required if `record` not provided
|
||||||
+ [x] A
|
|
||||||
+ [x] AAAA
|
|
||||||
+ [ ] SRV #1
|
|
||||||
|
|
||||||
##### Single record
|
###### Records support
|
||||||
|
|
||||||
|
* [x] A
|
||||||
|
* [x] AAAA
|
||||||
|
* [ ] SRV #1
|
||||||
|
|
||||||
|
##### Request
|
||||||
|
|
||||||
|
###### Single record
|
||||||
|
|
||||||
```
|
```
|
||||||
GET dig.php?name=php.net&record=A
|
GET dig.php?name=php.net&record=A
|
||||||
```
|
```
|
||||||
|
|
||||||
##### Multiple records
|
###### Multiple records
|
||||||
|
|
||||||
```
|
```
|
||||||
GET dig.php?name=php.net&records[]=A&records[]=AAAA
|
GET dig.php?name=php.net&records[]=A&records[]=AAAA
|
||||||
|
Loading…
x
Reference in New Issue
Block a user