Skip to content

[Workspaces] POST | workspaces #41

Description

@hazemahmedx0

/api/v1/workspaces

Request body

{
  "title": "My workspace",
  "description": "This is a description",
  "photo": {
    "id": "string"
  }
}

the title is only required

Response body

{
  "id": 32,
  "title": "My workspace",
  "description": null,
  "owner": {
    "id": 1
  },
  "members": [
    {
      "id": 1
    }
  ],
  "createdAt": "2024-04-29T12:18:49.860Z",
  "updatedAt": "2024-04-29T12:18:49.860Z",
  "deletedAt": null
}

  "members": [
    {
      "id": 1
    }

id of creator

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions