Cosmos DB Gremlin, DB and Collection Creation via APIs

Don Liyanage 20 Reputation points
2024-06-17T17:08:30.5433333+00:00

Is there an API that we can use to Create DB and Collection/Graphs?

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,680 questions
{count} votes

Accepted answer
  1. TP 98,811 Reputation points
    2024-06-18T00:29:47.3766667+00:00

    Hi Don,

    Please see below page for Cosmos DB Gremlin REST API. You can use it to create/update/etc. databases and graphs:

    Gremlin Resources

    https://learn.microsoft.com/en-us/rest/api/cosmos-db-resource-provider/gremlin-resources?view=rest-cosmos-db-resource-provider-2023-11-15

    Please click Accept Answer and upvote if the above was helpful. If I have misunderstood your question or something is unclear, please add a comment.

    Thanks.

    -TP

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. GeethaThatipatri-MSFT 29,477 Reputation points Microsoft Employee
    2024-06-17T18:54:28.7066667+00:00

    @Don Liyanage Welcome to Microsoft Q&A thanks for posting your question.

    Azure Cosmos DB for Gremlin provides a graph database service via the API for Gremlin on a fully managed database service designed for any scale. You can manage your data using Gremlin Console, a .NET app, or a Python app. For creating databases.

    you create the Cosmos DB account (with type Gremlin), then you create a database and a collection, like with any other Cosmos DB account

    https://learn.microsoft.com/en-us/azure/cosmos-db/gremlin/

    User's image

    Regards

    Geetha

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.