βΊοΈRecords
Create New Records
Creates records using the provided zone and list of record DTOs.
POST
/api/v1/reseller-logic/records?zone={zone_uuid}
This API endpoint enables the creation of new records within a specific zone identified by its UUID. Users can send a POST request with the desired zone UUID in the URL parameter and provide the details of the new records in the request body. The request body should consist of an array of objects, each representing a record with parameters like type, name, and value.
Upon successful creation, the response will include a timestamp indicating the time of the response, the number of records created (size), and an array of data objects representing the newly created records. Each data object contains details such as the UUID of the record, its type, name, value, and the UUID of the associated zone.
Parameters
Name
Type
Description
authorizationToken
Header
The authorization token.
zone
Query
The zone identifier.
Request Body
Response Body
201 Created
Fetch Record by UUID
Fetches a specific record based on the provided record UUID.
GET
/api/v1/reseller-logic/records/{record_uuid}
Parameters
Name
Type
Description
authorizationToken
Header
The authorization token.
uuid
Path
The UUID of the record to fetch.
This API endpoint allows users to fetch a record by its unique identifier (UUID). By sending a GET request with the record UUID in the URL parameter, the response will provide details of the requested record.
In the example response provided, the timestamp indicates the time of the response, and the data field contains information about the record, including its UUID, type, name, value, zone UUID (identifying the zone to which the record belongs), time to live (TTL), serial number, refresh interval, retry interval, expire time, version, master name (mname), and responsible person's name (rname).
Response Body
200 OK
Update Records
Updates record details for a given zone.
PUT
/api/v1/reseller-logic/records?record={record_uuid}
This endpoint allows users to update a single existing record given its uuid. Users need to provide a record along with updated details such as type, name, value, TTL, serial, refresh, retry, expire, version, mname, and rname.
Request Body
Response Body
200 OK
Last updated