GET /api/extras/custom-fields/?format=api
HTTP 200 OK
Allow: GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "count": 3,
    "next": null,
    "previous": null,
    "results": [
        {
            "id": 1,
            "url": "https://netbox.c3voc.de/api/extras/custom-fields/1/?format=api",
            "display": "MAC-Address",
            "content_types": [
                "ipam.ipaddress"
            ],
            "type": {
                "value": "text",
                "label": "Text"
            },
            "object_type": null,
            "data_type": "string",
            "name": "mac_address",
            "label": "MAC-Address",
            "group_name": "",
            "description": "If you enter a mac address here, it will get auto-deployed onto the dhcp servers",
            "required": false,
            "search_weight": 1000,
            "filter_logic": {
                "value": "loose",
                "label": "Loose"
            },
            "ui_visible": {
                "value": "always",
                "label": "Always"
            },
            "ui_editable": {
                "value": "yes",
                "label": "Yes"
            },
            "is_cloneable": false,
            "default": null,
            "weight": 100,
            "validation_minimum": null,
            "validation_maximum": null,
            "validation_regex": "^([0-9A-Fa-f]{2}:){5}([0-9A-Fa-f]{2})$",
            "choice_set": null,
            "created": "2022-07-23T16:03:27.825884Z",
            "last_updated": "2022-07-23T16:03:27.825899Z"
        },
        {
            "id": 3,
            "url": "https://netbox.c3voc.de/api/extras/custom-fields/3/?format=api",
            "display": "Wireguard additional config",
            "content_types": [
                "ipam.ipaddress"
            ],
            "type": {
                "value": "longtext",
                "label": "Text (long)"
            },
            "object_type": null,
            "data_type": "string",
            "name": "wg_additional_config",
            "label": "Wireguard additional config",
            "group_name": "",
            "description": "Additional configs for wireguard peer",
            "required": false,
            "search_weight": 1000,
            "filter_logic": {
                "value": "loose",
                "label": "Loose"
            },
            "ui_visible": {
                "value": "if-set",
                "label": "If set"
            },
            "ui_editable": {
                "value": "yes",
                "label": "Yes"
            },
            "is_cloneable": false,
            "default": null,
            "weight": 100,
            "validation_minimum": null,
            "validation_maximum": null,
            "validation_regex": "",
            "choice_set": null,
            "created": "2024-03-31T09:16:46.716599Z",
            "last_updated": "2024-03-31T09:16:46.716616Z"
        },
        {
            "id": 2,
            "url": "https://netbox.c3voc.de/api/extras/custom-fields/2/?format=api",
            "display": "Wireguard Public Key",
            "content_types": [
                "ipam.ipaddress"
            ],
            "type": {
                "value": "text",
                "label": "Text"
            },
            "object_type": null,
            "data_type": "string",
            "name": "wg_public_key",
            "label": "Wireguard Public Key",
            "group_name": "",
            "description": "Public Key for Wireguard peer creation",
            "required": false,
            "search_weight": 1000,
            "filter_logic": {
                "value": "loose",
                "label": "Loose"
            },
            "ui_visible": {
                "value": "if-set",
                "label": "If set"
            },
            "ui_editable": {
                "value": "yes",
                "label": "Yes"
            },
            "is_cloneable": false,
            "default": null,
            "weight": 100,
            "validation_minimum": null,
            "validation_maximum": null,
            "validation_regex": "",
            "choice_set": null,
            "created": "2024-03-30T21:10:06.058979Z",
            "last_updated": "2024-03-30T21:10:06.058998Z"
        }
    ]
}