Skip to content

Commit c998ee1

Browse files
Automated build docs: 2025-06-30 21:30:31
1 parent bd29a88 commit c998ee1

2 files changed

Lines changed: 139 additions & 0 deletions

File tree

defs/asana_oas.yaml

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -998,6 +998,15 @@ components:
998998
schema:
999999
type: string
10001000
example: EX-1
1001+
custom_type_gid:
1002+
name: custom_type_gid
1003+
in: path
1004+
description: >-
1005+
Globally unique identifier for the custom type.
1006+
required: true
1007+
schema:
1008+
type: string
1009+
example: '12345'
10011010
goal_path_gid:
10021011
name: goal_gid
10031012
in: path
@@ -12809,6 +12818,65 @@ paths:
1280912818
except ApiException as e:
1281012819
print("Exception when calling CustomTypesApi->get_custom_types: %s\n" % e)
1281112820
name: python-sdk-v5
12821+
/custom_types/{custom_type_gid}:
12822+
parameters:
12823+
- $ref: '#/components/parameters/custom_type_gid'
12824+
- $ref: '#/components/parameters/pretty'
12825+
get:
12826+
summary: Get a custom type
12827+
description: |-
12828+
Returns the complete custom type record for a single custom type.
12829+
tags:
12830+
- Custom types
12831+
operationId: getCustomType
12832+
parameters:
12833+
- name: opt_fields
12834+
in: query
12835+
description: This endpoint returns a resource which excludes some properties
12836+
by default. To include those optional properties, set this query parameter
12837+
to a comma-separated list of the properties you wish to include.
12838+
required: false
12839+
example:
12840+
- name
12841+
- status_options
12842+
- status_options.color
12843+
- status_options.completion_state
12844+
- status_options.enabled
12845+
- status_options.name
12846+
schema:
12847+
type: array
12848+
items:
12849+
type: string
12850+
enum:
12851+
- name
12852+
- status_options
12853+
- status_options.color
12854+
- status_options.completion_state
12855+
- status_options.enabled
12856+
- status_options.name
12857+
style: form
12858+
explode: false
12859+
responses:
12860+
200:
12861+
description: >-
12862+
Successfully retrieved the requested custom type.
12863+
content:
12864+
application/json:
12865+
schema:
12866+
type: object
12867+
properties:
12868+
data:
12869+
$ref: '#/components/schemas/CustomTypeResponse'
12870+
400:
12871+
$ref: '#/components/responses/BadRequest'
12872+
401:
12873+
$ref: '#/components/responses/Unauthorized'
12874+
403:
12875+
$ref: '#/components/responses/Forbidden'
12876+
404:
12877+
$ref: '#/components/responses/NotFound'
12878+
500:
12879+
$ref: '#/components/responses/InternalServerError'
1281212880
/events:
1281312881
parameters:
1281412882
- name: resource

defs/asana_sdk_oas.yaml

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -957,6 +957,15 @@ components:
957957
schema:
958958
type: string
959959
example: EX-1
960+
custom_type_gid:
961+
name: custom_type_gid
962+
in: path
963+
description: >-
964+
Globally unique identifier for the custom type.
965+
required: true
966+
schema:
967+
type: string
968+
example: '12345'
960969
goal_path_gid:
961970
name: goal_gid
962971
in: path
@@ -1538,6 +1547,11 @@ components:
15381547
application/json; charset=UTF-8:
15391548
schema:
15401549
$ref: '#/components/schemas/CustomTypeResponseArray'
1550+
CustomTypeResponseData:
1551+
content:
1552+
application/json; charset=UTF-8:
1553+
schema:
1554+
$ref: '#/components/schemas/CustomTypeResponseData'
15411555
EventResponseArray:
15421556
content:
15431557
application/json; charset=UTF-8:
@@ -35658,6 +35672,13 @@ components:
3565835672
$ref: '#/components/schemas/CustomTypeResponse'
3565935673
next_page:
3566035674
$ref: '#/components/schemas/NextPage'
35675+
CustomTypeResponseData:
35676+
type: object
35677+
required:
35678+
- data
35679+
properties:
35680+
data:
35681+
$ref: '#/components/schemas/CustomTypeResponse'
3566135682
EventResponseArray:
3566235683
type: object
3566335684
required:
@@ -38040,6 +38061,56 @@ paths:
3804038061
$ref: '#/components/responses/NotFound'
3804138062
500:
3804238063
$ref: '#/components/responses/InternalServerError'
38064+
/custom_types/{custom_type_gid}:
38065+
parameters:
38066+
- $ref: '#/components/parameters/custom_type_gid'
38067+
get:
38068+
summary: Get a custom type
38069+
description: |-
38070+
Returns the complete custom type record for a single custom type.
38071+
tags:
38072+
- Custom types
38073+
operationId: getCustomType
38074+
parameters:
38075+
- name: opt_fields
38076+
in: query
38077+
description: This endpoint returns a resource which excludes some properties
38078+
by default. To include those optional properties, set this query parameter
38079+
to a comma-separated list of the properties you wish to include.
38080+
required: false
38081+
example:
38082+
- name
38083+
- status_options
38084+
- status_options.color
38085+
- status_options.completion_state
38086+
- status_options.enabled
38087+
- status_options.name
38088+
schema:
38089+
type: array
38090+
items:
38091+
type: string
38092+
enum:
38093+
- name
38094+
- status_options
38095+
- status_options.color
38096+
- status_options.completion_state
38097+
- status_options.enabled
38098+
- status_options.name
38099+
style: form
38100+
explode: false
38101+
responses:
38102+
200:
38103+
$ref: '#/components/responses/CustomTypeResponseData'
38104+
400:
38105+
$ref: '#/components/responses/BadRequest'
38106+
401:
38107+
$ref: '#/components/responses/Unauthorized'
38108+
403:
38109+
$ref: '#/components/responses/Forbidden'
38110+
404:
38111+
$ref: '#/components/responses/NotFound'
38112+
500:
38113+
$ref: '#/components/responses/InternalServerError'
3804338114
/events:
3804438115
parameters:
3804538116
- name: resource

0 commit comments

Comments
 (0)