Parameters
The ParamField
component documents API parameters and properties with consistent formatting. It displays the parameter name, type, requirements, and description in a structured layout.
Example
Markdown
username
The user’s display name
limit
Maximum number of items to return
api_key
Use OAuth authentication instead
status
The current status of the user account
Properties
path
The name of the parameter (e.g., “username”, “limit”)
type
The data type of the parameter (e.g., “string”, “number”, “boolean”)
required
Indicates if the parameter is required. Displays a “Required” label when true.
default
The default value for the parameter, if any
deprecated
Marks the parameter as deprecated.