Dynect
A Dynect API connector instance has the following methods, members, and events.
Dynect is an EventEmitter
.
-
customer
String. Dynect customer_name. -
username
String. Dynect user_name. -
password
String. Dynect pasword. -
keepalive
Number Optional. If specified, the API keep-alive interval in milliseconds.
Constructor for creating a new Dynect API connector instance.
Opens a new dynect Session.
Closes an existing Dynect Session.
-
zone
String. -
callback
Function Optional. The callback has argument(response)
, a Dynect Response object.
Publishes zone changes.
A typed instance of Record for CRUD operations on A records.
-
rdata
Object-
address
String. IPv4 Address.
-
A typed instance of Record for CRUD operations on CNAME records.
-
rdata
Object-
cname
String. Hostname.
-
A typed instance of Record for CRUD operations on SRV records.
-
rdata
Object-
port
Number. -
priority
Number. -
target
String. -
weight
Number.
-
-
token
String. Dynect Session token.
Emitted when the Session is opened.
Emitted when the Session is closed.
-
task
Object-
method
String. HTTP method. -
path
String. REST execution path. -
token
String. Dynect Session token. -
data
Object. Dynect request data object.
-
Emitted when an API call added to the queue.
Emitted after an API call is popped from the queue and executed.
-
task
Object-
method
String. HTTP method. -
path
String. REST execution path. -
token
String. Dynect Session token. -
data
Object. Dynect request data object.
-
Emitted when all calls in the queue have been completed.
-
task
Object-
method
String. HTTP method. -
path
String. REST execution path. -
token
String. Dynect Session token. -
data
Object. Dynect request data object. *response
Object. Dynect Response object.
-
Emitted when an API call response is received from Dynect.
-
task
Object-
method
String. HTTP method. -
path
String. REST execution path. -
token
String. Dynect Session token. -
data
Object. Dynect request data object.
-
-
err
String. Error details.
Emitted when an API call error occurs when making a request to Dynect.