Skip to content

Fetching Events by calendar or resource id? #62

@Elyx0

Description

@Elyx0

https://github.com/timekit-io/js-sdk/blob/master/src/endpoints.js#L329-L340

How to restrict to a project_id or resource id or calendar id?

     timekitEventsResponse = await timekit.getEvents({
                page,
                //  calendar_id: '3f5e3a3e-900d-4ef5-a3f2-u23hid2', // Does nothing
               // project_id: '5cd55254-4762-4b45-b58b-aa6f69e3751', // Same
               //  resource_id: '308040d6-357d-4da8-885e-232hd23d', // Same
                start,
                end,
            });

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions