Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for verification page property #374

Closed
KoditkarVedant opened this issue Sep 16, 2023 · 1 comment · Fixed by #377
Closed

Add support for verification page property #374

KoditkarVedant opened this issue Sep 16, 2023 · 1 comment · Fixed by #377
Labels
enhancement New feature or request good first issue Good for newcomers
Milestone

Comments

@KoditkarVedant
Copy link
Contributor

KoditkarVedant commented Sep 16, 2023

The verification page property was added to the Page properties

image

Example verification page property values as returned in a GET page request

Unverified

{
  Verification: {
    id: "fpVq",
    type: "verification",
    verification: { state: "unverified", verified_by: null, date: null },
  },
}

Verified with no expiration date set

{
  Verification: {
    id: "fpVq",
    type: "verification",
    verification: {
      state: "verified",
      verified_by: {
        object: "user",
        id: "01e46064-d5fb-4444-8ecc-ad47d076f804",
        name: "User Name",
        avatar_url: null,
        type: "person",
        person: {},
      },
      date: { start: "2023-08-01T04:00:00.000Z", end: null, time_zone: null },
    },
  },
}

Verified with 90-day expiration date

{
  Verification: {
    id: "fpVq",
    type: "verification",
    verification: {...},
      date: {
        start: "2023-08-01T04:00:00.000Z",
        end: "2023-10-30T04:00:00.000Z",
        time_zone: null,
      },
    },
  },
}

Notion Change log: https://developers.notion.com/page/changelog#july-25---august-7-2023

@KoditkarVedant KoditkarVedant added enhancement New feature or request good first issue Good for newcomers labels Sep 16, 2023
@KoditkarVedant
Copy link
Contributor Author

#368

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant