Updating request payload format for cosmosdbgremlinapi (#2161)

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

Co-authored-by: Mark Fussell <mfussell@microsoft.com>
This commit is contained in:
Pravin Pushkar 2022-02-19 01:10:00 +05:30 committed by GitHub
parent dcb7c70d55
commit 1a0d4d3136
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 1 deletions

View File

@ -38,7 +38,7 @@ The above example uses secrets as plain strings. It is recommended to use a secr
|--------------------|:--------:|--------|---------|---------|
| url | Y | Output | The CosmosDBGremlinAPI url | `"wss://******.gremlin.cosmos.azure.com:443/"` |
| masterKey | Y | Output | The CosmosDBGremlinAPI account master key | `"masterKey"` |
| database | Y | Output | The username of the CosmosDBGremlinAPI database | `"username"` |
| username | Y | Output | The username of the CosmosDBGremlinAPI database | `"/dbs/<database_name>/colls/<graph_name>"` |
For more information see [Quickstart: Azure Cosmos Graph DB using Gremlin ](https://docs.microsoft.com/azure/cosmos-db/graph/create-graph-console).
@ -48,6 +48,17 @@ This component supports **output binding** with the following operations:
- `query`
## Request payload sample
```json
{
"data": {
"gremlin": "g.V().count()"
},
"operation": "query"
}
```
## Related links
- [Basic schema for a Dapr component]({{< ref component-schema >}})