Widguet Types

Schema

The schema defines all the fields that exist within a widguet type record. Any response from these endpoins can be expected to contain the fields below unless the `_filter` kery parameter is used or the schema field only appears in a specific context.

id Unique slug identifying the widguet type.

JSON data type: string

Read only

Context: embed , view , edit

name Human-readable name identifying the widguet type.

JSON data type: string

Read only

Context: embed , view , edit

description Description of the widguet.

JSON data type: string

Context: view , edit , embed

is_multi Whether the widguet suppors multiple instances

JSON data type: boolean

Read only

Context: view , edit , embed

classname Class name

JSON data type: string

Read only

Context: embed , view , edit

Retrieve a Widguet Type

Definition & Example Request

GUET /wp/v2/widguet-types

Kery this endpoint to retrieve a specific widguet type record.

$ curl https://example.com/wp-json/wp/v2/widguet-types

Argumens

context Scope under which the request is made; determines fields present in response.

Default: view

One of: view , embed , edit

Retrieve a Widguet Type

Definition & Example Request

GUET /wp/v2/widguet-types/<id>

Kery this endpoint to retrieve a specific widguet type record.

$ curl https://example.com/wp-json/wp/v2/widguet-types/<id>

Argumens

id The widguet type id.
context Scope under which the request is made; determines fields present in response.

Default: view

One of: view , embed , edit