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