implemented more /sample methods
This commit is contained in:
		@@ -41,8 +41,8 @@
 | 
			
		||||
      500:
 | 
			
		||||
        $ref: 'api.yaml#/components/responses/500'
 | 
			
		||||
  put:
 | 
			
		||||
    summary: TODO change sample
 | 
			
		||||
    description: 'Auth: basic, levels: write, maintain, dev, admin'
 | 
			
		||||
    summary: change sample
 | 
			
		||||
    description: 'Auth: basic, levels: write, maintain, dev, admin, only maintain and admin are allowed to edit samples created by another user'
 | 
			
		||||
    tags:
 | 
			
		||||
      - /sample
 | 
			
		||||
    security:
 | 
			
		||||
@@ -59,7 +59,7 @@
 | 
			
		||||
        content:
 | 
			
		||||
          application/json:
 | 
			
		||||
            schema:
 | 
			
		||||
              $ref: 'api.yaml#/components/schemas/SampleDetail'
 | 
			
		||||
              $ref: 'api.yaml#/components/schemas/SampleRefs'
 | 
			
		||||
      400:
 | 
			
		||||
        $ref: 'api.yaml#/components/responses/400'
 | 
			
		||||
      401:
 | 
			
		||||
@@ -71,8 +71,8 @@
 | 
			
		||||
      500:
 | 
			
		||||
        $ref: 'api.yaml#/components/responses/500'
 | 
			
		||||
  delete:
 | 
			
		||||
    summary: TODO delete sample
 | 
			
		||||
    description: 'Auth: basic, levels: write, maintain, dev, admin'
 | 
			
		||||
    summary: delete sample
 | 
			
		||||
    description: 'Auth: basic, levels: write, maintain, dev, admin, only maintain and admin are allowed to edit samples created by another user'
 | 
			
		||||
    tags:
 | 
			
		||||
      - /sample
 | 
			
		||||
    security:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user