APIs

Inbox Issue

To enable an inbox, the user can hit a PATCH request on the project api with the body as

{
	inbox_view:true,
}

To create an inbox issue, the payload should be sent in the below format

{
	"issue": {
		"name": "Snoozed Issue 2",
		"priority": "high"
	}
}
GET    /api/v1/workspaces/:slug/projects/:project_id/inbox-issues/
POST   /api/v1/workspaces/:slug/projects/:project_id/inbox-issues/
GET    /api/v1/workspaces/:slug/projects/:project_id/inbox-issues/:issue_id/
PATCH  /api/v1/workspaces/:slug/projects/:project_id/inbox-issues/:issue_id/
DELETE /api/v1/workspaces/:slug/projects/:project_id/inbox-issues/:issue_id/

Inbox Issue Object

Attribute

  • created_at timestamp

    The timestamp of the time when the project was created

  • updated_at timestamp

    The timestamp of the time when the project was last updated

  • status

    the status of the issue can be in above mentioned status

    • -2 - Pending
    • -1 - Rejected
    • 0 - Snoozed
    • 1 - Accepted
    • 2 - Duplicate
  • snoozed_till

    The time untill the issue is snoozed.

  • source

    The source describes the type inbox issue from

  • created_by , updated_by uuid

    These values are auto saved and represent the id of the user that created or updated the module

  • Project uuid

    It contains projects uuid which is automatically saved.

  • Workspace uuid

    It contains workspace uuid which is automatically saved.

  • inbox

    inbox id of the issue

  • issue

    issue id of the issue

  • duplicate_to

    Id of the issue of which the current issue is duplicate of.

{
    "id": "0de4d6d1-fdc7-4849-8080-dc379ab210e3",
    "pending_issue_count": 0,
    "created_at": "2023-11-21T07:32:26.072634Z",
    "updated_at": "2023-11-21T07:32:26.072648Z",
    "name": "a dummy project hvh Inbox",
    "description": "",
    "is_default": true,
    "view_props": {},
    "created_by": "0649cb9d-05c8-4ef4-8e8b-d108ccddd42c",
    "updated_by": "0649cb9d-05c8-4ef4-8e8b-d108ccddd42c",
    "project": "6436c4ae-fba7-45dc-ad4a-5440e17cb1b2",
    "workspace": "c467e125-59e3-44ec-b5ee-f9c1e138c611"
}
Previous
Cycle Issue