js-webflow-api icon indicating copy to clipboard operation
js-webflow-api copied to clipboard

Node.js SDK for the Webflow Data API

Results 30 js-webflow-api issues
Sort by recently updated
recently updated
newest added

This PR regenerates code to match the latest API Definition.

Fix typo in WebflowClient.authorizeURL params ``` js const authorizeUrl = WebflowClient.authorizeURL({ state: "your_state", scope: "sites:read", clientId: "your_client_id", redirctUri: "your_redirect_uri", // --> rename to redirectUri }); ```

This PR regenerates code to match the latest API Definition.

This PR regenerates code to match the latest API Definition.

When attempting to create a boolean field on a collection using ``` await webflow.collections.fields.create(collection.id, { displayName: 'Has children', type: 'Boolean', }) ``` The following error is returned: ``` {"error":{"statusCode":400,"body":{"message":"Validation Error:...

The `Collection` interface seems to have the wrong type in `src/api/types/Collection.ts`: ```ts /** The list of fields in the Collection */ fields: Record; ``` It seems that this should be...

My nextJS API is failing that import require("node-fetch") is not a function. It needs to be imported as require("node-fetch").default in Fetcher.

When I request Collection details through SDK, the response includes an object of Collection which includes `fields` list. `Collection` type defines `fields` as `Record` but it should be `Record[]`. My...

SDK Version: 2.1.1 As the interface CollectionItemFieldData doesn't have a field for fieldData, the serializer strips all custom fields. This makes the library almost useless, as you can't update the...

I know this PR might be useless as the files I fixed should be generated from your API, but for me this was the only option to fix the issue....