API endpoint for loki configuration in heml chart

I’ve been following below link to setup a storage similar to cassandra.

So the storage i have is a custom DB which in background uses Cassandra.


# This is a partial config that uses the local filesystem for chunk storage and Cassandra for index storage

schema_config:
  configs:
  - from: 2020-05-15
    store: cassandra
    object_store: filesystem
    schema: v11
    index:
      prefix: cassandra_table
      period: 168h

storage_config:
  cassandra:
    username: cassandra
    password: cassandra
    addresses: 127.0.0.1
    auth: true
    keyspace: lokiindex

  filesystem:
    directory: /tmp/loki/chunks
    

The cassandra block in storage_config requires cassandra username and password. But my custom db has endpoints using which we can insert data.

My api endpoint will be similarly <Domain Name>/v1/<Table Name>/

Can i use such endpoint to store from loki ?