Skip to content

Arc XP

With Arc XP as your content source, EdgeKit keeps a read-only copy of your Arc stories and their authors in your organization’s own database. Content › Content › Items and Content › Content › Authors show it. Arc stays the system of record: EdgeKit only reads from Arc, and never writes to it.

Do these in order:

  1. An access token. Create an Arc XP developer access token for your Arc organization. EdgeKit reads from Arc with it. You enter it in step 2, on the source’s page; it is never shown again.

  2. The content source. Add an Arc XP source in Content › Configuration › Sources, then open it and save the token under CMS credential. Saving the token redeploys your organization’s API. The source’s fields:

    • API base URL: https://api.<org>.arcpublishing.com, or https://api.sandbox.<org>.arcpublishing.com for a sandbox. EdgeKit sends your token only to this host, and accepts no host but Arc’s own API hosts.
    • Sites: one row per Arc website id, mapped to an EdgeKit site. At least one is required.
    • Default language: used for a story whose language is missing or is not a language.

    Saving the source starts the first sync, but with no token yet it stops at its first page. Once the token is saved and deployed, select Start full sync on the source’s page. See Connect a content source.

  3. An API key. Issue a tenant API key pinned to any of your sites. See Issue and revoke API keys.

  4. An IFX integration. Deploy an IFX integration in your own Arc organization that calls the sync route with that key and the source’s Source key as source:

    • on story:create, story:save, story:update, story:first-publish, story:republish, story:unpublish and story:delete, with the story’s _id and "type": "story";
    • on author:create, author:update and author:delete, with the author’s _id and "type": "author".
// In your IFX handler. storyId is the story's _id from the IFX event.
await fetch('https://<tenant>.edgekit.ai/v1/content/sync', {
method: 'POST',
headers: {
authorization: `Bearer ${process.env.EDGEKIT_API_KEY}`,
'content-type': 'application/json',
},
body: JSON.stringify({
source: 'arcxp', // your Arc XP source's source key
events: [{ id: storyId, type: 'story' }],
}),
});

Without the author events, an author Arc credits by reference keeps the name EdgeKit first read. The request and its answers are in Keep content in sync.

An event tells EdgeKit which story or author changed. EdgeKit then reads its current state from Arc and writes that, so events that arrive twice or out of order change nothing extra. Repeats of one id within 5 seconds are read once.

A story takes three reads of Arc’s Draft API: the story, its published revision (else its draft), and its circulations. A story Arc no longer has takes one. A published story with images also reads your Arc organization’s Resizer signing-key version, plus one Signing Service call for each image that has no Resizer v2 token for that version. An author takes one read of Arc’s Author Service. A lookup in Content › Content › Sync makes the same reads.

In Arc XP In EdgeKit
The story’s _id CMS id
language Language, in canonical form, else the Default language
type, subtype Type, Subtype
headlines.basic, description.basic Headline, Description
promo_items.basic, when it is an image Lead image
Every credits role, by first Authors
website_sections of each circulation to a mapped website Sections, with the primary section marked
taxonomy.tags Tags
content_elements Body
first_published_at, display_date, last_updated_date First published, Display date, Updated in CMS
website_url of each circulation to a mapped website The item’s URL on that EdgeKit site
The Author Service record The author’s name, slug, profile URL, image and bio

In the body, text, headers, lists, images and block quotes become structured blocks, with bold, italic, underline, strikethrough, code, superscript, subscript and links kept. Any other element, a pull quote included, is kept as Arc sent it and has no text in EdgeKit. Arc topics and any other taxonomy stay only in the stored Arc response.

An image keeps its Arc id and its Resizer v2 tokens, keyed by signing-key version, so your pages can build resized image URLs from it. Arc does not serve the original image URL publicly once the story is published.

A circulation to a website you have not mapped is skipped. The story is still stored.

In Arc XP Status
The story has a published revision published
No published revision, and a publish is scheduled in the story scheduled
No published revision, and nothing scheduled draft
The Draft API no longer has the story deleted

A story is published only while Arc has a published revision. An update scheduled for a published story keeps it published.

EdgeKit reads a schedule from the story’s draft (publishing.scheduled_operations, the earliest publish of the default edition). A story whose draft carries no schedule is draft. Three Arc behaviours affect the status:

  • A schedule set through Arc’s ContentOps API without a save is not in the story, so the story stays draft.
  • Unscheduling leaves the schedule in the story until its next save, so the item stays scheduled at a date that never comes.
  • Arc documents no event for a scheduled story going live. The item can stay scheduled after it is live, until the story’s next event or a nightly reconciliation.

Saving the content source starts it. EdgeKit asks Arc’s Content API search for the stories on each mapped website, 100 at a time, then reads each story as an event would.

  • Rate. EdgeKit reads at most 4 stories every 3 seconds, which keeps to Arc’s Draft API limit: about 21 hours per 100,000 stories. Ask Arc to raise your organization’s limits before you sync a large archive.
  • Published stories on mapped websites only. Arc’s Content API serves published copy only, so a draft or a scheduled story is not found, and neither is a story on no mapped website. Each arrives when your IFX integration sends its id.

Because the source is saved before its token, the first sync fails on its first page and waits. Once the token is saved and deployed, select Start full sync on the source’s page. The same button resumes a full sync that was interrupted.

Arc’s IFX sends no event for a tag change, a decirculation, a write sent with Arc-Priority: ingestion, or a video. Such a change reaches EdgeKit at the story’s next event, a re-sync from the console, or a nightly reconciliation. Nightly reconciliation is off unless EdgeKit turns it on for you. See Nightly reconciliation.

  • Galleries, videos and redirects are not synced. An event with any type but story or author is accepted and ignored.
  • One Arc organization per source. To connect another Arc XP organization, add it as a new source with its own source key and token.

edgekit.ai