mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Merge pull request #10397 from appwrite/update-upsert-naming
chore: update description for upsert methods
This commit is contained in:
@@ -8940,7 +8940,7 @@
|
||||
}
|
||||
},
|
||||
"put": {
|
||||
"summary": "Create or update documents",
|
||||
"summary": "Upsert documents",
|
||||
"operationId": "databasesUpsertDocuments",
|
||||
"tags": [
|
||||
"databases"
|
||||
@@ -36183,7 +36183,7 @@
|
||||
}
|
||||
},
|
||||
"put": {
|
||||
"summary": "Create or update rows",
|
||||
"summary": "Upsert rows",
|
||||
"operationId": "tablesDBUpsertRows",
|
||||
"tags": [
|
||||
"tablesDB"
|
||||
|
||||
@@ -8416,7 +8416,7 @@
|
||||
}
|
||||
},
|
||||
"put": {
|
||||
"summary": "Create or update documents",
|
||||
"summary": "Upsert documents",
|
||||
"operationId": "databasesUpsertDocuments",
|
||||
"tags": [
|
||||
"databases"
|
||||
@@ -26542,7 +26542,7 @@
|
||||
}
|
||||
},
|
||||
"put": {
|
||||
"summary": "Create or update rows",
|
||||
"summary": "Upsert rows",
|
||||
"operationId": "tablesDBUpsertRows",
|
||||
"tags": [
|
||||
"tablesDB"
|
||||
|
||||
@@ -8940,7 +8940,7 @@
|
||||
}
|
||||
},
|
||||
"put": {
|
||||
"summary": "Create or update documents",
|
||||
"summary": "Upsert documents",
|
||||
"operationId": "databasesUpsertDocuments",
|
||||
"tags": [
|
||||
"databases"
|
||||
@@ -36183,7 +36183,7 @@
|
||||
}
|
||||
},
|
||||
"put": {
|
||||
"summary": "Create or update rows",
|
||||
"summary": "Upsert rows",
|
||||
"operationId": "tablesDBUpsertRows",
|
||||
"tags": [
|
||||
"tablesDB"
|
||||
|
||||
@@ -8416,7 +8416,7 @@
|
||||
}
|
||||
},
|
||||
"put": {
|
||||
"summary": "Create or update documents",
|
||||
"summary": "Upsert documents",
|
||||
"operationId": "databasesUpsertDocuments",
|
||||
"tags": [
|
||||
"databases"
|
||||
@@ -26542,7 +26542,7 @@
|
||||
}
|
||||
},
|
||||
"put": {
|
||||
"summary": "Create or update rows",
|
||||
"summary": "Upsert rows",
|
||||
"operationId": "tablesDBUpsertRows",
|
||||
"tags": [
|
||||
"tablesDB"
|
||||
|
||||
@@ -9058,7 +9058,7 @@
|
||||
]
|
||||
},
|
||||
"put": {
|
||||
"summary": "Create or update documents",
|
||||
"summary": "Upsert documents",
|
||||
"operationId": "databasesUpsertDocuments",
|
||||
"consumes": [
|
||||
"application\/json"
|
||||
@@ -36306,7 +36306,7 @@
|
||||
]
|
||||
},
|
||||
"put": {
|
||||
"summary": "Create or update rows",
|
||||
"summary": "Upsert rows",
|
||||
"operationId": "tablesDBUpsertRows",
|
||||
"consumes": [
|
||||
"application\/json"
|
||||
|
||||
@@ -8524,7 +8524,7 @@
|
||||
]
|
||||
},
|
||||
"put": {
|
||||
"summary": "Create or update documents",
|
||||
"summary": "Upsert documents",
|
||||
"operationId": "databasesUpsertDocuments",
|
||||
"consumes": [
|
||||
"application\/json"
|
||||
@@ -26725,7 +26725,7 @@
|
||||
]
|
||||
},
|
||||
"put": {
|
||||
"summary": "Create or update rows",
|
||||
"summary": "Upsert rows",
|
||||
"operationId": "tablesDBUpsertRows",
|
||||
"consumes": [
|
||||
"application\/json"
|
||||
|
||||
@@ -9058,7 +9058,7 @@
|
||||
]
|
||||
},
|
||||
"put": {
|
||||
"summary": "Create or update documents",
|
||||
"summary": "Upsert documents",
|
||||
"operationId": "databasesUpsertDocuments",
|
||||
"consumes": [
|
||||
"application\/json"
|
||||
@@ -36306,7 +36306,7 @@
|
||||
]
|
||||
},
|
||||
"put": {
|
||||
"summary": "Create or update rows",
|
||||
"summary": "Upsert rows",
|
||||
"operationId": "tablesDBUpsertRows",
|
||||
"consumes": [
|
||||
"application\/json"
|
||||
|
||||
@@ -8524,7 +8524,7 @@
|
||||
]
|
||||
},
|
||||
"put": {
|
||||
"summary": "Create or update documents",
|
||||
"summary": "Upsert documents",
|
||||
"operationId": "databasesUpsertDocuments",
|
||||
"consumes": [
|
||||
"application\/json"
|
||||
@@ -26725,7 +26725,7 @@
|
||||
]
|
||||
},
|
||||
"put": {
|
||||
"summary": "Create or update rows",
|
||||
"summary": "Upsert rows",
|
||||
"operationId": "tablesDBUpsertRows",
|
||||
"consumes": [
|
||||
"application\/json"
|
||||
|
||||
+1
-1
@@ -39,7 +39,7 @@ class Upsert extends Action
|
||||
$this
|
||||
->setHttpMethod(self::HTTP_REQUEST_METHOD_PUT)
|
||||
->setHttpPath('/v1/databases/:databaseId/collections/:collectionId/documents')
|
||||
->desc('Create or update documents')
|
||||
->desc('Upsert documents')
|
||||
->groups(['api', 'database'])
|
||||
->label('scope', 'documents.write')
|
||||
->label('resourceType', RESOURCE_TYPE_DATABASES)
|
||||
|
||||
@@ -30,7 +30,7 @@ class Upsert extends DocumentsUpsert
|
||||
$this
|
||||
->setHttpMethod(self::HTTP_REQUEST_METHOD_PUT)
|
||||
->setHttpPath('/v1/tablesdb/:databaseId/tables/:tableId/rows')
|
||||
->desc('Create or update rows')
|
||||
->desc('Upsert rows')
|
||||
->groups(['api', 'database'])
|
||||
->label('scope', ['rows.write', 'documents.write'])
|
||||
->label('resourceType', RESOURCE_TYPE_DATABASES)
|
||||
|
||||
Reference in New Issue
Block a user