Skip to content

Commit 83841e1

Browse files
authored
docs(registrar): reworked registrar doc (#701)
1 parent eb60f99 commit 83841e1

File tree

1 file changed

+59
-45
lines changed

1 file changed

+59
-45
lines changed

packages/clients/src/api/domain/v2beta1/api.gen.ts

Lines changed: 59 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -796,7 +796,8 @@ export class RegistrarAPI extends ParentAPI {
796796
)
797797

798798
/**
799-
* List tasks. List all account tasks. You can filter the list by domain name.
799+
* List tasks. List all operations performed on the account. You can filter
800+
* the list of tasks by domain name.
800801
*
801802
* @param request - The request {@link RegistrarApiListTasksRequest}
802803
* @returns A Promise of ListTasksResponse
@@ -805,8 +806,8 @@ export class RegistrarAPI extends ParentAPI {
805806
enrichForPagination('tasks', this.pageOfListTasks, request)
806807

807808
/**
808-
* Buy one or more domains. Request the registration of domain names. You can
809-
* provide an already existing domain's contact or a new contact.
809+
* Purchase domains. Request the registration of domain names. You can provide
810+
* a domain's already existing contact or a new contact.
810811
*
811812
* @param request - The request {@link RegistrarApiBuyDomainsRequest}
812813
* @returns A Promise of OrderResponse
@@ -825,7 +826,7 @@ export class RegistrarAPI extends ParentAPI {
825826
)
826827

827828
/**
828-
* Renew one or more domains. Request the renewal of domain names.
829+
* Renew domains. Request the renewal of one or more domain names.
829830
*
830831
* @param request - The request {@link RegistrarApiRenewDomainsRequest}
831832
* @returns A Promise of OrderResponse
@@ -844,8 +845,8 @@ export class RegistrarAPI extends ParentAPI {
844845
)
845846

846847
/**
847-
* Transfer a domain. Request the transfer from another registrar domain to
848-
* Scaleway.
848+
* Transfer a domain. Request the transfer of a domain from another registrar
849+
* to Scaleway Domains and DNS.
849850
*
850851
* @param request - The request {@link RegistrarApiTransferInDomainRequest}
851852
* @returns A Promise of OrderResponse
@@ -867,11 +868,14 @@ export class RegistrarAPI extends ParentAPI {
867868
)
868869

869870
/**
870-
* Trade a domain contact. Request a trade for the contact owner.<br/> If an
871-
* `organization_id` is given, the change is from the current Scaleway account
872-
* to another Scaleway account.<br/> If no contact is given, the first contact
873-
* of the other Scaleway account is taken.<br/> If the other Scaleway account
874-
* has no contact. An error occurs.
871+
* Trade a domain's contact. Request to change a domain's contact owner.<br/>
872+
* If you specify the `organization_id` of the domain's new owner, the contact
873+
* will change from the current owner's Scaleway account to the new owner's
874+
* Scaleway account.<br/> If the new owner's current contact information is
875+
* not available, the first ever contact they have created for previous
876+
* domains is taken into account to operate the change.<br/> If the new owner
877+
* has never created a contact to register domains before, an error message
878+
* displays.
875879
*
876880
* @param request - The request {@link RegistrarApiTradeDomainRequest}
877881
* @returns A Promise of OrderResponse
@@ -939,9 +943,10 @@ export class RegistrarAPI extends ParentAPI {
939943
)
940944

941945
/**
942-
* Check if contacts are compatible against a domain or a tld. Check if
943-
* contacts are compatible against a domain or a tld. If not, it will return
944-
* the information requiring a correction.
946+
* Check if contacts are compatible with a domain or a TLD. Check whether
947+
* contacts are compatible with a domain or a TLD. If contacts are not
948+
* compatible with either the domain or the TLD, the information that needs to
949+
* be corrected is returned.
945950
*
946951
* @param request - The request
947952
* {@link RegistrarApiCheckContactsCompatibilityRequest}
@@ -987,8 +992,8 @@ export class RegistrarAPI extends ParentAPI {
987992
)
988993

989994
/**
990-
* List contacts. Return a list of contacts with their domains and roles. You
991-
* can filter the list by domain name.
995+
* List contacts. Retrieve the list of contacts and their associated domains
996+
* and roles. You can filter the list by domain name.
992997
*
993998
* @param request - The request {@link RegistrarApiListContactsRequest}
994999
* @returns A Promise of ListContactsResponse
@@ -997,8 +1002,8 @@ export class RegistrarAPI extends ParentAPI {
9971002
enrichForPagination('contacts', this.pageOfListContacts, request)
9981003

9991004
/**
1000-
* Get a contact. Return a contact details retrieved from the registrar using
1001-
* a given contact ID.
1005+
* Get a contact. Retrieve a contact's details from the registrar using the
1006+
* given contact's ID.
10021007
*
10031008
* @param request - The request {@link RegistrarApiGetContactRequest}
10041009
* @returns A Promise of Contact
@@ -1016,7 +1021,7 @@ export class RegistrarAPI extends ParentAPI {
10161021
)
10171022

10181023
/**
1019-
* Update contact. You can edit the contact coordinates.
1024+
* Update contact. Edit the contact's information.
10201025
*
10211026
* @param request - The request {@link RegistrarApiUpdateContactRequest}
10221027
* @returns A Promise of Contact
@@ -1066,7 +1071,7 @@ export class RegistrarAPI extends ParentAPI {
10661071
)
10671072

10681073
/**
1069-
* List domains. Returns a list of domains owned by the user.
1074+
* List domains. Retrieve the list of domains you own.
10701075
*
10711076
* @param request - The request {@link RegistrarApiListDomainsRequest}
10721077
* @returns A Promise of ListDomainsResponse
@@ -1096,9 +1101,9 @@ export class RegistrarAPI extends ParentAPI {
10961101
)
10971102

10981103
/**
1099-
* List scaleway domains that can or not be renewed. Returns a list of domains
1100-
* owned by the user with a renew status and if renewable, the maximum renew
1101-
* duration in years.
1104+
* List domains that can be renewed. Retrieve the list of domains you own that
1105+
* can be renewed. You can also see the maximum renewal duration in years for
1106+
* your domains that are renewable.
11021107
*
11031108
* @param request - The request {@link RegistrarApiListRenewableDomainsRequest}
11041109
* @returns A Promise of ListRenewableDomainsResponse
@@ -1108,7 +1113,8 @@ export class RegistrarAPI extends ParentAPI {
11081113
) => enrichForPagination('domains', this.pageOfListRenewableDomains, request)
11091114

11101115
/**
1111-
* Get domain. Returns a the domain with more informations.
1116+
* Get domain. Retrieve a specific domain and display the domain's
1117+
* information.
11121118
*
11131119
* @param request - The request {@link RegistrarApiGetDomainRequest}
11141120
* @returns A Promise of Domain
@@ -1146,9 +1152,10 @@ export class RegistrarAPI extends ParentAPI {
11461152
)
11471153

11481154
/**
1149-
* Update a domain. Update the domain contacts or create a new one.<br/> If
1150-
* you add the same contact for multiple roles. Only one ID will be created
1151-
* and used for all of them.
1155+
* Update a domain's contacts. Update contacts for a specific domain or create
1156+
* a new contact.<br/> If you add the same contact for multiple roles (owner,
1157+
* administrative, technical), only one ID will be created and used for all of
1158+
* the roles.
11521159
*
11531160
* @param request - The request {@link RegistrarApiUpdateDomainRequest}
11541161
* @returns A Promise of Domain
@@ -1170,8 +1177,9 @@ export class RegistrarAPI extends ParentAPI {
11701177
)
11711178

11721179
/**
1173-
* Lock domain transfer. Lock domain transfer. A locked domain transfer can't
1174-
* be transferred and the auth code can't be requested.
1180+
* Lock the transfer of a domain. Lock the transfer of a domain. This means
1181+
* that the domain cannot be transferred and the authorization code cannot be
1182+
* requested to your current registrar.
11751183
*
11761184
* @param request - The request {@link RegistrarApiLockDomainTransferRequest}
11771185
* @returns A Promise of Domain
@@ -1193,8 +1201,9 @@ export class RegistrarAPI extends ParentAPI {
11931201
)
11941202

11951203
/**
1196-
* Unlock domain transfer. Unlock domain transfer. An unlocked domain can be
1197-
* transferred and the auth code can be requested for this.
1204+
* Unlock the transfer of a domain. Unlock the transfer of a domain. This
1205+
* means that the domain can be transferred and the authorization code can be
1206+
* requested to your current registrar.
11981207
*
11991208
* @param request - The request {@link RegistrarApiUnlockDomainTransferRequest}
12001209
* @returns A Promise of Domain
@@ -1216,7 +1225,8 @@ export class RegistrarAPI extends ParentAPI {
12161225
)
12171226

12181227
/**
1219-
* Enable domain auto renew.
1228+
* Enable auto renew. Enable the `auto renew` feature for a domain. This means
1229+
* the domain will be automatically renewed before its expiry date.
12201230
*
12211231
* @param request - The request
12221232
* {@link RegistrarApiEnableDomainAutoRenewRequest}
@@ -1239,7 +1249,8 @@ export class RegistrarAPI extends ParentAPI {
12391249
)
12401250

12411251
/**
1242-
* Disable domain auto renew.
1252+
* Disable auto renew. Disable the `auto renew` feature for a domain. This
1253+
* means the domain will not be renewed before its expiry date.
12431254
*
12441255
* @param request - The request
12451256
* {@link RegistrarApiDisableDomainAutoRenewRequest}
@@ -1262,10 +1273,11 @@ export class RegistrarAPI extends ParentAPI {
12621273
)
12631274

12641275
/**
1265-
* Return domain auth code. If possible, return the auth code for an unlocked
1266-
* domain transfer, or an error if the domain is locked. Some TLD may have a
1267-
* different procedure to retrieve the auth code, in that case, the
1268-
* information is given in the message field.
1276+
* Get a domain's authorization code. Retrieve the authorization code to
1277+
* tranfer an unlocked domain. The output returns an error if the domain is
1278+
* locked. Some TLDs may have a different procedure to retrieve the
1279+
* authorization code. In that case, the information displays in the message
1280+
* field.
12691281
*
12701282
* @param request - The request {@link RegistrarApiGetDomainAuthCodeRequest}
12711283
* @returns A Promise of GetDomainAuthCodeResponse
@@ -1313,7 +1325,7 @@ export class RegistrarAPI extends ParentAPI {
13131325
)
13141326

13151327
/**
1316-
* Disable domain DNSSEC.
1328+
* Disable a domain's DNSSEC. Disable DNSSEC for a domain.
13171329
*
13181330
* @param request - The request {@link RegistrarApiDisableDomainDNSSECRequest}
13191331
* @returns A Promise of Domain
@@ -1335,10 +1347,11 @@ export class RegistrarAPI extends ParentAPI {
13351347
)
13361348

13371349
/**
1338-
* Search available domains. Search a domain (or at maximum, 10 domains).
1350+
* Search available domains. Search a domain or a maximum of 10 domains that
1351+
* are available.
13391352
*
1340-
* If the TLD list is empty or not set the search returns the results from the
1341-
* most popular TLDs.
1353+
* If the TLD list is empty or not set, the search returns the results from
1354+
* the most popular TLDs.
13421355
*
13431356
* @param request - The request
13441357
* {@link RegistrarApiSearchAvailableDomainsRequest}
@@ -1361,7 +1374,8 @@ export class RegistrarAPI extends ParentAPI {
13611374
)
13621375

13631376
/**
1364-
* Create domain hostname with glue IPs.
1377+
* Create a hostname for a domain. Create a hostname for a domain with glue
1378+
* IPs.
13651379
*
13661380
* @param request - The request {@link RegistrarApiCreateDomainHostRequest}
13671381
* @returns A Promise of Host
@@ -1407,7 +1421,7 @@ export class RegistrarAPI extends ParentAPI {
14071421
)
14081422

14091423
/**
1410-
* List domain hostnames with they glue IPs.
1424+
* List a domain's hostnames. List a domain's hostnames using their glue IPs.
14111425
*
14121426
* @param request - The request {@link RegistrarApiListDomainHostsRequest}
14131427
* @returns A Promise of ListDomainHostsResponse
@@ -1416,7 +1430,7 @@ export class RegistrarAPI extends ParentAPI {
14161430
enrichForPagination('hosts', this.pageOfListDomainHosts, request)
14171431

14181432
/**
1419-
* Update domain hostname with glue IPs.
1433+
* Update a domain's hostname. Update a domain's hostname with glue IPs.
14201434
*
14211435
* @param request - The request {@link RegistrarApiUpdateDomainHostRequest}
14221436
* @returns A Promise of Host
@@ -1441,7 +1455,7 @@ export class RegistrarAPI extends ParentAPI {
14411455
)
14421456

14431457
/**
1444-
* Delete domain hostname.
1458+
* Delete a domain's hostname. Delete a domain's hostname.
14451459
*
14461460
* @param request - The request {@link RegistrarApiDeleteDomainHostRequest}
14471461
* @returns A Promise of Host

0 commit comments

Comments
 (0)