Create Azure Blob Feed

Create Azure blob storage feed to ingest files.

Graphlit supports ingesting files from Azure blob storage containers.

The createFeed mutation enables the creation of a feed by accepting the feed name, type and site feed parameters and it returns essential details, including the ID, name, state, and type of the newly generated feed.

Depending on the specified type parameter, Graphlit requires the specific feed parameters including the Azure blob storage accountName, containerName, storageAccessKey, and optional container prefix. (Prefix is the relative path within the container.)

Mutation:

mutation CreateFeed($feed: FeedInput!) {
  createFeed(feed: $feed) {
    id
    name
    state
    type
  }
}

Variables:

{
  "feed": {
    "type": "SITE",
    "site": {
      "type": "AZURE_BLOB",
      "isRecursive": false,
      "azureBlob": {
        "storageAccessKey": "redacted",
        "accountName": "redacted",
        "containerName": "test",
        "prefix": "audio"
      }
    },
    "name": "Azure Blob Podcasts"
  }
}

Response:

{
  "type": "SITE",
  "id": "2902d1fe-3d7e-4074-beb9-6edef03a0733",
  "name": "Azure Blob Podcasts",
  "state": "ENABLED"
}

Last updated