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

Data extracted from Notion url incomplete #31

Open
papataco14 opened this issue Aug 25, 2024 · 0 comments
Open

Data extracted from Notion url incomplete #31

papataco14 opened this issue Aug 25, 2024 · 0 comments
Assignees

Comments

@papataco14
Copy link
Collaborator

Below is how it is shown on the notion page:
image

But from data received in the backend, the sub bullet point seems to be omitted:

{
            "object": "block",
            "id": "c8fda273-3483-4cef-8c1a-5b207840dd55",
            "parent": {
                "type": "page_id",
                "page_id": "988df5f0-e0c0-4496-966c-0d318e3a2a87"
            },
            "created_time": "2024-08-14T05:12:00.000Z",
            "last_edited_time": "2024-08-14T05:12:00.000Z",
            "created_by": {
                "object": "user",
                "id": "75c62699-a7d2-4125-b70c-e8965b6ee6ee"
            },
            "last_edited_by": {
                "object": "user",
                "id": "75c62699-a7d2-4125-b70c-e8965b6ee6ee"
            },
            "has_children": true,
            "archived": false,
            "in_trash": false,
            "type": "bulleted_list_item",
            "bulleted_list_item": {
                "color": "default",
                "text": [
                    {
                        "type": "text",
                        "text": {
                            "content": "All materials submitted to us should be approved by the organisation's Publicity Director/Communications Secretary or equivalent.",
                            "link": null
                        },
                        "annotations": {
                            "bold": false,
                            "italic": false,
                            "strikethrough": false,
                            "underline": false,
                            "code": false,
                            "color": "default"
                        },
                        "plain_text": "All materials submitted to us should be approved by the organisation's Publicity Director/Communications Secretary or equivalent.",
                        "href": null
                    }
                ]
            }
        },
        {
            "object": "block",
            "id": "dd372b0f-94a5-413a-8d77-5b4c19331fae",
            "parent": {
                "type": "page_id",
                "page_id": "988df5f0-e0c0-4496-966c-0d318e3a2a87"
            },
            "created_time": "2024-08-14T05:12:00.000Z",
            "last_edited_time": "2024-08-14T05:12:00.000Z",
            "created_by": {
                "object": "user",
                "id": "75c62699-a7d2-4125-b70c-e8965b6ee6ee"
            },
            "last_edited_by": {
                "object": "user",
                "id": "75c62699-a7d2-4125-b70c-e8965b6ee6ee"
            },
            "has_children": false,
            "archived": false,
            "in_trash": false,
            "type": "bulleted_list_item",
            "bulleted_list_item": {
                "color": "default",
                "text": [
                    {
                        "type": "text",
                        "text": {
                            "content": "NUSSU EXCO does not normally vet the materials submitted to us, so long as the material satisfies the general guidelines in the sections above. It is on the onus of the requesting party that the material satisfies the requesting organisation's internal publication policy and approvals process.",
                            "link": null
                        },
                        "annotations": {
                            "bold": false,
                            "italic": false,
                            "strikethrough": false,
                            "underline": false,
                            "code": false,
                            "color": "default"
                        },
                        "plain_text": "NUSSU EXCO does not normally vet the materials submitted to us, so long as the material satisfies the general guidelines in the sections above. It is on the onus of the requesting party that the material satisfies the requesting organisation's internal publication policy and approvals process.",
                        "href": null
                    }
                ]
            }
        },

To figure out way to access complete data and display.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant