Skip to content

Commit cb114a0

Browse files
Automated build docs: 2026-02-11 10:16:54
1 parent f6e17f8 commit cb114a0

3 files changed

Lines changed: 60 additions & 4 deletions

File tree

defs/asana_oas.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9169,6 +9169,20 @@ components:
91699169
description: >-
91709170
*Optional*. The gid of the project which the time is attributable to.
91719171
example: '987654'
9172+
billable_status:
9173+
description: >-
9174+
*Optional*. The current billable status of the entry.
9175+
type: string
9176+
enum:
9177+
- billable
9178+
- nonBillable
9179+
- notApplicable
9180+
example: billable
9181+
description:
9182+
description: >-
9183+
*Optional*. The description of the entry.
9184+
type: string
9185+
example: My description of work done on this entry
91729186
CreateTimeTrackingEntryRequest:
91739187
type: object
91749188
properties:
@@ -9189,6 +9203,20 @@ components:
91899203
description: >-
91909204
*Optional*. The gid of the project which the time is attributable to.
91919205
example: '987654'
9206+
billable_status:
9207+
description: >-
9208+
*Optional*. The current billable status of the entry.
9209+
type: string
9210+
enum:
9211+
- billable
9212+
- nonBillable
9213+
- notApplicable
9214+
example: billable
9215+
description:
9216+
description: >-
9217+
*Optional*. The description of the entry.
9218+
type: string
9219+
example: My description of work done on this entry
91929220
TimeTrackingEntryCompact:
91939221
description: >-
91949222
A generic Asana Resource, containing a globally unique identifier.

defs/asana_postman_collection.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101930,15 +101930,15 @@
101930101930
},
101931101931
"body": {
101932101932
"mode": "raw",
101933-
"raw": "{\n \"data\": {\n \"duration_minutes\": 12,\n \"entered_on\": \"2023-03-19\",\n \"attributable_to\": \"987654\"\n }\n}",
101933+
"raw": "{\n \"data\": {\n \"duration_minutes\": 12,\n \"entered_on\": \"2023-03-19\",\n \"attributable_to\": \"987654\",\n \"billable_status\": \"billable\",\n \"description\": \"My description of work done on this entry\"\n }\n}",
101934101934
"options": {
101935101935
"raw": {
101936101936
"language": "json"
101937101937
}
101938101938
}
101939101939
},
101940101940
"description": {
101941-
"content": "Creates a time tracking entry on a given task.\n\nReturns the record of the newly created time tracking entry.\n\n## Request Body:\n\n| Field | Type | Enum Values | Description |\n|-------|------|-------------|-------------|\n| `data` | object | | |\n| `data.duration_minutes` | integer | | Time in minutes tracked by the entry. Must be greater than 0 |\n| `data.entered_on` | string(date) | | *Optional*. The day that this entry is logged on. Defaults to today if not specified |\n| `data.attributable_to` | string | | *Optional*. The gid of the project which the time is attributable to. |\n\n## Response Body:\n\n| Field | Type | Enum Values | Description |\n|-------|------|-------------|-------------|\n| `data` | object | | A generic Asana Resource, containing a globally unique identifier. |\n| `data.gid` | string | | Globally unique identifier of the resource, as a string. |\n| `data.resource_type` | string | | The base type of this resource. |\n| `data.duration_minutes` | integer | | Time in minutes tracked by the entry. |\n| `data.entered_on` | string(date) | | The day that this entry is logged on. |\n| `data.attributable_to` | object | | The attributable to project specifies which project's budget a time entry should be counted toward, if the task belongs to more than one project. If it only belongs to one project, it should be that project. |\n| `data.attributable_to.gid` | string | | Globally unique identifier of the resource, as a string. |\n| `data.attributable_to.resource_type` | string | | The base type of this resource. |\n| `data.attributable_to.name` | string | | Name of the project. This is generally a short sentence fragment that fits on a line in the UI for maximum readability. However, it can be longer. |\n| `data.created_by` | object | | A *user* object represents an account in Asana that can be given access to various workspaces, projects, and tasks. |\n| `data.created_by.gid` | string | | Globally unique identifier of the resource, as a string. |\n| `data.created_by.resource_type` | string | | The base type of this resource. |\n| `data.created_by.name` | string | | *Read-only except when same user as requester*. The user's name. |\n| `data.task` | object | | <p><strong style={{ color: \"#4573D2\" }}>Full object requires scope: </strong><code>tasks:read</code></p> The *task* is the basic object around which many operations in Asana are centered. |\n| `data.task.gid` | string | | Globally unique identifier of the resource, as a string. |\n| `data.task.resource_type` | string | | The base type of this resource. |\n| `data.task.name` | string | | The name of the task. |\n| `data.task.resource_subtype` | string | `default_task`, `milestone`, `approval`, `custom` | The subtype of this resource. Different subtypes retain many of the same fields and behavior, but may render differently in Asana or represent resources with different semantic meaning. The resource_subtype `milestone` represent a single moment in time. This means tasks with this subtype cannot have a start_date. |\n| `data.task.created_by` | object | | [Opt In](https://developers.asana.com/docs/inputoutput-options). A *user* object represents an account in Asana that can be given access to various workspaces, projects, and tasks. |\n| `data.task.created_by.gid` | string | | Globally unique identifier of the resource. |\n| `data.task.created_by.resource_type` | string | | The type of resource. |\n| `data.created_at` | string(date-time) | | The time at which this resource was created. |\n| `data.approval_status` | string | `DRAFT`, `SUBMITTED`, `APPROVED`, `REJECTED` | *Optional*. The current approval status of the entry. |\n| `data.billable_status` | string | `billable`, `nonBillable`, `notApplicable` | *Optional*. The current billable status of the entry. |\n| `data.description` | string | | *Optional*. The description of the entry. |",
101941+
"content": "Creates a time tracking entry on a given task.\n\nReturns the record of the newly created time tracking entry.\n\n## Request Body:\n\n| Field | Type | Enum Values | Description |\n|-------|------|-------------|-------------|\n| `data` | object | | |\n| `data.duration_minutes` | integer | | Time in minutes tracked by the entry. Must be greater than 0 |\n| `data.entered_on` | string(date) | | *Optional*. The day that this entry is logged on. Defaults to today if not specified |\n| `data.attributable_to` | string | | *Optional*. The gid of the project which the time is attributable to. |\n| `data.billable_status` | string | `billable`, `nonBillable`, `notApplicable` | *Optional*. The current billable status of the entry. |\n| `data.description` | string | | *Optional*. The description of the entry. |\n\n## Response Body:\n\n| Field | Type | Enum Values | Description |\n|-------|------|-------------|-------------|\n| `data` | object | | A generic Asana Resource, containing a globally unique identifier. |\n| `data.gid` | string | | Globally unique identifier of the resource, as a string. |\n| `data.resource_type` | string | | The base type of this resource. |\n| `data.duration_minutes` | integer | | Time in minutes tracked by the entry. |\n| `data.entered_on` | string(date) | | The day that this entry is logged on. |\n| `data.attributable_to` | object | | The attributable to project specifies which project's budget a time entry should be counted toward, if the task belongs to more than one project. If it only belongs to one project, it should be that project. |\n| `data.attributable_to.gid` | string | | Globally unique identifier of the resource, as a string. |\n| `data.attributable_to.resource_type` | string | | The base type of this resource. |\n| `data.attributable_to.name` | string | | Name of the project. This is generally a short sentence fragment that fits on a line in the UI for maximum readability. However, it can be longer. |\n| `data.created_by` | object | | A *user* object represents an account in Asana that can be given access to various workspaces, projects, and tasks. |\n| `data.created_by.gid` | string | | Globally unique identifier of the resource, as a string. |\n| `data.created_by.resource_type` | string | | The base type of this resource. |\n| `data.created_by.name` | string | | *Read-only except when same user as requester*. The user's name. |\n| `data.task` | object | | <p><strong style={{ color: \"#4573D2\" }}>Full object requires scope: </strong><code>tasks:read</code></p> The *task* is the basic object around which many operations in Asana are centered. |\n| `data.task.gid` | string | | Globally unique identifier of the resource, as a string. |\n| `data.task.resource_type` | string | | The base type of this resource. |\n| `data.task.name` | string | | The name of the task. |\n| `data.task.resource_subtype` | string | `default_task`, `milestone`, `approval`, `custom` | The subtype of this resource. Different subtypes retain many of the same fields and behavior, but may render differently in Asana or represent resources with different semantic meaning. The resource_subtype `milestone` represent a single moment in time. This means tasks with this subtype cannot have a start_date. |\n| `data.task.created_by` | object | | [Opt In](https://developers.asana.com/docs/inputoutput-options). A *user* object represents an account in Asana that can be given access to various workspaces, projects, and tasks. |\n| `data.task.created_by.gid` | string | | Globally unique identifier of the resource. |\n| `data.task.created_by.resource_type` | string | | The type of resource. |\n| `data.created_at` | string(date-time) | | The time at which this resource was created. |\n| `data.approval_status` | string | `DRAFT`, `SUBMITTED`, `APPROVED`, `REJECTED` | *Optional*. The current approval status of the entry. |\n| `data.billable_status` | string | `billable`, `nonBillable`, `notApplicable` | *Optional*. The current billable status of the entry. |\n| `data.description` | string | | *Optional*. The description of the entry. |",
101942101942
"type": "text/markdown"
101943101943
}
101944101944
},
@@ -102896,15 +102896,15 @@
102896102896
},
102897102897
"body": {
102898102898
"mode": "raw",
102899-
"raw": "{\n \"data\": {\n \"duration_minutes\": 12,\n \"entered_on\": \"2023-03-19\",\n \"attributable_to\": \"987654\"\n }\n}",
102899+
"raw": "{\n \"data\": {\n \"duration_minutes\": 12,\n \"entered_on\": \"2023-03-19\",\n \"attributable_to\": \"987654\",\n \"billable_status\": \"billable\",\n \"description\": \"My description of work done on this entry\"\n }\n}",
102900102900
"options": {
102901102901
"raw": {
102902102902
"language": "json"
102903102903
}
102904102904
}
102905102905
},
102906102906
"description": {
102907-
"content": "A specific, existing time tracking entry can be updated by making a `PUT` request on\nthe URL for that time tracking entry. Only the fields provided in the `data` block\nwill be updated; any unspecified fields will remain unchanged.\n\nWhen using this method, it is best to specify only those fields you wish\nto change, or else you may overwrite changes made by another user since\nyou last retrieved the task.\n\nReturns the complete updated time tracking entry record.\n\n## Request Body:\n\n| Field | Type | Enum Values | Description |\n|-------|------|-------------|-------------|\n| `data` | object | | |\n| `data.duration_minutes` | integer | | *Optional*. Time in minutes tracked by the entry |\n| `data.entered_on` | string(date) | | *Optional*. The day that this entry is logged on. Defaults to today if no day specified |\n| `data.attributable_to` | string | | *Optional*. The gid of the project which the time is attributable to. |\n\n## Response Body:\n\n| Field | Type | Enum Values | Description |\n|-------|------|-------------|-------------|\n| `data` | object | | A generic Asana Resource, containing a globally unique identifier. |\n| `data.gid` | string | | Globally unique identifier of the resource, as a string. |\n| `data.resource_type` | string | | The base type of this resource. |\n| `data.duration_minutes` | integer | | Time in minutes tracked by the entry. |\n| `data.entered_on` | string(date) | | The day that this entry is logged on. |\n| `data.attributable_to` | object | | The attributable to project specifies which project's budget a time entry should be counted toward, if the task belongs to more than one project. If it only belongs to one project, it should be that project. |\n| `data.attributable_to.gid` | string | | Globally unique identifier of the resource, as a string. |\n| `data.attributable_to.resource_type` | string | | The base type of this resource. |\n| `data.attributable_to.name` | string | | Name of the project. This is generally a short sentence fragment that fits on a line in the UI for maximum readability. However, it can be longer. |\n| `data.created_by` | object | | A *user* object represents an account in Asana that can be given access to various workspaces, projects, and tasks. |\n| `data.created_by.gid` | string | | Globally unique identifier of the resource, as a string. |\n| `data.created_by.resource_type` | string | | The base type of this resource. |\n| `data.created_by.name` | string | | *Read-only except when same user as requester*. The user's name. |\n| `data.task` | object | | <p><strong style={{ color: \"#4573D2\" }}>Full object requires scope: </strong><code>tasks:read</code></p> The *task* is the basic object around which many operations in Asana are centered. |\n| `data.task.gid` | string | | Globally unique identifier of the resource, as a string. |\n| `data.task.resource_type` | string | | The base type of this resource. |\n| `data.task.name` | string | | The name of the task. |\n| `data.task.resource_subtype` | string | `default_task`, `milestone`, `approval`, `custom` | The subtype of this resource. Different subtypes retain many of the same fields and behavior, but may render differently in Asana or represent resources with different semantic meaning. The resource_subtype `milestone` represent a single moment in time. This means tasks with this subtype cannot have a start_date. |\n| `data.task.created_by` | object | | [Opt In](https://developers.asana.com/docs/inputoutput-options). A *user* object represents an account in Asana that can be given access to various workspaces, projects, and tasks. |\n| `data.task.created_by.gid` | string | | Globally unique identifier of the resource. |\n| `data.task.created_by.resource_type` | string | | The type of resource. |\n| `data.created_at` | string(date-time) | | The time at which this resource was created. |\n| `data.approval_status` | string | `DRAFT`, `SUBMITTED`, `APPROVED`, `REJECTED` | *Optional*. The current approval status of the entry. |\n| `data.billable_status` | string | `billable`, `nonBillable`, `notApplicable` | *Optional*. The current billable status of the entry. |\n| `data.description` | string | | *Optional*. The description of the entry. |",
102907+
"content": "A specific, existing time tracking entry can be updated by making a `PUT` request on\nthe URL for that time tracking entry. Only the fields provided in the `data` block\nwill be updated; any unspecified fields will remain unchanged.\n\nWhen using this method, it is best to specify only those fields you wish\nto change, or else you may overwrite changes made by another user since\nyou last retrieved the task.\n\nReturns the complete updated time tracking entry record.\n\n## Request Body:\n\n| Field | Type | Enum Values | Description |\n|-------|------|-------------|-------------|\n| `data` | object | | |\n| `data.duration_minutes` | integer | | *Optional*. Time in minutes tracked by the entry |\n| `data.entered_on` | string(date) | | *Optional*. The day that this entry is logged on. Defaults to today if no day specified |\n| `data.attributable_to` | string | | *Optional*. The gid of the project which the time is attributable to. |\n| `data.billable_status` | string | `billable`, `nonBillable`, `notApplicable` | *Optional*. The current billable status of the entry. |\n| `data.description` | string | | *Optional*. The description of the entry. |\n\n## Response Body:\n\n| Field | Type | Enum Values | Description |\n|-------|------|-------------|-------------|\n| `data` | object | | A generic Asana Resource, containing a globally unique identifier. |\n| `data.gid` | string | | Globally unique identifier of the resource, as a string. |\n| `data.resource_type` | string | | The base type of this resource. |\n| `data.duration_minutes` | integer | | Time in minutes tracked by the entry. |\n| `data.entered_on` | string(date) | | The day that this entry is logged on. |\n| `data.attributable_to` | object | | The attributable to project specifies which project's budget a time entry should be counted toward, if the task belongs to more than one project. If it only belongs to one project, it should be that project. |\n| `data.attributable_to.gid` | string | | Globally unique identifier of the resource, as a string. |\n| `data.attributable_to.resource_type` | string | | The base type of this resource. |\n| `data.attributable_to.name` | string | | Name of the project. This is generally a short sentence fragment that fits on a line in the UI for maximum readability. However, it can be longer. |\n| `data.created_by` | object | | A *user* object represents an account in Asana that can be given access to various workspaces, projects, and tasks. |\n| `data.created_by.gid` | string | | Globally unique identifier of the resource, as a string. |\n| `data.created_by.resource_type` | string | | The base type of this resource. |\n| `data.created_by.name` | string | | *Read-only except when same user as requester*. The user's name. |\n| `data.task` | object | | <p><strong style={{ color: \"#4573D2\" }}>Full object requires scope: </strong><code>tasks:read</code></p> The *task* is the basic object around which many operations in Asana are centered. |\n| `data.task.gid` | string | | Globally unique identifier of the resource, as a string. |\n| `data.task.resource_type` | string | | The base type of this resource. |\n| `data.task.name` | string | | The name of the task. |\n| `data.task.resource_subtype` | string | `default_task`, `milestone`, `approval`, `custom` | The subtype of this resource. Different subtypes retain many of the same fields and behavior, but may render differently in Asana or represent resources with different semantic meaning. The resource_subtype `milestone` represent a single moment in time. This means tasks with this subtype cannot have a start_date. |\n| `data.task.created_by` | object | | [Opt In](https://developers.asana.com/docs/inputoutput-options). A *user* object represents an account in Asana that can be given access to various workspaces, projects, and tasks. |\n| `data.task.created_by.gid` | string | | Globally unique identifier of the resource. |\n| `data.task.created_by.resource_type` | string | | The type of resource. |\n| `data.created_at` | string(date-time) | | The time at which this resource was created. |\n| `data.approval_status` | string | `DRAFT`, `SUBMITTED`, `APPROVED`, `REJECTED` | *Optional*. The current approval status of the entry. |\n| `data.billable_status` | string | `billable`, `nonBillable`, `notApplicable` | *Optional*. The current billable status of the entry. |\n| `data.description` | string | | *Optional*. The description of the entry. |",
102908102908
"type": "text/markdown"
102909102909
}
102910102910
},

0 commit comments

Comments
 (0)