Fix bug when saving tags for recipes

This commit is contained in:
araemer 2026-02-22 13:18:31 +01:00
parent 66da81baf8
commit 96d87fed13
8 changed files with 81 additions and 17 deletions

View file

@ -5,7 +5,7 @@ meta {
}
get {
url: {{url}}/recipe/fa608340-d679-4267-8b89-c743bd7fc234
url: {{url}}/recipe/44a8f38c-9387-439e-aed6-c3369b776b1c
body: none
auth: inherit
}

View file

@ -0,0 +1,21 @@
meta {
name: createOrUpdate
type: http
seq: 2
}
post {
url: {{url}}/tag/create-or-update
body: json
auth: inherit
}
body:json {
{
"description": "Kuchen"
}
}
settings {
encodeUrl: true
}

View file

@ -0,0 +1,15 @@
meta {
name: delete
type: http
seq: 3
}
delete {
url: {{url}}/tag/374d5df2-f7ff-45cd-ac67-c213233bf83f
body: none
auth: inherit
}
settings {
encodeUrl: true
}

View file

@ -0,0 +1,8 @@
meta {
name: TagRestResource
seq: 5
}
auth {
mode: inherit
}

View file

@ -0,0 +1,15 @@
meta {
name: getAll
type: http
seq: 1
}
get {
url: {{url}}/tag/all
body: none
auth: inherit
}
settings {
encodeUrl: true
}