Skip to content

Commit 967612c

Browse files
Automated build docs: 2025-05-22 18:27:43
1 parent ea6caaa commit 967612c

2 files changed

Lines changed: 60 additions & 40 deletions

File tree

defs/asana_oas.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4546,8 +4546,8 @@ components:
45464546
$ref: '#/components/schemas/CustomFieldMembershipCompact'
45474547
CustomFieldMembershipCompact:
45484548
description: >-
4549-
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).
45514551
type: object
45524552
properties:
45534553
gid:
@@ -4569,11 +4569,11 @@ components:
45694569
example: custom_field_membership
45704570
parent:
45714571
description: >-
4572-
The custom field the user or team is a member of.
4572+
The custom field the user is a member of.
45734573
$ref: '#/components/schemas/CustomFieldCompact'
45744574
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'
45774577
access_level:
45784578
description: >-
45794579
Whether the member has admin, editor, or user
@@ -16722,7 +16722,7 @@ paths:
1672216722
post:
1672316723
summary: Create a membership
1672416724
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.
1672616726

1672716727
Returns the full record of the newly created membership.
1672816728
tags:

defs/asana_sdk_oas.yaml

Lines changed: 54 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -10748,7 +10748,7 @@ components:
1074810748
A generic Asana Resource, containing a globally unique identifier.A generic
1074910749
Asana Resource, containing a globally unique identifier.
1075010750

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
1075210752
their level of access (Admin, Editor, or User).
1075310753
type: object
1075410754
properties:
@@ -11165,7 +11165,8 @@ components:
1116511165
A generic Asana Resource, containing a globally unique identifier.A
1116611166
generic Asana Resource, containing a globally unique identifier.
1116711167

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.
1116911170
type: object
1117011171
properties:
1117111172
gid:
@@ -11176,14 +11177,17 @@ components:
1117611177
example: '12345'
1117711178
x-insert-after: false
1117811179
resource_type:
11180+
description: The base type of this resource.
1117911181
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
1118211185
name:
1118311186
type: string
11184-
description: The name of the member
11187+
description: >-
11188+
*Read-only except when same user as requester*. The user’s name.
1118511189
example: Greg Sanchez
11186-
x-docs-overrides: *id016
11190+
x-docs-overrides: *id001
1118711191
access_level:
1118811192
description: >-
1118911193
Whether the member has admin, editor, or user
@@ -15587,8 +15591,8 @@ components:
1558715591
A generic Asana Resource, containing a globally unique identifier.A generic
1558815592
Asana Resource, containing a globally unique identifier.
1558915593

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).
1559215596
type: object
1559315597
properties:
1559415598
gid:
@@ -15993,7 +15997,8 @@ components:
1599315997
A generic Asana Resource, containing a globally unique identifier.A generic
1599415998
Asana Resource, containing a globally unique identifier.
1599515999

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.
1599716002
type: object
1599816003
properties:
1599916004
gid:
@@ -16004,14 +16009,17 @@ components:
1600416009
example: '12345'
1600516010
x-insert-after: false
1600616011
resource_type:
16012+
description: The base type of this resource.
1600716013
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
1601016017
name:
1601116018
type: string
16012-
description: The name of the member
16019+
description: >-
16020+
*Read-only except when same user as requester*. The user’s name.
1601316021
example: Greg Sanchez
16014-
x-docs-overrides: *id016
16022+
x-docs-overrides: *id001
1601516023
access_level:
1601616024
description: >-
1601716025
Whether the member has admin, editor, or user
@@ -16029,8 +16037,8 @@ components:
1602916037
A generic Asana Resource, containing a globally unique identifier.A generic
1603016038
Asana Resource, containing a globally unique identifier.
1603116039

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).
1603416042
type: object
1603516043
properties:
1603616044
gid:
@@ -16435,7 +16443,8 @@ components:
1643516443
A generic Asana Resource, containing a globally unique identifier.A generic
1643616444
Asana Resource, containing a globally unique identifier.
1643716445

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.
1643916448
type: object
1644016449
properties:
1644116450
gid:
@@ -16446,14 +16455,17 @@ components:
1644616455
example: '12345'
1644716456
x-insert-after: false
1644816457
resource_type:
16458+
description: The base type of this resource.
1644916459
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
1645216463
name:
1645316464
type: string
16454-
description: The name of the member
16465+
description: >-
16466+
*Read-only except when same user as requester*. The user’s name.
1645516467
example: Greg Sanchez
16456-
x-docs-overrides: *id016
16468+
x-docs-overrides: *id001
1645716469
access_level:
1645816470
description: >-
1645916471
Whether the member has admin, editor, or user
@@ -16471,8 +16483,8 @@ components:
1647116483
A generic Asana Resource, containing a globally unique identifier.A generic
1647216484
Asana Resource, containing a globally unique identifier.
1647316485

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).
1647616488
type: object
1647716489
properties:
1647816490
gid:
@@ -16877,7 +16889,8 @@ components:
1687716889
A generic Asana Resource, containing a globally unique identifier.A generic
1687816890
Asana Resource, containing a globally unique identifier.
1687916891

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.
1688116894
type: object
1688216895
properties:
1688316896
gid:
@@ -16888,14 +16901,17 @@ components:
1688816901
example: '12345'
1688916902
x-insert-after: false
1689016903
resource_type:
16904+
description: The base type of this resource.
1689116905
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
1689416909
name:
1689516910
type: string
16896-
description: The name of the member
16911+
description: >-
16912+
*Read-only except when same user as requester*. The user’s name.
1689716913
example: Greg Sanchez
16898-
x-docs-overrides: *id016
16914+
x-docs-overrides: *id001
1689916915
access_level:
1690016916
description: >-
1690116917
Whether the member has admin, editor, or user
@@ -34208,7 +34224,7 @@ components:
3420834224
A generic Asana Resource, containing a globally unique identifier.A generic
3420934225
Asana Resource, containing a globally unique identifier.
3421034226

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
3421234228
their level of access (Admin, Editor, or User).
3421334229
type: object
3421434230
properties:
@@ -34625,7 +34641,8 @@ components:
3462534641
A generic Asana Resource, containing a globally unique identifier.A
3462634642
generic Asana Resource, containing a globally unique identifier.
3462734643

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.
3462934646
type: object
3463034647
properties:
3463134648
gid:
@@ -34636,14 +34653,17 @@ components:
3463634653
example: '12345'
3463734654
x-insert-after: false
3463834655
resource_type:
34656+
description: The base type of this resource.
3463934657
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
3464234661
name:
3464334662
type: string
34644-
description: The name of the member
34663+
description: >-
34664+
*Read-only except when same user as requester*. The user’s name.
3464534665
example: Greg Sanchez
34646-
x-docs-overrides: *id016
34666+
x-docs-overrides: *id001
3464734667
access_level:
3464834668
description: >-
3464934669
Whether the member has admin, editor, or user
@@ -39418,7 +39438,7 @@ paths:
3941839438
post:
3941939439
summary: Create a membership
3942039440
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.
3942239442

3942339443
Returns the full record of the newly created membership.
3942439444
tags:

0 commit comments

Comments
 (0)