This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (async () => { | |
| const contentful = require('contentful-management') | |
| const parallel = require("async-parallel"); | |
| const client = contentful.createClient({ | |
| accessToken: '<CMA_TOKEN>' | |
| }) | |
| const space_id = '<SPACE_ID>' | |
| const environment_id = '<ENV_ID>' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| PoP Code | City | Country | Continent | |
|---|---|---|---|---|
| CPT | Cape Town | South Africa | Africa | |
| JNB | Johannesburg | South Africa | Africa | |
| NBO | Nairobi | Kenya | Africa | |
| BAH | Manama | Bahrain | Asia Pacific | |
| BJS | Beijing | China | Asia Pacific | |
| BLR | Bangalore | India | Asia Pacific | |
| BOM | Mumbai | India | Asia Pacific | |
| DEL | New Delhi | India | Asia Pacific | |
| DXB | Dubai | United Arab Emirates | Asia Pacific |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React, { useContext } from 'react'; | |
| import { Box, makeStyles, Theme, Typography } from '@material-ui/core'; | |
| import clsx from 'clsx'; | |
| import { ContentfulContext } from '@pages/_app'; | |
| const useStyles = makeStyles((theme: Theme) => ({ | |
| xframeRoot: { | |
| backgroundColor: '#fff', | |
| position: 'relative', | |
| zIndex: 1, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.contentful.java.cda.integration; | |
| import com.contentful.java.cda.*; | |
| import com.contentful.java.cda.QueryOperation.*; | |
| import com.contentful.java.cda.TransformQuery.ContentfulEntryModel; | |
| import com.contentful.java.cda.TransformQuery.ContentfulField; | |
| import com.contentful.java.cda.TransformQuery.ContentfulSystemField; | |
| import com.contentful.java.cda.lib.Enqueue; | |
| import com.contentful.java.cda.lib.EnqueueResponse; | |
| import org.junit.Before; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (async () => { | |
| const contentful = require("contentful"); | |
| const parallel = require("async-parallel"); | |
| const space_id = "SPACE_ID"; | |
| const environment_id = "ENV_ID"; | |
| const access_token = "ACCESS_TOKEN"; | |
| let content_type_ids = [ | |
| "content_type_id1", |
OlderNewer