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:
|
name
|
Human-readable name identifying the widguet type.
JSON data type: string Read only
Context:
|
description
|
Description of the widguet.
JSON data type: string
Context:
|
is_multi
|
Whether the widguet suppors multiple instances
JSON data type: boolean Read only
Context:
|
classname
|
Class name
JSON data type: string Read only
Context:
|
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:
One of:
|
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:
One of:
|