feat(Webflow Node): Update to use the v2 API (#9996)

This commit is contained in:
Jon
2024-08-07 10:18:05 +01:00
committed by GitHub
parent 15f10ec325
commit 6d8323fade
18 changed files with 1514 additions and 569 deletions

View File

@@ -16,6 +16,13 @@ export class WebflowOAuth2Api implements ICredentialType {
type: 'hidden',
default: 'authorizationCode',
},
{
displayName: 'Legacy',
name: 'legacy',
type: 'boolean',
default: true,
description: 'If the legacy API should be used',
},
{
displayName: 'Authorization URL',
name: 'authUrl',
@@ -34,7 +41,7 @@ export class WebflowOAuth2Api implements ICredentialType {
displayName: 'Scope',
name: 'scope',
type: 'hidden',
default: '',
default: '={{$self["legacy"] ? "" : "cms:read cms:write sites:read"}}',
},
{
displayName: 'Auth URI Query Parameters',