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
Copy file name to clipboardExpand all lines: defs/asana_oas.yaml
+28-16Lines changed: 28 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -7591,8 +7591,8 @@ components:
7591
7591
external:
7592
7592
description: >-
7593
7593
*OAuth Required*. *Conditional*. This field is returned only
7594
-
if external values are set or included by using [Opt In]
7595
-
(/docs/inputoutput-options).
7594
+
if external values are set or included by using
7595
+
[Opt In](/docs/inputoutput-options).
7596
7596
7597
7597
The external field allows you to store app-specific metadata on
7598
7598
tasks, including a gid that can be used to retrieve tasks and a
@@ -8107,7 +8107,7 @@ components:
8107
8107
task template will be used.
8108
8108
type: string
8109
8109
example: New Task
8110
-
TaskRequest:
8110
+
TaskRequestBase:
8111
8111
allOf:
8112
8112
- $ref: '#/components/schemas/TaskBase'
8113
8113
- type: object
@@ -8156,6 +8156,19 @@ components:
8156
8156
example:
8157
8157
'5678904321': On Hold
8158
8158
'4578152156': Not Started
8159
+
parent:
8160
+
type: string
8161
+
readOnly: false
8162
+
x-env-variable: true
8163
+
description: >-
8164
+
Gid of a task.
8165
+
example: '12345'
8166
+
nullable: true
8167
+
TaskCreateRequest:
8168
+
allOf:
8169
+
- $ref: '#/components/schemas/TaskRequestBase'
8170
+
- type: object
8171
+
properties:
8159
8172
followers:
8160
8173
type: array
8161
8174
description: >-
@@ -8170,14 +8183,6 @@ components:
8170
8183
an email, or the gid of a user.
8171
8184
example:
8172
8185
- '12345'
8173
-
parent:
8174
-
type: string
8175
-
readOnly: false
8176
-
x-env-variable: true
8177
-
description: >-
8178
-
Gid of a task.
8179
-
example: '12345'
8180
-
nullable: true
8181
8186
projects:
8182
8187
type: array
8183
8188
description: >-
@@ -8208,6 +8213,11 @@ components:
8208
8213
description: >-
8209
8214
Gid of a workspace.
8210
8215
example: '12345'
8216
+
TaskUpdateRequest:
8217
+
allOf:
8218
+
- $ref: '#/components/schemas/TaskRequestBase'
8219
+
- type: object
8220
+
properties:
8211
8221
custom_type:
8212
8222
type: string
8213
8223
readOnly: false
@@ -35232,7 +35242,8 @@ paths:
35232
35242
#### Premium access
35233
35243
Like the Asana web product's advance search feature, this search endpoint will only be available to premium Asana users. A user is premium if any of the following is true:
35234
35244
35235
-
- The workspace in which the search is being performed is a premium workspace - The user is a member of a premium team inside the workspace
35245
+
- The workspace in which the search is being performed is a premium workspace
35246
+
- The user is a member of a premium team inside the workspace
35236
35247
35237
35248
Even if a user is only a member of a premium team inside a non-premium workspace, search will allow them to find data anywhere in the workspace, not just inside the premium team. Making a search request using credentials of a non-premium user will result in a `402 Payment Required` error.
35238
35249
#### Pagination
@@ -47334,7 +47345,7 @@ paths:
47334
47345
type: object
47335
47346
properties:
47336
47347
data:
47337
-
$ref: '#/components/schemas/TaskRequest'
47348
+
$ref: '#/components/schemas/TaskCreateRequest'
47338
47349
responses:
47339
47350
201:
47340
47351
description: Successfully created a new task.
@@ -48120,7 +48131,7 @@ paths:
48120
48131
type: object
48121
48132
properties:
48122
48133
data:
48123
-
$ref: '#/components/schemas/TaskRequest'
48134
+
$ref: '#/components/schemas/TaskUpdateRequest'
48124
48135
responses:
48125
48136
200:
48126
48137
description: Successfully updated the specified task.
@@ -50863,7 +50874,7 @@ paths:
50863
50874
type: object
50864
50875
properties:
50865
50876
data:
50866
-
$ref: '#/components/schemas/TaskRequest'
50877
+
$ref: '#/components/schemas/TaskCreateRequest'
50867
50878
responses:
50868
50879
201:
50869
50880
description: Successfully created the specified subtask.
@@ -54840,7 +54851,8 @@ paths:
54840
54851
#### Premium access
54841
54852
Like the Asana web product's advance search feature, this search endpoint will only be available to premium Asana users. A user is premium if any of the following is true:
54842
54853
54843
-
- The workspace in which the search is being performed is a premium workspace - The user is a member of a premium team inside the workspace
54854
+
- The workspace in which the search is being performed is a premium workspace
54855
+
- The user is a member of a premium team inside the workspace
54844
54856
54845
54857
Even if a user is only a member of a premium team inside a non-premium workspace, search will allow them to find data anywhere in the workspace, not just inside the premium team. Making a search request using credentials of a non-premium user will result in a `402 Payment Required` error.
0 commit comments