Created
December 5, 2021 01:33
-
-
Save icebeam7/8199e45f4356f83c82daac30b7138c65 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"bindings": [ | |
{ | |
"authLevel": "anonymous", | |
"name": "req", | |
"type": "httpTrigger", | |
"direction": "in", | |
"route": "update-student/{id}/{faculty}", | |
"methods": [ | |
"get", | |
"post" | |
] | |
}, | |
{ | |
"name": "$return", | |
"type": "http", | |
"direction": "out" | |
}, | |
{ | |
"name": "outputDocument", | |
"direction": "out", | |
"type": "cosmosDB", | |
"databaseName": "studentsdb", | |
"collectionName": "students", | |
"connectionStringSetting": "universitylb7_DOCUMENTDB", | |
"partitionKey": "/faculty" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment