Skip to content

Commit f420527

Browse files
authored
Merge pull request #49 from makeplane/api-fixes
Added troubleshooting docs and other API fixes
2 parents 4ac25a4 + 3019c77 commit f420527

File tree

14 files changed

+148
-22
lines changed

14 files changed

+148
-22
lines changed

api-reference/inbox-issue/add-inbox-issue.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Add intake issue
33
description: Adds an intake issue in a project
4-
api: POST /api/v1/workspaces/{workspace-slug}/projects/{project_id}/inbox-issues/
4+
api: POST /api/v1/workspaces/{workspace-slug}/projects/{project_id}/intake-issues/
55
---
66

77
### Path parameters
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Delete intake issue
33
description: Deletes an intake issue
4-
api: DELETE /api/v1/workspaces/{workspace-slug}/projects/{project_id}/inbox-issues/{issue_id}
4+
api: DELETE /api/v1/workspaces/{workspace-slug}/projects/{project_id}/intake-issues/{issue_id}
55
---
66

77
### Path parameters
@@ -10,6 +10,6 @@ api: DELETE /api/v1/workspaces/{workspace-slug}/projects/{project_id}/inbox-issu
1010

1111
<ParamField path="project_id" type="string" required></ParamField>
1212

13-
<ParamField path="inbox_id" type="string" required></ParamField>
13+
<ParamField path="intake_id" type="string" required></ParamField>
1414

1515
<ParamField path="issue_id" type="string" required></ParamField>

api-reference/inbox-issue/get-inbox-issue-detail.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Get intake issue detail
33
description: Gets the details of an intake issue
4-
api: GET /api/v1/workspaces/{workspace-slug}/projects/{project_id}/inbox-issues/{issue_id}
4+
api: GET /api/v1/workspaces/{workspace-slug}/projects/{project_id}/intake-issues/{issue_id}
55
---
66

77
### Path parameters

api-reference/inbox-issue/list-inbox-issues.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: List intake issues
33
description: Gets all the intake issue of a project
4-
api: GET /api/v1/workspaces/{workspace-slug}/projects/{project_id}/inbox-issues/
4+
api: GET /api/v1/workspaces/{workspace-slug}/projects/{project_id}/intake-issues/
55
---
66

77
### Path parameters

api-reference/inbox-issue/overview.mdx

Lines changed: 22 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,35 @@
22
title: Overview
33
---
44

5-
To enable the intake feature, the user can hit a PATCH request on the project api with the body as
5+
<Warning>
6+
**Deprecation notice**
7+
8+
We are deprecating all `/api/v1/.../inbox-issues/` endpoints in favor of `/api/v1/.../intake-issues/`.
9+
10+
**End of support**
11+
28th February 2025
12+
13+
**What you need to do**
14+
To ensure uninterrupted service, replace all `/inbox-issues/` references with `/intake-issues/` in your codebase before the support end date.
15+
</Warning>
16+
17+
To enable the Intake feature, the user can hit a PATCH request on the project api with the body as
618

719
```http
8-
GET /api/v1/workspaces/:workspace-slug/projects/:project_id/inbox-issues/
9-
POST /api/v1/workspaces/:workspace-slug/projects/:project_id/inbox-issues/
10-
GET /api/v1/workspaces/:workspace-slug/projects/:project_id/inbox-issues/:issue_id/
11-
PATCH /api/v1/workspaces/:workspace-slug/projects/:project_id/inbox-issues/:issue_id/
12-
DELETE /api/v1/workspaces/:workspace-slug/projects/:project_id/inbox-issues/:issue_id/
20+
GET /api/v1/workspaces/:workspace-slug/projects/:project_id/intake-issues/
21+
POST /api/v1/workspaces/:workspace-slug/projects/:project_id/intake-issues/
22+
GET /api/v1/workspaces/:workspace-slug/projects/:project_id/intake-issues/:issue_id/
23+
PATCH /api/v1/workspaces/:workspace-slug/projects/:project_id/intake-issues/:issue_id/
24+
DELETE /api/v1/workspaces/:workspace-slug/projects/:project_id/intake-issues/:issue_id/
1325
```
1426

1527
```
1628
{
17-
inbox_view:true,
29+
intake_view:true,
1830
}
1931
```
2032

21-
To create an intake issue, the payload should be sent in the below format
33+
To create an Intake issue, the payload should be sent in the below format
2234

2335
```json
2436
{
@@ -29,7 +41,7 @@ To create an intake issue, the payload should be sent in the below format
2941
}
3042
```
3143

32-
### Intake Issue Object
44+
### Intake issue object
3345

3446
**Attribute**
3547

@@ -90,7 +102,7 @@ To create an intake issue, the payload should be sent in the below format
90102
"pending_issue_count": 0,
91103
"created_at": "2023-11-21T07:32:26.072634Z",
92104
"updated_at": "2023-11-21T07:32:26.072648Z",
93-
"name": "a dummy project hvh Inbox",
105+
"name": "a dummy project with Intake",
94106
"description": "",
95107
"is_default": true,
96108
"view_props": {},

api-reference/inbox-issue/update-inbox-issue-detail.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Update intake issue detail
33
description: Updates the details of an intake issue
4-
api: PATCH /api/v1/workspaces/{workspace-slug}/projects/{project_id}/inbox-issues/{issue_id}
4+
api: PATCH /api/v1/workspaces/{workspace-slug}/projects/{project_id}/intake-issues/{issue_id}
55
---
66

77
### Path parameters

api-reference/issue/get-issue-detail.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: Get issue details
3-
description: Gets the details of an issue
2+
title: Get issue by UUID
3+
description: Gets the details of an issue using the UUID
44
api: GET /api/v1/workspaces/{workspace-slug}/projects/{project_id}/issues/{issue_id}
55
---
66

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
title: Get issue by sequence ID
3+
description: Gets the details of an issue using the sequence id
4+
api: GET /api/v1/workspaces/{workspace-slug}/issues/{sequence_id}/
5+
---
6+
7+
### Path parameters
8+
9+
<ParamField path="workspace-slug" type="string" required></ParamField>
10+
11+
<ParamField path="sequence_id" type="string" required></ParamField>

api-reference/project/overview.mdx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,13 @@ PATCH /api/v1/workspaces/:workspace-slug/projects/:project_id/
1313
DELETE /api/v1/workspaces/:workspace-slug/projects/:project_id/
1414
```
1515

16+
The `workspace-slug` represents the unique workspace identifier for a workspace in Plane. It can be found in the URL. For example, in the URL:
17+
18+
```
19+
https://app.plane.so/my-team/projects/
20+
```
21+
The workspace slug is `my-team`.
22+
1623
### Project Object
1724

1825
**Attributes**

mint.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,13 @@
111111

112112
]
113113
},
114+
{
115+
"group": "Troubleshoot",
116+
"pages": [
117+
"self-hosting/troubleshoot/license-errors",
118+
"self-hosting/troubleshoot/cli-errors"
119+
]
120+
},
114121
{
115122
"group": "API Reference",
116123
"pages": [
@@ -166,6 +173,7 @@
166173
"api-reference/issue/add-issue",
167174
"api-reference/issue/list-issues",
168175
"api-reference/issue/get-issue-detail",
176+
"api-reference/issue/get-issue-sequence-id",
169177
"api-reference/issue/update-issue-detail",
170178
"api-reference/issue/delete-issue"
171179
]

0 commit comments

Comments
 (0)