Move backend files into a sub folder.

This commit is contained in:
Florian THIERRY
2024-03-27 10:28:22 +01:00
parent 39663e914d
commit 431d365d20
131 changed files with 3633 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
meta {
name: Create a new category
type: http
seq: 1
}
post {
url: {{url}}/api/categories
body: json
auth: bearer
}
auth:bearer {
token: {{bearerToken}}
}
body:json {
{
"name": "New category with sub-category",
"subCategoryIds": [
"2d19d037-57a1-44a1-9a20-766b4e3628b6"
]
}
}

View File

@@ -0,0 +1,15 @@
meta {
name: Delete an existing category
type: http
seq: 3
}
delete {
url: {{url}}/api/categories/{{categoryId}}
body: none
auth: bearer
}
auth:bearer {
token: {{bearerToken}}
}

View File

@@ -0,0 +1,11 @@
meta {
name: Get all categories
type: http
seq: 4
}
get {
url: {{url}}/api/categories
body: none
auth: none
}

View File

@@ -0,0 +1,22 @@
meta {
name: Update an existing category
type: http
seq: 2
}
put {
url: {{url}}/api/categories/{{categoryId}}
body: json
auth: bearer
}
auth:bearer {
token: {{bearerToken}}
}
body:json {
{
"name": "Another name of the category",
"subCategoryIds": []
}
}