renamed attachment's parentId to more fitting ownerId

This commit is contained in:
zadam
2023-07-14 17:01:56 +02:00
parent ca41806bc2
commit d475346a09
25 changed files with 63 additions and 63 deletions
+1 -1
View File
@@ -127,7 +127,7 @@ Content-Type: application/json
Authorization: {{authToken}}
{
"parentId": "{{createdNoteId}}",
"ownerId": "{{createdNoteId}}",
"role": "file",
"mime": "plain/text",
"title": "my attachment",
+1 -1
View File
@@ -18,7 +18,7 @@ Authorization: {{authToken}}
Content-Type: application/json
{
"parentId": "{{createdNoteId}}",
"ownerId": "{{createdNoteId}}",
"role": "file",
"mime": "text/plain",
"title": "my attachment",
+3 -3
View File
@@ -18,7 +18,7 @@ Authorization: {{authToken}}
Content-Type: application/json
{
"parentId": "{{createdNoteId}}",
"ownerId": "{{createdNoteId}}",
"role": "file",
"mime": "text/plain",
"title": "my attachment",
@@ -55,7 +55,7 @@ Authorization: {{authToken}}
Content-Type: application/json
{
"parentId": "root"
"ownerId": "root"
}
> {%
@@ -76,4 +76,4 @@ Content-Type: application/json
> {%
client.assert(response.status === 400);
client.assert(response.body.code == "PROPERTY_VALIDATION_ERROR");
%}
%}
@@ -18,7 +18,7 @@ Authorization: {{authToken}}
Content-Type: application/json
{
"parentId": "{{createdNoteId}}",
"ownerId": "{{createdNoteId}}",
"role": "file",
"mime": "text/plain",
"title": "my attachment",
@@ -36,4 +36,4 @@ Content-Transfer-Encoding: binary
< ../images/icon-color.png
> {% client.assert(response.status === 204); %}
> {% client.assert(response.status === 204); %}
+1 -1
View File
@@ -18,7 +18,7 @@ Authorization: {{authToken}}
Content-Type: application/json
{
"parentId": "{{createdNoteId}}",
"ownerId": "{{createdNoteId}}",
"role": "file",
"mime": "text/plain",
"title": "my attachment",