bucket crud

This commit is contained in:
2024-11-17 22:08:06 +01:00
parent abd805b9cd
commit 8cf61c68bf
10 changed files with 143 additions and 80 deletions

View File

@ -44,8 +44,6 @@ paths:
type: array
items:
$ref: '#/components/schemas/Bucket'
'500':
description: Server error
post:
summary: Create a new bucket
@ -85,8 +83,6 @@ paths:
description: Bucket deleted successfully
'404':
description: Bucket not found
'500':
description: Server error
/buckets/{bucketName}/objects:
get:
@ -122,12 +118,6 @@ paths:
total:
type: integer
description: Total number of objects available in the bucket
limit:
type: integer
description: Maximum number of items returned in the response
offset:
type: integer
description: Number of items skipped before starting the response
items:
type: array
items:
@ -191,8 +181,6 @@ paths:
description: Object uploaded successfully
'400':
description: Invalid object data
'500':
description: Server error
delete:
summary: Delete an object
@ -215,8 +203,6 @@ paths:
description: Object deleted successfully
'404':
description: Bucket or object not found
'500':
description: Server error
components:
schemas: