Was this helpful?
Retrieves a specific workspace by its ID
GET /workspaces/{id} HTTP/1.1 Host: api.laminar.run Authorization: Bearer JWT Accept: */*
Workspace retrieved successfully
{ "id": 1, "name": "text" }
Updates the name of the specified workspace
PUT /workspaces/{id} HTTP/1.1 Host: api.laminar.run Authorization: Bearer JWT Accept: */*
Workspace updated successfully
Deletes the specified workspace
DELETE /workspaces/{id} HTTP/1.1 Host: api.laminar.run Authorization: Bearer JWT Accept: */*
Workspace deleted successfully
No content
Retrieves all workspaces for the authenticated user
GET /workspaces HTTP/1.1 Host: api.laminar.run Authorization: Bearer JWT Accept: */*
Successfully retrieved workspaces
Creates a new workspace with the given name
POST /workspaces HTTP/1.1 Host: api.laminar.run Authorization: Bearer JWT Accept: */*
Workspace created successfully