Ingest File

Ingest PDFs, videos, Markdown and Word documents, and more.

If you have content already cloud-hosted, and available via URL, it can be ingested into Graphlit easily.

You can use the ingestUri mutation, and pass the URI to the cloud-hosted file.

ingestUri expects an individual file or ZIP package of files, and will return an error if a webpage or RSS feed is provided in the URI.

Graphlit will return the ID of the content object which is created, and immediately begin processing the content workflow in the background.

More information on content workflows can be found here.

Mutation:

mutation IngestUri($uri: URL!) {
  ingestUri(uri: $uri) {
    id
    name
    state
    type
    fileType
    uri
  }
}

Variables:

{
  "uri": "https://graphlitplatform.blob.core.windows.net/samples/Unstructured%20Data%20is%20Dark%20Data%20Podcast.mp3"
}

Response:

{
  "type": "FILE",
  "fileType": "AUDIO",
  "uri": "https://graphlitplatform.blob.core.windows.net/samples/Unstructured%20Data%20is%20Dark%20Data%20Podcast.mp3",
  "id": "cc4f2a1f-b103-4cab-8a98-2b8cd84b691c",
  "name": "Unstructured Data is Dark Data Podcast.mp3",
  "state": "CREATED"
}

Last updated