mirror of
https://github.com/google/nomulus.git
synced 2025-05-21 11:49:37 +02:00
Add RDAP search support for only contacts or only registrars
By default, RDAP entity searches return both contacts and registrars. This CL adds a new query parameter to request only one or the other. Among other benefits, this will allow a future CL to permit wildcard searches that return all registrars. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=181605990
This commit is contained in:
parent
e07d011bc6
commit
716ba726fc
4 changed files with 253 additions and 47 deletions
|
@ -341,6 +341,14 @@ formatted version can be requested by adding an extra parameter:
|
|||
The result is still valid JSON, but with extra whitespace added to align the
|
||||
data on the page.
|
||||
|
||||
### `subtype` parameter <a id="subtype_parameter"></a>
|
||||
|
||||
The subtype parameter is used only for entity searches, to select whether the
|
||||
results should include contacts, registrars or both. If specified, the subtype
|
||||
should be 'all', 'contacts' or 'registrars'. Setting the subtype to 'all'
|
||||
duplicates the normal behavior of returning both. Setting it to 'contacts' or
|
||||
'registrars' causes an entity search to return only contacts or only registrars.
|
||||
|
||||
### Next page links <a id="next_page_links"></a>
|
||||
|
||||
The number of results returned in a domain, nameserver or entity search is
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue