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
This object describes a user or team's membership to a custom field including
4550
-
their level of access (Admin, Editor, or User).
4549
+
This object describes a user's membership to a custom field including their
4550
+
level of access (Admin, Editor, or User).
4551
4551
type: object
4552
4552
properties:
4553
4553
gid:
@@ -4569,11 +4569,11 @@ components:
4569
4569
example: custom_field_membership
4570
4570
parent:
4571
4571
description: >-
4572
-
The custom field the user or team is a member of.
4572
+
The custom field the user is a member of.
4573
4573
$ref: '#/components/schemas/CustomFieldCompact'
4574
4574
member:
4575
-
description: Member can be a user or a team.
4576
-
$ref: '#/components/schemas/MemberCompact'
4575
+
description: Member is a user
4576
+
$ref: '#/components/schemas/UserCompact'
4577
4577
access_level:
4578
4578
description: >-
4579
4579
Whether the member has admin, editor, or user
@@ -16722,7 +16722,7 @@ paths:
16722
16722
post:
16723
16723
summary: Create a membership
16724
16724
description: |-
16725
-
Creates a new membership in a `goal`, `project`, `portfolio`, or `custom_field`, where members can be Teams or Users.
16725
+
Creates a new membership in a `goal`, `project`, `portfolio`, or `custom_field`. Teams or Users can be members of `goals` or `projects`. Portfolios and custom fields only support `users` as members.
16726
16726
16727
16727
Returns the full record of the newly created membership.
Copy file name to clipboardExpand all lines: defs/asana_sdk_oas.yaml
+54-34Lines changed: 54 additions & 34 deletions
Original file line number
Diff line number
Diff line change
@@ -10748,7 +10748,7 @@ components:
10748
10748
A generic Asana Resource, containing a globally unique identifier.A generic
10749
10749
Asana Resource, containing a globally unique identifier.
10750
10750
10751
-
This object describes a user or team's membership to a custom field including
10751
+
This object describes a user's membership to a custom field including
10752
10752
their level of access (Admin, Editor, or User).
10753
10753
type: object
10754
10754
properties:
@@ -11165,7 +11165,8 @@ components:
11165
11165
A generic Asana Resource, containing a globally unique identifier.A
11166
11166
generic Asana Resource, containing a globally unique identifier.
11167
11167
11168
-
A *member* object represents either a team or user.
11168
+
A *user* object represents an account in Asana that can be given access
11169
+
to various workspaces, projects, and tasks.
11169
11170
type: object
11170
11171
properties:
11171
11172
gid:
@@ -11176,14 +11177,17 @@ components:
11176
11177
example: '12345'
11177
11178
x-insert-after: false
11178
11179
resource_type:
11180
+
description: The base type of this resource.
11179
11181
type: string
11180
-
description: The type of the member (team or user)
11181
-
example: user
11182
+
readOnly: true
11183
+
example: task
11184
+
x-insert-after: gid
11182
11185
name:
11183
11186
type: string
11184
-
description: The name of the member
11187
+
description: >-
11188
+
*Read-only except when same user as requester*. The user’s name.
11185
11189
example: Greg Sanchez
11186
-
x-docs-overrides: *id016
11190
+
x-docs-overrides: *id001
11187
11191
access_level:
11188
11192
description: >-
11189
11193
Whether the member has admin, editor, or user
@@ -15587,8 +15591,8 @@ components:
15587
15591
A generic Asana Resource, containing a globally unique identifier.A generic
15588
15592
Asana Resource, containing a globally unique identifier.
15589
15593
15590
-
This object describes a user or team's membership to a custom field including
15591
-
their level of access (Admin, Editor, or User).
15594
+
This object describes a user's membership to a custom field including their
15595
+
level of access (Admin, Editor, or User).
15592
15596
type: object
15593
15597
properties:
15594
15598
gid:
@@ -15993,7 +15997,8 @@ components:
15993
15997
A generic Asana Resource, containing a globally unique identifier.A generic
15994
15998
Asana Resource, containing a globally unique identifier.
15995
15999
15996
-
A *member* object represents either a team or user.
16000
+
A *user* object represents an account in Asana that can be given access
16001
+
to various workspaces, projects, and tasks.
15997
16002
type: object
15998
16003
properties:
15999
16004
gid:
@@ -16004,14 +16009,17 @@ components:
16004
16009
example: '12345'
16005
16010
x-insert-after: false
16006
16011
resource_type:
16012
+
description: The base type of this resource.
16007
16013
type: string
16008
-
description: The type of the member (team or user)
16009
-
example: user
16014
+
readOnly: true
16015
+
example: task
16016
+
x-insert-after: gid
16010
16017
name:
16011
16018
type: string
16012
-
description: The name of the member
16019
+
description: >-
16020
+
*Read-only except when same user as requester*. The user’s name.
16013
16021
example: Greg Sanchez
16014
-
x-docs-overrides: *id016
16022
+
x-docs-overrides: *id001
16015
16023
access_level:
16016
16024
description: >-
16017
16025
Whether the member has admin, editor, or user
@@ -16029,8 +16037,8 @@ components:
16029
16037
A generic Asana Resource, containing a globally unique identifier.A generic
16030
16038
Asana Resource, containing a globally unique identifier.
16031
16039
16032
-
This object describes a user or team's membership to a custom field including
16033
-
their level of access (Admin, Editor, or User).
16040
+
This object describes a user's membership to a custom field including their
16041
+
level of access (Admin, Editor, or User).
16034
16042
type: object
16035
16043
properties:
16036
16044
gid:
@@ -16435,7 +16443,8 @@ components:
16435
16443
A generic Asana Resource, containing a globally unique identifier.A generic
16436
16444
Asana Resource, containing a globally unique identifier.
16437
16445
16438
-
A *member* object represents either a team or user.
16446
+
A *user* object represents an account in Asana that can be given access
16447
+
to various workspaces, projects, and tasks.
16439
16448
type: object
16440
16449
properties:
16441
16450
gid:
@@ -16446,14 +16455,17 @@ components:
16446
16455
example: '12345'
16447
16456
x-insert-after: false
16448
16457
resource_type:
16458
+
description: The base type of this resource.
16449
16459
type: string
16450
-
description: The type of the member (team or user)
16451
-
example: user
16460
+
readOnly: true
16461
+
example: task
16462
+
x-insert-after: gid
16452
16463
name:
16453
16464
type: string
16454
-
description: The name of the member
16465
+
description: >-
16466
+
*Read-only except when same user as requester*. The user’s name.
16455
16467
example: Greg Sanchez
16456
-
x-docs-overrides: *id016
16468
+
x-docs-overrides: *id001
16457
16469
access_level:
16458
16470
description: >-
16459
16471
Whether the member has admin, editor, or user
@@ -16471,8 +16483,8 @@ components:
16471
16483
A generic Asana Resource, containing a globally unique identifier.A generic
16472
16484
Asana Resource, containing a globally unique identifier.
16473
16485
16474
-
This object describes a user or team's membership to a custom field including
16475
-
their level of access (Admin, Editor, or User).
16486
+
This object describes a user's membership to a custom field including their
16487
+
level of access (Admin, Editor, or User).
16476
16488
type: object
16477
16489
properties:
16478
16490
gid:
@@ -16877,7 +16889,8 @@ components:
16877
16889
A generic Asana Resource, containing a globally unique identifier.A generic
16878
16890
Asana Resource, containing a globally unique identifier.
16879
16891
16880
-
A *member* object represents either a team or user.
16892
+
A *user* object represents an account in Asana that can be given access
16893
+
to various workspaces, projects, and tasks.
16881
16894
type: object
16882
16895
properties:
16883
16896
gid:
@@ -16888,14 +16901,17 @@ components:
16888
16901
example: '12345'
16889
16902
x-insert-after: false
16890
16903
resource_type:
16904
+
description: The base type of this resource.
16891
16905
type: string
16892
-
description: The type of the member (team or user)
16893
-
example: user
16906
+
readOnly: true
16907
+
example: task
16908
+
x-insert-after: gid
16894
16909
name:
16895
16910
type: string
16896
-
description: The name of the member
16911
+
description: >-
16912
+
*Read-only except when same user as requester*. The user’s name.
16897
16913
example: Greg Sanchez
16898
-
x-docs-overrides: *id016
16914
+
x-docs-overrides: *id001
16899
16915
access_level:
16900
16916
description: >-
16901
16917
Whether the member has admin, editor, or user
@@ -34208,7 +34224,7 @@ components:
34208
34224
A generic Asana Resource, containing a globally unique identifier.A generic
34209
34225
Asana Resource, containing a globally unique identifier.
34210
34226
34211
-
This object describes a user or team's membership to a custom field including
34227
+
This object describes a user's membership to a custom field including
34212
34228
their level of access (Admin, Editor, or User).
34213
34229
type: object
34214
34230
properties:
@@ -34625,7 +34641,8 @@ components:
34625
34641
A generic Asana Resource, containing a globally unique identifier.A
34626
34642
generic Asana Resource, containing a globally unique identifier.
34627
34643
34628
-
A *member* object represents either a team or user.
34644
+
A *user* object represents an account in Asana that can be given access
34645
+
to various workspaces, projects, and tasks.
34629
34646
type: object
34630
34647
properties:
34631
34648
gid:
@@ -34636,14 +34653,17 @@ components:
34636
34653
example: '12345'
34637
34654
x-insert-after: false
34638
34655
resource_type:
34656
+
description: The base type of this resource.
34639
34657
type: string
34640
-
description: The type of the member (team or user)
34641
-
example: user
34658
+
readOnly: true
34659
+
example: task
34660
+
x-insert-after: gid
34642
34661
name:
34643
34662
type: string
34644
-
description: The name of the member
34663
+
description: >-
34664
+
*Read-only except when same user as requester*. The user’s name.
34645
34665
example: Greg Sanchez
34646
-
x-docs-overrides: *id016
34666
+
x-docs-overrides: *id001
34647
34667
access_level:
34648
34668
description: >-
34649
34669
Whether the member has admin, editor, or user
@@ -39418,7 +39438,7 @@ paths:
39418
39438
post:
39419
39439
summary: Create a membership
39420
39440
description: |-
39421
-
Creates a new membership in a `goal`, `project`, `portfolio`, or `custom_field`, where members can be Teams or Users.
39441
+
Creates a new membership in a `goal`, `project`, `portfolio`, or `custom_field`. Teams or Users can be members of `goals` or `projects`. Portfolios and custom fields only support `users` as members.
39422
39442
39423
39443
Returns the full record of the newly created membership.
0 commit comments