Infomaniak Domain Zones icon

Infomaniak Domain Zones

Interact with Infomaniak Domain Zones API

Zone > Dns Record → Show Dns Record

AI-generated

Summary

Show Dns Record

Inputs

  • authentication (required) — Authentication method for Infomaniak API access. Select OAuth2 or API Key credential type. Defaults to OAuth2 if not specified.
  • path_zone (required) — Zone identifier. Required path parameter to specify which zone the DNS record belongs to.
  • path_record (required) — Record identifier. Required path parameter specifying the specific DNS record to retrieve.
  • queryParameters — Optional collection of additional query parameters. Supports a 'query_with' string parameter to load related resource data; keys have 'query_' prefix stripped automatically.
  • returnFullResponse — If true, returns the complete API response array instead of the processed record data. Defaults to false.

Output shape

array

Returns an array of DNS record data items. When returnFullResponse is false (default), the response is processed via getInfomaniakItems, which extracts the relevant record object from the API response. When returnFullResponse is true, the full raw API response array is returned directly. Pagination is set to 'none' for this operation, so a single record is fetched per call.

Examples

Example 1: Basic retrieval of a DNS record

Set authentication to OAuth2 (or API Key), provide the target zone identifier in path_zone, and the specific record ID in path_record. Leave queryParameters empty and returnFullResponse at default false to receive the processed record data.

Links

Discussion