Skip to content

Commit f3bed6b

Browse files
Automated build docs: 2025-07-14 21:22:00
1 parent bfff65d commit f3bed6b

2 files changed

Lines changed: 65 additions & 60 deletions

File tree

defs/asana_oas.yaml

Lines changed: 33 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -8419,6 +8419,7 @@ components:
84198419
attachments:write: Create and modify access to attachments
84208420
attachments:delete: Delete access to attachments
84218421
custom_fields:read: View access to custom fields
8422+
custom_fields:write: Create and modify access to custom fields
84228423
goals:read: View access to goals
84238424
tasks:read: View access to tasks
84248425
tasks:write: Create and modify access to tasks
@@ -10960,6 +10961,8 @@ paths:
1096010961
post:
1096110962
summary: Create a custom field
1096210963
description: |-
10964+
<b>Required scope: </b><code>custom_fields:write</code>
10965+
1096310966
Creates a new custom field in a workspace. Every custom field is required
1096410967
to be created in a specific workspace, and this workspace cannot be
1096510968
changed once set.
@@ -11100,6 +11103,9 @@ paths:
1110011103
$ref: '#/components/responses/NotFound'
1110111104
500:
1110211105
$ref: '#/components/responses/InternalServerError'
11106+
security:
11107+
- oauth2:
11108+
- custom_fields:write
1110311109
x-readme:
1110411110
code-samples:
1110511111
- language: java
@@ -11483,24 +11489,14 @@ paths:
1148311489
param: "value", param: "value", options: {pretty: true})
1148411490
put:
1148511491
summary: Update a custom field
11486-
description: >-
11487-
A specific, existing custom field can be updated by making a PUT request
11488-
on the URL for that custom field. Only the fields provided in the `data`
11489-
block will be updated; any unspecified fields will remain unchanged
11490-
11491-
When using this method, it is best to specify only those fields you wish
11492-
to change, or else you may overwrite changes made by another user since
11493-
you last retrieved the custom field.
11492+
description: |-
11493+
<b>Required scope: </b><code>custom_fields:write</code>
1149411494

11495+
A specific, existing custom field can be updated by making a PUT request on the URL for that custom field. Only the fields provided in the `data` block will be updated; any unspecified fields will remain unchanged
11496+
When using this method, it is best to specify only those fields you wish to change, or else you may overwrite changes made by another user since you last retrieved the custom field.
1149511497
A custom field’s `type` cannot be updated.
11496-
11497-
An enum custom field’s `enum_options` cannot be updated with this
11498-
endpoint.
11499-
Instead see “Work With Enum Options” for information on how to update
11500-
`enum_options`.
11501-
11498+
An enum custom field’s `enum_options` cannot be updated with this endpoint. Instead see “Work With Enum Options” for information on how to update `enum_options`.
1150211499
Locked custom fields can only be updated by the user who locked the field.
11503-
1150411500
Returns the complete updated custom field record.
1150511501
tags:
1150611502
- Custom fields
@@ -11631,6 +11627,9 @@ paths:
1163111627
$ref: '#/components/responses/NotFound'
1163211628
500:
1163311629
$ref: '#/components/responses/InternalServerError'
11630+
security:
11631+
- oauth2:
11632+
- custom_fields:write
1163411633
x-readme:
1163511634
code-samples:
1163611635
- language: java
@@ -12161,15 +12160,11 @@ paths:
1216112160
- $ref: '#/components/parameters/pretty'
1216212161
post:
1216312162
summary: Create an enum option
12164-
description: >-
12165-
Creates an enum option and adds it to this custom field’s list of enum
12166-
options. A custom field can have at most 500 enum options (including
12167-
disabled options). By default new enum options are inserted at the end of
12168-
a custom field’s list.
12169-
12170-
Locked custom fields can only have enum options added by the user who locked
12171-
the field.
12163+
description: |-
12164+
<b>Required scope: </b><code>custom_fields:write</code>
1217212165

12166+
Creates an enum option and adds it to this custom field’s list of enum options. A custom field can have at most 500 enum options (including disabled options). By default new enum options are inserted at the end of a custom field’s list.
12167+
Locked custom fields can only have enum options added by the user who locked the field.
1217312168
Returns the full record of the newly created enum option.
1217412169
tags:
1217512170
- Custom fields
@@ -12224,6 +12219,9 @@ paths:
1222412219
$ref: '#/components/responses/NotFound'
1222512220
500:
1222612221
$ref: '#/components/responses/InternalServerError'
12222+
security:
12223+
- oauth2:
12224+
- custom_fields:write
1222712225
x-readme:
1222812226
code-samples:
1222912227
- language: java
@@ -12349,10 +12347,10 @@ paths:
1234912347
- $ref: '#/components/parameters/pretty'
1235012348
post:
1235112349
summary: Reorder a custom field's enum
12352-
description: >-
12353-
Moves a particular enum option to be either before or after another
12354-
specified enum option in the custom field.
12350+
description: |-
12351+
<b>Required scope: </b><code>custom_fields:write</code>
1235512352

12353+
Moves a particular enum option to be either before or after another specified enum option in the custom field.
1235612354
Locked custom fields can only be reordered by the user who locked the field.
1235712355
tags:
1235812356
- Custom fields
@@ -12407,6 +12405,9 @@ paths:
1240712405
$ref: '#/components/responses/NotFound'
1240812406
500:
1240912407
$ref: '#/components/responses/InternalServerError'
12408+
security:
12409+
- oauth2:
12410+
- custom_fields:write
1241012411
x-readme:
1241112412
code-samples:
1241212413
- language: java
@@ -12539,12 +12540,11 @@ paths:
1253912540
- $ref: '#/components/parameters/pretty'
1254012541
put:
1254112542
summary: Update an enum option
12542-
description: >-
12543-
Updates an existing enum option. Enum custom fields require at least one
12544-
enabled enum option.
12543+
description: |-
12544+
<b>Required scope: </b><code>custom_fields:write</code>
1254512545

12546+
Updates an existing enum option. Enum custom fields require at least one enabled enum option.
1254612547
Locked custom fields can only be updated by the user who locked the field.
12547-
1254812548
Returns the full record of the updated enum option.
1254912549
tags:
1255012550
- Custom fields
@@ -12599,6 +12599,9 @@ paths:
1259912599
$ref: '#/components/responses/NotFound'
1260012600
500:
1260112601
$ref: '#/components/responses/InternalServerError'
12602+
security:
12603+
- oauth2:
12604+
- custom_fields:write
1260212605
x-readme:
1260312606
code-samples:
1260412607
- language: java

defs/asana_sdk_oas.yaml

Lines changed: 32 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -37247,6 +37247,8 @@ paths:
3724737247
post:
3724837248
summary: Create a custom field
3724937249
description: |-
37250+
<b>Required scope: </b><code>custom_fields:write</code>
37251+
3725037252
Creates a new custom field in a workspace. Every custom field is required
3725137253
to be created in a specific workspace, and this workspace cannot be
3725237254
changed once set.
@@ -37380,6 +37382,9 @@ paths:
3738037382
$ref: '#/components/responses/NotFound'
3738137383
500:
3738237384
$ref: '#/components/responses/InternalServerError'
37385+
security:
37386+
- oauth2:
37387+
- custom_fields:write
3738337388
/custom_fields/{custom_field_gid}:
3738437389
parameters:
3738537390
- $ref: '#/components/parameters/custom_field_path_gid'
@@ -37514,24 +37519,14 @@ paths:
3751437519
- custom_fields:read
3751537520
put:
3751637521
summary: Update a custom field
37517-
description: >-
37518-
A specific, existing custom field can be updated by making a PUT request
37519-
on the URL for that custom field. Only the fields provided in the `data`
37520-
block will be updated; any unspecified fields will remain unchanged
37521-
37522-
When using this method, it is best to specify only those fields you wish
37523-
to change, or else you may overwrite changes made by another user since
37524-
you last retrieved the custom field.
37522+
description: |-
37523+
<b>Required scope: </b><code>custom_fields:write</code>
3752537524

37525+
A specific, existing custom field can be updated by making a PUT request on the URL for that custom field. Only the fields provided in the `data` block will be updated; any unspecified fields will remain unchanged
37526+
When using this method, it is best to specify only those fields you wish to change, or else you may overwrite changes made by another user since you last retrieved the custom field.
3752637527
A custom field’s `type` cannot be updated.
37527-
37528-
An enum custom field’s `enum_options` cannot be updated with this
37529-
endpoint.
37530-
Instead see “Work With Enum Options” for information on how to update
37531-
`enum_options`.
37532-
37528+
An enum custom field’s `enum_options` cannot be updated with this endpoint. Instead see “Work With Enum Options” for information on how to update `enum_options`.
3753337529
Locked custom fields can only be updated by the user who locked the field.
37534-
3753537530
Returns the complete updated custom field record.
3753637531
tags:
3753737532
- Custom fields
@@ -37655,6 +37650,9 @@ paths:
3765537650
$ref: '#/components/responses/NotFound'
3765637651
500:
3765737652
$ref: '#/components/responses/InternalServerError'
37653+
security:
37654+
- oauth2:
37655+
- custom_fields:write
3765837656
delete:
3765937657
summary: Delete a custom field
3766037658
description: >-
@@ -37818,15 +37816,11 @@ paths:
3781837816
- $ref: '#/components/parameters/custom_field_path_gid'
3781937817
post:
3782037818
summary: Create an enum option
37821-
description: >-
37822-
Creates an enum option and adds it to this custom field’s list of enum
37823-
options. A custom field can have at most 500 enum options (including
37824-
disabled options). By default new enum options are inserted at the end of
37825-
a custom field’s list.
37826-
37827-
Locked custom fields can only have enum options added by the user who locked
37828-
the field.
37819+
description: |-
37820+
<b>Required scope: </b><code>custom_fields:write</code>
3782937821

37822+
Creates an enum option and adds it to this custom field’s list of enum options. A custom field can have at most 500 enum options (including disabled options). By default new enum options are inserted at the end of a custom field’s list.
37823+
Locked custom fields can only have enum options added by the user who locked the field.
3783037824
Returns the full record of the newly created enum option.
3783137825
tags:
3783237826
- Custom fields
@@ -37874,15 +37868,18 @@ paths:
3787437868
$ref: '#/components/responses/NotFound'
3787537869
500:
3787637870
$ref: '#/components/responses/InternalServerError'
37871+
security:
37872+
- oauth2:
37873+
- custom_fields:write
3787737874
/custom_fields/{custom_field_gid}/enum_options/insert:
3787837875
parameters:
3787937876
- $ref: '#/components/parameters/custom_field_path_gid'
3788037877
post:
3788137878
summary: Reorder a custom field's enum
37882-
description: >-
37883-
Moves a particular enum option to be either before or after another
37884-
specified enum option in the custom field.
37879+
description: |-
37880+
<b>Required scope: </b><code>custom_fields:write</code>
3788537881

37882+
Moves a particular enum option to be either before or after another specified enum option in the custom field.
3788637883
Locked custom fields can only be reordered by the user who locked the field.
3788737884
tags:
3788837885
- Custom fields
@@ -37930,6 +37927,9 @@ paths:
3793037927
$ref: '#/components/responses/NotFound'
3793137928
500:
3793237929
$ref: '#/components/responses/InternalServerError'
37930+
security:
37931+
- oauth2:
37932+
- custom_fields:write
3793337933
/enum_options/{enum_option_gid}:
3793437934
parameters:
3793537935
- name: enum_option_gid
@@ -37942,12 +37942,11 @@ paths:
3794237942
example: '124578'
3794337943
put:
3794437944
summary: Update an enum option
37945-
description: >-
37946-
Updates an existing enum option. Enum custom fields require at least one
37947-
enabled enum option.
37945+
description: |-
37946+
<b>Required scope: </b><code>custom_fields:write</code>
3794837947

37948+
Updates an existing enum option. Enum custom fields require at least one enabled enum option.
3794937949
Locked custom fields can only be updated by the user who locked the field.
37950-
3795137950
Returns the full record of the updated enum option.
3795237951
tags:
3795337952
- Custom fields
@@ -37995,6 +37994,9 @@ paths:
3799537994
$ref: '#/components/responses/NotFound'
3799637995
500:
3799737996
$ref: '#/components/responses/InternalServerError'
37997+
security:
37998+
- oauth2:
37999+
- custom_fields:write
3799838000
/custom_types:
3799938001
parameters:
3800038002
- $ref: '#/components/parameters/project_query_param'

0 commit comments

Comments
 (0)