Archived
2

adapted /materials

This commit is contained in:
VLE2FE
2020-05-28 14:11:19 +02:00
parent c4752d12ba
commit 1c2631c6fb
6 changed files with 56 additions and 9 deletions

View File

@ -48,7 +48,7 @@
get:
summary: get material details
description: 'Auth: all, levels: read, write, maintain, dev, admin'
x-doc: status handling (accessible (only for maintain/admin))? # TODO after decision
x-doc: deleted samples are available only for maintain/admin
tags:
- /material
responses:
@ -67,7 +67,7 @@
put:
summary: change material
description: 'Auth: basic, levels: write, maintain, dev, admin'
x-doc: status is reset to 0 on any changes
x-doc: status is reset to 0 on any changes, deleted samples cannot be changed
tags:
- /material
security: