@@ -746,6 +746,9 @@ tags:
746746
747747 Project templates in organizations are shared with a single team. Currently, the
748748 team of a project template cannot be changed via the API.
749+ - name: Reactions
750+ description: |-
751+ A reaction is an object that represents a user's emoji reaction on a status update, comment, task completion, or attachment.
749752 - name: Rules
750753 description: |-
751754 [Asana rules](https://help.asana.com/s/article/rules?language=en_US) allow you to automate common patterns
@@ -4564,6 +4567,8 @@ components:
45644567
45654568 - notes
45664569
4570+ - permissions
4571+
45674572 - task_assignee
45684573
45694574 - task_attachments
@@ -5908,6 +5913,12 @@ components:
59085913 items:
59095914 $ref: '#/components/schemas/Like'
59105915 readOnly: true
5916+ reaction_summary:
5917+ description: Summary of emoji reactions on this status.
5918+ type: array
5919+ items:
5920+ $ref: '#/components/schemas/ReactionSummaryItemCompact'
5921+ readOnly: true
59115922 modified_at:
59125923 description: >-
59135924 The time at which this project status was last modified.
@@ -6134,6 +6145,12 @@ components:
61346145 type: integer
61356146 readOnly: true
61366147 example: 5
6148+ reaction_summary:
6149+ description: Summary of emoji reactions on this story.
6150+ type: array
6151+ items:
6152+ $ref: '#/components/schemas/ReactionSummaryItemCompact'
6153+ readOnly: true
61376154 previews:
61386155 description: >-
61396156 <p><strong style="color: #4573D2">Full object requires scope: </strong><code>attachments:read</code></p>
@@ -8647,6 +8664,47 @@ components:
86478664 The ID of the access request that the user is rejecting.
86488665 type: string
86498666 example: '12345'
8667+ ReactionCompact:
8668+ type: object
8669+ description: An emoji reaction on an object.
8670+ properties:
8671+ gid:
8672+ description: >-
8673+ The ID of the reaction object.
8674+ type: string
8675+ example: '12345'
8676+ emoji:
8677+ description: >-
8678+ The emoji string used in the reaction.
8679+ type: string
8680+ example: 👍
8681+ user:
8682+ $ref: '#/components/schemas/UserCompact'
8683+ readOnly: true
8684+ ReactionSummaryItemCompact:
8685+ type: object
8686+ description: A summary of an emoji reaction on an object.
8687+ properties:
8688+ emoji_base:
8689+ description: >-
8690+ The emoji base character used in the reaction.
8691+ type: string
8692+ example: 👎
8693+ variant:
8694+ description: >-
8695+ The full emoji string used in the reaction.
8696+ type: string
8697+ example: 👎🏼
8698+ count:
8699+ description: >-
8700+ The number of reactions with the emoji variant on the object.
8701+ type: number
8702+ example: 1
8703+ reacted:
8704+ description: >-
8705+ Whether the current user has reacted with the emoji variant on the object.
8706+ type: boolean
8707+ example: false
86508708 securitySchemes:
86518709 personalAccessToken:
86528710 type: http
@@ -33323,6 +33381,61 @@ paths:
3332333381
3332433382 result = client.projects.project_save_as_template(project_gid: 'project_gid',
3332533383 field: "value", field: "value", options: {pretty: true})
33384+ /reactions:
33385+ parameters:
33386+ - $ref: '#/components/parameters/pretty'
33387+ - $ref: '#/components/parameters/limit'
33388+ - $ref: '#/components/parameters/offset'
33389+ get:
33390+ summary: Get reactions with an emoji base on an object.
33391+ description: >-
33392+ Returns the reactions with a specified emoji base character on the object.
33393+ operationId: getReactionsOnObject
33394+ tags:
33395+ - Reactions
33396+ parameters:
33397+ - name: target
33398+ required: true
33399+ in: query
33400+ description: >-
33401+ Globally unique identifier for object to fetch reactions from. Must be
33402+ a GID
33403+ for a status update or story.
33404+ schema:
33405+ type: string
33406+ example: '159874'
33407+ - name: emoji_base
33408+ required: true
33409+ in: query
33410+ description: |-
33411+ Only return reactions with this emoji base character.
33412+ schema:
33413+ type: string
33414+ example: 👍
33415+ responses:
33416+ 200:
33417+ description: Successfully retrieved the specified object's reactions.
33418+ content:
33419+ application/json:
33420+ schema:
33421+ type: object
33422+ properties:
33423+ data:
33424+ type: array
33425+ items:
33426+ $ref: '#/components/schemas/ReactionCompact'
33427+ next_page:
33428+ $ref: '#/components/schemas/NextPage'
33429+ 400:
33430+ $ref: '#/components/responses/BadRequest'
33431+ 401:
33432+ $ref: '#/components/responses/Unauthorized'
33433+ 403:
33434+ $ref: '#/components/responses/Forbidden'
33435+ 404:
33436+ $ref: '#/components/responses/NotFound'
33437+ 500:
33438+ $ref: '#/components/responses/InternalServerError'
3332633439 /rule_triggers/{rule_trigger_gid}/run:
3332733440 parameters:
3332833441 - $ref: '#/components/parameters/rule_trigger_path_gid'
@@ -34670,6 +34783,11 @@ paths:
3467034783 - num_likes
3467134784 - parent
3467234785 - parent.name
34786+ - reaction_summary
34787+ - reaction_summary.count
34788+ - reaction_summary.emoji_base
34789+ - reaction_summary.reacted
34790+ - reaction_summary.variant
3467334791 - resource_subtype
3467434792 - status_type
3467534793 - text
@@ -34698,6 +34816,11 @@ paths:
3469834816 - num_likes
3469934817 - parent
3470034818 - parent.name
34819+ - reaction_summary
34820+ - reaction_summary.count
34821+ - reaction_summary.emoji_base
34822+ - reaction_summary.reacted
34823+ - reaction_summary.variant
3470134824 - resource_subtype
3470234825 - status_type
3470334826 - text
@@ -35032,6 +35155,11 @@ paths:
3503235155 - parent
3503335156 - parent.name
3503435157 - path
35158+ - reaction_summary
35159+ - reaction_summary.count
35160+ - reaction_summary.emoji_base
35161+ - reaction_summary.reacted
35162+ - reaction_summary.variant
3503535163 - resource_subtype
3503635164 - status_type
3503735165 - text
@@ -35063,6 +35191,11 @@ paths:
3506335191 - parent
3506435192 - parent.name
3506535193 - path
35194+ - reaction_summary
35195+ - reaction_summary.count
35196+ - reaction_summary.emoji_base
35197+ - reaction_summary.reacted
35198+ - reaction_summary.variant
3506635199 - resource_subtype
3506735200 - status_type
3506835201 - text
@@ -35251,6 +35384,11 @@ paths:
3525135384 - num_likes
3525235385 - parent
3525335386 - parent.name
35387+ - reaction_summary
35388+ - reaction_summary.count
35389+ - reaction_summary.emoji_base
35390+ - reaction_summary.reacted
35391+ - reaction_summary.variant
3525435392 - resource_subtype
3525535393 - status_type
3525635394 - text
@@ -35279,6 +35417,11 @@ paths:
3527935417 - num_likes
3528035418 - parent
3528135419 - parent.name
35420+ - reaction_summary
35421+ - reaction_summary.count
35422+ - reaction_summary.emoji_base
35423+ - reaction_summary.reacted
35424+ - reaction_summary.variant
3528235425 - resource_subtype
3528335426 - status_type
3528435427 - text
@@ -35583,6 +35726,11 @@ paths:
3558335726 - previews.title_link
3558435727 - project
3558535728 - project.name
35729+ - reaction_summary
35730+ - reaction_summary.count
35731+ - reaction_summary.emoji_base
35732+ - reaction_summary.reacted
35733+ - reaction_summary.variant
3558635734 - resource_subtype
3558735735 - source
3558835736 - sticker_name
@@ -35722,6 +35870,11 @@ paths:
3572235870 - previews.title_link
3572335871 - project
3572435872 - project.name
35873+ - reaction_summary
35874+ - reaction_summary.count
35875+ - reaction_summary.emoji_base
35876+ - reaction_summary.reacted
35877+ - reaction_summary.variant
3572535878 - resource_subtype
3572635879 - source
3572735880 - sticker_name
@@ -36011,6 +36164,11 @@ paths:
3601136164 - previews.title_link
3601236165 - project
3601336166 - project.name
36167+ - reaction_summary
36168+ - reaction_summary.count
36169+ - reaction_summary.emoji_base
36170+ - reaction_summary.reacted
36171+ - reaction_summary.variant
3601436172 - resource_subtype
3601536173 - source
3601636174 - sticker_name
@@ -36150,6 +36308,11 @@ paths:
3615036308 - previews.title_link
3615136309 - project
3615236310 - project.name
36311+ - reaction_summary
36312+ - reaction_summary.count
36313+ - reaction_summary.emoji_base
36314+ - reaction_summary.reacted
36315+ - reaction_summary.variant
3615336316 - resource_subtype
3615436317 - source
3615536318 - sticker_name
@@ -36597,6 +36760,11 @@ paths:
3659736760 - previews.title_link
3659836761 - project
3659936762 - project.name
36763+ - reaction_summary
36764+ - reaction_summary.count
36765+ - reaction_summary.emoji_base
36766+ - reaction_summary.reacted
36767+ - reaction_summary.variant
3660036768 - resource_subtype
3660136769 - source
3660236770 - sticker_name
@@ -36739,6 +36907,11 @@ paths:
3673936907 - previews.title_link
3674036908 - project
3674136909 - project.name
36910+ - reaction_summary
36911+ - reaction_summary.count
36912+ - reaction_summary.emoji_base
36913+ - reaction_summary.reacted
36914+ - reaction_summary.variant
3674236915 - resource_subtype
3674336916 - source
3674436917 - sticker_name
@@ -37042,6 +37215,11 @@ paths:
3704237215 - previews.title_link
3704337216 - project
3704437217 - project.name
37218+ - reaction_summary
37219+ - reaction_summary.count
37220+ - reaction_summary.emoji_base
37221+ - reaction_summary.reacted
37222+ - reaction_summary.variant
3704537223 - resource_subtype
3704637224 - source
3704737225 - sticker_name
@@ -37181,6 +37359,11 @@ paths:
3718137359 - previews.title_link
3718237360 - project
3718337361 - project.name
37362+ - reaction_summary
37363+ - reaction_summary.count
37364+ - reaction_summary.emoji_base
37365+ - reaction_summary.reacted
37366+ - reaction_summary.variant
3718437367 - resource_subtype
3718537368 - source
3718637369 - sticker_name
0 commit comments