spaces storage

This commit is contained in:
compilando 2025-02-26 17:36:53 +01:00
parent 079cde591e
commit f05fd437aa
14 changed files with 256 additions and 100 deletions

View file

@ -1,5 +0,0 @@
@baseUrl = http://localhost:3000
@previous_slug = cool-zenrice-test-base-0ae004db-fdca-4df6-8833-1104ac1662f6
GET {{baseUrl}}/rices/{{previous_slug}}

View file

@ -1,6 +0,0 @@
@baseUrl = http://localhost:3000
@previous_slug = cool-zenrice-aurora2-b970a742-789c-4349-8a4d-da63c8bbe77d
@previous_token = 03fbfdb4-d3a5-4d64-8740-feac7d32e7a8
DELETE {{baseUrl}}/rices/{{previous_slug}}
x-zen-shared-token: {{previous_token}}

View file

@ -0,0 +1,5 @@
@baseUrl = http://localhost:3000
@previous_slug = cool-zenrice-test-base-a069a4c2-237d-433f-ab1c-38c6e6ba5244
GET {{baseUrl}}/rices/{{previous_slug}}

View file

@ -1,6 +1,6 @@
@baseUrl = http://localhost:3000
@previous_slug = cool-zenrice-test-base64211-5f874c8c-71f7-4b45-830a-aa86c9328455
@previous_token = 84780af0-191e-4f77-8c23-25165c89d27e
@previous_slug = cool-zenrice-test-base-1d576eeb-de28-4df8-a12f-bcfc8f0e9b6e
@previous_token = 00472a9f-8a8c-423d-b4a5-7137c4cc13f6
PUT {{baseUrl}}/rices/{{previous_slug}}
Content-Type: application/json

View file

@ -0,0 +1,6 @@
@baseUrl = http://localhost:3000
@previous_slug = cool-zenrice-test-base-1d576eeb-de28-4df8-a12f-bcfc8f0e9b6e
@previous_token = 00472a9f-8a8c-423d-b4a5-7137c4cc13f6
DELETE {{baseUrl}}/rices/{{previous_slug}}
x-zen-shared-token: {{previous_token}}

View file

@ -0,0 +1,30 @@
@baseUrl = http://localhost:3000
POST {{baseUrl}}/spaces
Content-Type: application/json
x-zen-shared-name: cool-zenrice-test-base
x-zen-shared-author: jhon@doe.com
User-Agent: ZenBrowser/1.2b.0 (EndeavourOS x86_64)
{
"space_id": "UNIQUE-IDENTIFIER",
"owner_id": "USER_OR_TEAM_ID",
"name": "Project X Workspace",
"description": "Workspace for Project X collaboration",
"tabs": [
{
"url": "https://example.com",
"title": "Example Site",
"pinned": true,
"archived": false,
"metadata": {
"last_accessed": "2024-02-20T14:30:00Z",
"preview_image": "base64_thumbnail"
}
}
],
"permissions": {
"public_sharing": false,
"edit_restrictions": "owner_only"
}
}