API

DomainClaim

Trademark claims on a domain name: get them, or accept them.

Operations

Every route this entity exposes. Each route links to its own reference on this page.

Method Route SDK operation Returns
POST /domain/domains/{domain}/claims create Created
GET /domain/domains/{domain}/claims load OK

Examples

One example per SDK, generated from the API model. The argument names are the parameters and fields of this entity, and the values are placeholders. The examples are not compiled or executed.

Golang

Construct client as shown in the Golang setup, then call the operations:

domain_claim, err := client.DomainClaim(nil).Load(map[string]any{"domain": "example"}, nil)
if err != nil {
    panic(err)
}
fmt.Println(domain_claim)
created, err := client.DomainClaim(nil).Create(map[string]any{"domain": "example", "claims": []any{}, "created_at": "example", "expires_at": "example", "fqdn": "example", "fqdn_alabel": "example", "fqdn_ulabel": "example", "notice_id": "example", "status": "example"}, nil)
if err != nil {
    panic(err)
}
fmt.Println(created)

Lua

Construct client as shown in the Lua setup, then call the operations:

local domain_claim, err = client:DomainClaim():load({ domain = "example" })
local created, err = client:DomainClaim():create({ domain = "example", claims = {}, created_at = "example", expires_at = "example", fqdn = "example", fqdn_alabel = "example", fqdn_ulabel = "example", notice_id = "example", status = "example" })

PHP

Construct client as shown in the PHP setup, then call the operations:

$domain_claim = $client->DomainClaim()->load(["domain" => "example"]);
$created = $client->DomainClaim()->create(["domain" => "example", "claims" => [], "created_at" => "example", "expires_at" => "example", "fqdn" => "example", "fqdn_alabel" => "example", "fqdn_ulabel" => "example", "notice_id" => "example", "status" => "example"]);

Python

Construct client as shown in the Python setup, then call the operations:

domain_claim = client.DomainClaim().load({"domain": "example"})
created = client.DomainClaim().create({ "domain": "example", "claims": [], "created_at": "example", "expires_at": "example", "fqdn": "example", "fqdn_alabel": "example", "fqdn_ulabel": "example", "notice_id": "example", "status": "example" })

Ruby

Construct client as shown in the Ruby setup, then call the operations:

domain_claim = client.DomainClaim.load({ "domain" => "example" })
created = client.DomainClaim.create({ "domain" => "example", "claims" => [], "created_at" => "example", "expires_at" => "example", "fqdn" => "example", "fqdn_alabel" => "example", "fqdn_ulabel" => "example", "notice_id" => "example", "status" => "example" })

TypeScript

Construct client as shown in the TypeScript setup, then call the operations:

const domain_claim = await client.DomainClaim().load({ domain: "example" })
const created = await client.DomainClaim().create({ domain: "example", claims: [], created_at: "example", expires_at: "example", fqdn: "example", fqdn_alabel: "example", fqdn_ulabel: "example", notice_id: "example", status: "example" })

Fields

Field Type Required Description
claims array Yes Claims
created_at string Yes Created At
expires_at string Yes Expires At
fqdn string Yes Fqdn
fqdn_alabel string Yes Fqdn Alabel
fqdn_ulabel string Yes Fqdn Ulabel
notice_id string Yes Notice Id
status string Yes Status

create

POST /domain/domains/{domain}/claims

Operation ID: postDomainDomainsDomainClaims.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
domain path string Yes

Responses

201: Created

application/json

Property Type Required Description
message string Yes
401: Unauthorized

application/json

Property Type Required Description
cause string Yes
code integer Yes
message string Yes
object string Yes
403: Forbidden

application/json

Property Type Required Description
cause string Yes
code integer Yes
message string Yes
object string Yes

load

GET /domain/domains/{domain}/claims

Operation ID: getDomainDomainsDomainClaims.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
domain path string Yes

Responses

200: OK

application/json

Property Type Required Description
claims array of object Yes
claims[].contacts array of object Yes
claims[].contacts[].cc string No
claims[].contacts[].city string No
claims[].contacts[].email string No
claims[].contacts[].fax string No
claims[].contacts[].name string No
claims[].contacts[].org string No
claims[].contacts[].pc string No
claims[].contacts[].phone string No
claims[].contacts[].sp string No
claims[].contacts[].street string No
claims[].goods_and_services string Yes
claims[].holders array of object Yes
claims[].holders[].cc string No
claims[].holders[].city string No
claims[].holders[].email string No
claims[].holders[].fax string No
claims[].holders[].name string No
claims[].holders[].org string No
claims[].holders[].pc string No
claims[].holders[].phone string No
claims[].holders[].sp string No
claims[].holders[].street string No
claims[].jurisdiction_classes array of integer Yes
claims[].jurisdiction_country string Yes
claims[].mark_name string No
created_at string Yes
expires_at string Yes
fqdn string Yes
fqdn_alabel string Yes
fqdn_ulabel string Yes
notice_id string Yes
status enum: new, accepted Yes
401: Unauthorized

application/json

Property Type Required Description
cause string Yes
code integer Yes
message string Yes
object string Yes
403: Forbidden

application/json

Property Type Required Description
cause string Yes
code integer Yes
message string Yes
object string Yes
404: Not Found

application/json

The response is any.