Interface GetEntryOptions

interface GetEntryOptions {
    apiUrl: string;
    collection?: string;
    id: string;
    token?: string;
}

Hierarchy

  • BaseOptions
    • GetEntryOptions

Properties

apiUrl: string

Link to the Strapi API (with trailing slash)

Example

https://example.com/api/
collection?: string

The API ID of the collection type

id: string

The API ID of the single type or entry id of the collection type

token?: string

Your generated API token

Generated using TypeDoc