Back to AsanaGet Stories From A Task
Returns the compact records for all stories on the task.
Input
type: object
properties:
parameters:
type: object
properties:
limit:
type: integer
description: >-
Results per page.
The number of objects to return per page. The value must be between 1
and 100.
offset:
type: string
description: >-
Offset token.
An offset to the next page returned by the API. A pagination request
will return an offset token, which can be used as an input parameter
to the next request. If an offset is not passed in, the API will
return the first page of results.
'Note: You can only pass in an offset that was returned to you via a
previously paginated request.'
title: Parameters
Output
type: object
properties:
data:
items:
description: A generic Asana Resource, containing a globally unique identifier.
type: object
x-docs-overrides:
properties.resource_type.example: story
properties:
gid:
description: Globally unique identifier of the resource, as a string.
type: string
readOnly: true
example: '12345'
x-insert-after: false
resource_type:
description: The base type of this resource.
type: string
readOnly: true
example: task
x-insert-after: gid
created_at:
description: The time at which this resource was created.
type: string
format: date-time
readOnly: true
example: '2012-02-22T02:06:58.147Z'
created_by:
description: A generic Asana Resource, containing a globally unique identifier.
type: object
x-docs-overrides:
properties.resource_type.example: user
properties:
gid:
description: Globally unique identifier of the resource, as a string.
type: string
readOnly: true
example: '12345'
x-insert-after: false
resource_type:
description: The base type of this resource.
type: string
readOnly: true
example: task
x-insert-after: gid
name:
type: string
description: '*Read-only except when same user as requester*. The user’s name.'
example: Greg Sanchez
resource_subtype:
description: >-
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.
type: string
readOnly: true
example: comment_added
text:
description: >-
*Create-only*. Human-readable text for the story or comment.
This will not include the name of the creator.
*Note: This is not guaranteed to be stable for a given type of
story. For example, text for a reassignment may not always say
“assigned to …” as the text for a story can both be edited and
change based on the language settings of the user making the
request.*
Use the `resource_subtype` property to discover the action that
created the story.
type: string
example: marked today