Skip to content

Commit ea6caaa

Browse files
Automated build docs: 2025-05-21 21:39:12
1 parent 365aa67 commit ea6caaa

2 files changed

Lines changed: 40 additions & 60 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'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).
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 is a member of.
4572+
The custom field the user or team is a member of.
45734573
$ref: '#/components/schemas/CustomFieldCompact'
45744574
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'
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`. 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.
1672616726

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

defs/asana_sdk_oas.yaml

Lines changed: 34 additions & 54 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's membership to a custom field including
10751+
This object describes a user or team's membership to a custom field including
1075210752
their level of access (Admin, Editor, or User).
1075310753
type: object
1075410754
properties:
@@ -11165,8 +11165,7 @@ components:
1116511165
A generic Asana Resource, containing a globally unique identifier.A
1116611166
generic Asana Resource, containing a globally unique identifier.
1116711167

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.
1117011169
type: object
1117111170
properties:
1117211171
gid:
@@ -11177,17 +11176,14 @@ components:
1117711176
example: '12345'
1117811177
x-insert-after: false
1117911178
resource_type:
11180-
description: The base type of this resource.
1118111179
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
1118511182
name:
1118611183
type: string
11187-
description: >-
11188-
*Read-only except when same user as requester*. The user’s name.
11184+
description: The name of the member
1118911185
example: Greg Sanchez
11190-
x-docs-overrides: *id001
11186+
x-docs-overrides: *id016
1119111187
access_level:
1119211188
description: >-
1119311189
Whether the member has admin, editor, or user
@@ -15591,8 +15587,8 @@ components:
1559115587
A generic Asana Resource, containing a globally unique identifier.A generic
1559215588
Asana Resource, containing a globally unique identifier.
1559315589

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).
1559615592
type: object
1559715593
properties:
1559815594
gid:
@@ -15997,8 +15993,7 @@ components:
1599715993
A generic Asana Resource, containing a globally unique identifier.A generic
1599815994
Asana Resource, containing a globally unique identifier.
1599915995

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.
1600215997
type: object
1600315998
properties:
1600415999
gid:
@@ -16009,17 +16004,14 @@ components:
1600916004
example: '12345'
1601016005
x-insert-after: false
1601116006
resource_type:
16012-
description: The base type of this resource.
1601316007
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
1601716010
name:
1601816011
type: string
16019-
description: >-
16020-
*Read-only except when same user as requester*. The user’s name.
16012+
description: The name of the member
1602116013
example: Greg Sanchez
16022-
x-docs-overrides: *id001
16014+
x-docs-overrides: *id016
1602316015
access_level:
1602416016
description: >-
1602516017
Whether the member has admin, editor, or user
@@ -16037,8 +16029,8 @@ components:
1603716029
A generic Asana Resource, containing a globally unique identifier.A generic
1603816030
Asana Resource, containing a globally unique identifier.
1603916031

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).
1604216034
type: object
1604316035
properties:
1604416036
gid:
@@ -16443,8 +16435,7 @@ components:
1644316435
A generic Asana Resource, containing a globally unique identifier.A generic
1644416436
Asana Resource, containing a globally unique identifier.
1644516437

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.
1644816439
type: object
1644916440
properties:
1645016441
gid:
@@ -16455,17 +16446,14 @@ components:
1645516446
example: '12345'
1645616447
x-insert-after: false
1645716448
resource_type:
16458-
description: The base type of this resource.
1645916449
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
1646316452
name:
1646416453
type: string
16465-
description: >-
16466-
*Read-only except when same user as requester*. The user’s name.
16454+
description: The name of the member
1646716455
example: Greg Sanchez
16468-
x-docs-overrides: *id001
16456+
x-docs-overrides: *id016
1646916457
access_level:
1647016458
description: >-
1647116459
Whether the member has admin, editor, or user
@@ -16483,8 +16471,8 @@ components:
1648316471
A generic Asana Resource, containing a globally unique identifier.A generic
1648416472
Asana Resource, containing a globally unique identifier.
1648516473

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).
1648816476
type: object
1648916477
properties:
1649016478
gid:
@@ -16889,8 +16877,7 @@ components:
1688916877
A generic Asana Resource, containing a globally unique identifier.A generic
1689016878
Asana Resource, containing a globally unique identifier.
1689116879

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.
1689416881
type: object
1689516882
properties:
1689616883
gid:
@@ -16901,17 +16888,14 @@ components:
1690116888
example: '12345'
1690216889
x-insert-after: false
1690316890
resource_type:
16904-
description: The base type of this resource.
1690516891
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
1690916894
name:
1691016895
type: string
16911-
description: >-
16912-
*Read-only except when same user as requester*. The user’s name.
16896+
description: The name of the member
1691316897
example: Greg Sanchez
16914-
x-docs-overrides: *id001
16898+
x-docs-overrides: *id016
1691516899
access_level:
1691616900
description: >-
1691716901
Whether the member has admin, editor, or user
@@ -34224,7 +34208,7 @@ components:
3422434208
A generic Asana Resource, containing a globally unique identifier.A generic
3422534209
Asana Resource, containing a globally unique identifier.
3422634210

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
3422834212
their level of access (Admin, Editor, or User).
3422934213
type: object
3423034214
properties:
@@ -34641,8 +34625,7 @@ components:
3464134625
A generic Asana Resource, containing a globally unique identifier.A
3464234626
generic Asana Resource, containing a globally unique identifier.
3464334627

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.
3464634629
type: object
3464734630
properties:
3464834631
gid:
@@ -34653,17 +34636,14 @@ components:
3465334636
example: '12345'
3465434637
x-insert-after: false
3465534638
resource_type:
34656-
description: The base type of this resource.
3465734639
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
3466134642
name:
3466234643
type: string
34663-
description: >-
34664-
*Read-only except when same user as requester*. The user’s name.
34644+
description: The name of the member
3466534645
example: Greg Sanchez
34666-
x-docs-overrides: *id001
34646+
x-docs-overrides: *id016
3466734647
access_level:
3466834648
description: >-
3466934649
Whether the member has admin, editor, or user
@@ -39438,7 +39418,7 @@ paths:
3943839418
post:
3943939419
summary: Create a membership
3944039420
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.
3944239422

3944339423
Returns the full record of the newly created membership.
3944439424
tags:

0 commit comments

Comments
 (0)