mirror of
https://github.com/google/nomulus.git
synced 2025-08-15 22:14:12 +02:00
Add formatOutput parameter to RDAP documentation
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=176532296
This commit is contained in:
parent
67a41273bb
commit
8cd3979385
1 changed files with 12 additions and 0 deletions
12
docs/rdap.md
12
docs/rdap.md
|
@ -329,6 +329,18 @@ Deleted items are shown only if the request is authorized for the registrar that
|
||||||
owns the items, or if the request is authorized as an administrator. This
|
owns the items, or if the request is authorized as an administrator. This
|
||||||
parameter can be combined with the registrar parameter.
|
parameter can be combined with the registrar parameter.
|
||||||
|
|
||||||
|
### `formatOutput` parameter <a id="formatoutput_parameter"></a>
|
||||||
|
|
||||||
|
By default, the JSON responses contain no extra whitespace. A more readable
|
||||||
|
formatted version can be requested by adding an extra parameter:
|
||||||
|
|
||||||
|
```
|
||||||
|
/rdap/domains?name=*.tld&formatOutput=true
|
||||||
|
```
|
||||||
|
|
||||||
|
The result is still valid JSON, but with extra whitespace added to align the
|
||||||
|
data on the page.
|
||||||
|
|
||||||
### Additional features
|
### Additional features
|
||||||
|
|
||||||
We anticipate adding additional features during the pilot program, such as the
|
We anticipate adding additional features during the pilot program, such as the
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue