You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 7a64e59
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: apps/docs/openapi-v2-resources.json
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1641,7 +1641,7 @@
1641
1641
"post": {
1642
1642
"operationId": "createIssue",
1643
1643
"summary": "Create Issue",
1644
-
"description": "File an issue in a workspace. The body is the issue document as markdown; it lands in the inbox as new until someone starts work on it with Sim.\n\nOAuth scope: `api:write`.",
1644
+
"description": "File an issue in a workspace. The body is the issue document as markdown; it lands in the inbox as new until someone starts work on it with Sim. Workspace API keys return `403`; use a personal API key or scoped OAuth token.\n\nOAuth scope: `api:write`.",
1645
1645
"x-sim-operation": "issues.create",
1646
1646
"x-oauth-scope": "api:write",
1647
1647
"tags": ["Issues"],
@@ -1712,7 +1712,7 @@
1712
1712
"get": {
1713
1713
"operationId": "getIssue",
1714
1714
"summary": "Get Issue",
1715
-
"description": "Get one issue by its key, scoped to its workspace. Read the document with Get File Text on its bodyFileId.\n\nOAuth scope: `api:read`.",
1715
+
"description": "Get one issue by its key, scoped to its workspace. Read the document with Read File Text on its bodyFileId. Workspace API keys return `403`; use a personal API key or scoped OAuth token.\n\nOAuth scope: `api:read`.",
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/home/components/mothership-view/components/add-resource-dropdown/organization-resource-inventory.tsx
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/home/components/user-input/components/plus-menu-dropdown/plus-menu-dropdown.tsx
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -88,6 +88,7 @@ const MENTION_ONLY_RESOURCE_TYPES = new Set<MothershipResourceType>(['integratio
Copy file name to clipboardExpand all lines: apps/sim/lib/api/contracts/v2/openapi/resources.ts
+2-4Lines changed: 2 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1133,8 +1133,7 @@ const declaredRoutes = [
1133
1133
applicationOperation: issueOperations.create,
1134
1134
operationId: 'createIssue',
1135
1135
summary: 'Create Issue',
1136
-
description:
1137
-
'File an issue in a workspace. The body is the issue document as markdown; it lands in the inbox as new until someone starts work on it with Sim.',
1136
+
description: `File an issue in a workspace. The body is the issue document as markdown; it lands in the inbox as new until someone starts work on it with Sim. ${WORKSPACE_API_KEY_DENIED}`,
1138
1137
errors: RESOURCE_ERRORS,
1139
1138
success: {description: 'The issue was filed.'},
1140
1139
}),
@@ -1169,8 +1168,7 @@ const declaredRoutes = [
1169
1168
applicationOperation: issueOperations.read,
1170
1169
operationId: 'getIssue',
1171
1170
summary: 'Get Issue',
1172
-
description:
1173
-
'Get one issue by its key, scoped to its workspace. Read the document with Get File Text on its bodyFileId.',
1171
+
description: `Get one issue by its key, scoped to its workspace. Read the document with Read File Text on its bodyFileId. ${WORKSPACE_API_KEY_DENIED}`,
'File an issue in a workspace. The body is the issue document as markdown; it lands in the inbox as new until someone starts work on it with Sim.\n\nOAuth scope: `api:write`.',
643
+
'File an issue in a workspace. The body is the issue document as markdown; it lands in the inbox as new until someone starts work on it with Sim. Workspace API keys return `403`; use a personal API key or scoped OAuth token.\n\nOAuth scope: `api:write`.',
'Get one issue by its key, scoped to its workspace. Read the document with Get File Text on its bodyFileId.\n\nOAuth scope: `api:read`.',
1266
+
'Get one issue by its key, scoped to its workspace. Read the document with Read File Text on its bodyFileId. Workspace API keys return `403`; use a personal API key or scoped OAuth token.\n\nOAuth scope: `api:read`.',
0 commit comments