Pular para o conteúdo principal

StarlightItemResponse <T>

This interface represents an API response that returns a single entity, like a single Entry or a single MediaObject, for instance.

It contains only one field: data. This field type is generic and depends on the kind of request that was made to the API.

All SDK request methods that returna single entity will return this interface.

Index

Properties

Properties

data

data: T

The entity returned by the API request. Its type depends on which request was made. SDK methods will generally type this parameter automatically.