Create Azure File Feed

Create Azure file share feed to ingest files.

Graphlit supports ingesting files from Azure file shares.

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 file share accountName, shareName, storageAccessKey, and optional file share prefix. (Prefix is the relative path within the file share.)

Mutation:

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

Variables:

{
  "feed": {
    "type": "SITE",
    "site": {
      "type": "AZURE_FILE",
      "isRecursive": false,
      "azureFile": {
        "storageAccessKey": "redacted",
        "accountName": "redacted",
        "shareName": "test",
        "prefix": "audio"
      }
    },
    "name": "Azure File Share Podcasts"
  }
}

Response:

{
  "type": "SITE",
  "id": "977e2487-4e62-402c-8ed5-99c59df3f535",
  "name": "Azure File Share Podcasts",
  "state": "ENABLED"
}

Last updated