@@ -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
@@ -5910,6 +5913,12 @@ components:
59105913 items:
59115914 $ref: '#/components/schemas/Like'
59125915 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
59135922 modified_at:
59145923 description: >-
59155924 The time at which this project status was last modified.
@@ -6136,6 +6145,12 @@ components:
61366145 type: integer
61376146 readOnly: true
61386147 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
61396154 previews:
61406155 description: >-
61416156 <p><strong style="color: #4573D2">Full object requires scope: </strong><code>attachments:read</code></p>
@@ -8649,6 +8664,47 @@ components:
86498664 The ID of the access request that the user is rejecting.
86508665 type: string
86518666 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
86528708 securitySchemes:
86538709 personalAccessToken:
86548710 type: http
@@ -33325,6 +33381,61 @@ paths:
3332533381
3332633382 result = client.projects.project_save_as_template(project_gid: 'project_gid',
3332733383 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'
3332833439 /rule_triggers/{rule_trigger_gid}/run:
3332933440 parameters:
3333033441 - $ref: '#/components/parameters/rule_trigger_path_gid'
@@ -34672,6 +34783,11 @@ paths:
3467234783 - num_likes
3467334784 - parent
3467434785 - parent.name
34786+ - reaction_summary
34787+ - reaction_summary.count
34788+ - reaction_summary.emoji_base
34789+ - reaction_summary.reacted
34790+ - reaction_summary.variant
3467534791 - resource_subtype
3467634792 - status_type
3467734793 - text
@@ -34700,6 +34816,11 @@ paths:
3470034816 - num_likes
3470134817 - parent
3470234818 - parent.name
34819+ - reaction_summary
34820+ - reaction_summary.count
34821+ - reaction_summary.emoji_base
34822+ - reaction_summary.reacted
34823+ - reaction_summary.variant
3470334824 - resource_subtype
3470434825 - status_type
3470534826 - text
@@ -35034,6 +35155,11 @@ paths:
3503435155 - parent
3503535156 - parent.name
3503635157 - path
35158+ - reaction_summary
35159+ - reaction_summary.count
35160+ - reaction_summary.emoji_base
35161+ - reaction_summary.reacted
35162+ - reaction_summary.variant
3503735163 - resource_subtype
3503835164 - status_type
3503935165 - text
@@ -35065,6 +35191,11 @@ paths:
3506535191 - parent
3506635192 - parent.name
3506735193 - path
35194+ - reaction_summary
35195+ - reaction_summary.count
35196+ - reaction_summary.emoji_base
35197+ - reaction_summary.reacted
35198+ - reaction_summary.variant
3506835199 - resource_subtype
3506935200 - status_type
3507035201 - text
@@ -35253,6 +35384,11 @@ paths:
3525335384 - num_likes
3525435385 - parent
3525535386 - parent.name
35387+ - reaction_summary
35388+ - reaction_summary.count
35389+ - reaction_summary.emoji_base
35390+ - reaction_summary.reacted
35391+ - reaction_summary.variant
3525635392 - resource_subtype
3525735393 - status_type
3525835394 - text
@@ -35281,6 +35417,11 @@ paths:
3528135417 - num_likes
3528235418 - parent
3528335419 - parent.name
35420+ - reaction_summary
35421+ - reaction_summary.count
35422+ - reaction_summary.emoji_base
35423+ - reaction_summary.reacted
35424+ - reaction_summary.variant
3528435425 - resource_subtype
3528535426 - status_type
3528635427 - text
@@ -35585,6 +35726,11 @@ paths:
3558535726 - previews.title_link
3558635727 - project
3558735728 - project.name
35729+ - reaction_summary
35730+ - reaction_summary.count
35731+ - reaction_summary.emoji_base
35732+ - reaction_summary.reacted
35733+ - reaction_summary.variant
3558835734 - resource_subtype
3558935735 - source
3559035736 - sticker_name
@@ -35724,6 +35870,11 @@ paths:
3572435870 - previews.title_link
3572535871 - project
3572635872 - project.name
35873+ - reaction_summary
35874+ - reaction_summary.count
35875+ - reaction_summary.emoji_base
35876+ - reaction_summary.reacted
35877+ - reaction_summary.variant
3572735878 - resource_subtype
3572835879 - source
3572935880 - sticker_name
@@ -36013,6 +36164,11 @@ paths:
3601336164 - previews.title_link
3601436165 - project
3601536166 - project.name
36167+ - reaction_summary
36168+ - reaction_summary.count
36169+ - reaction_summary.emoji_base
36170+ - reaction_summary.reacted
36171+ - reaction_summary.variant
3601636172 - resource_subtype
3601736173 - source
3601836174 - sticker_name
@@ -36152,6 +36308,11 @@ paths:
3615236308 - previews.title_link
3615336309 - project
3615436310 - project.name
36311+ - reaction_summary
36312+ - reaction_summary.count
36313+ - reaction_summary.emoji_base
36314+ - reaction_summary.reacted
36315+ - reaction_summary.variant
3615536316 - resource_subtype
3615636317 - source
3615736318 - sticker_name
@@ -36599,6 +36760,11 @@ paths:
3659936760 - previews.title_link
3660036761 - project
3660136762 - project.name
36763+ - reaction_summary
36764+ - reaction_summary.count
36765+ - reaction_summary.emoji_base
36766+ - reaction_summary.reacted
36767+ - reaction_summary.variant
3660236768 - resource_subtype
3660336769 - source
3660436770 - sticker_name
@@ -36741,6 +36907,11 @@ paths:
3674136907 - previews.title_link
3674236908 - project
3674336909 - project.name
36910+ - reaction_summary
36911+ - reaction_summary.count
36912+ - reaction_summary.emoji_base
36913+ - reaction_summary.reacted
36914+ - reaction_summary.variant
3674436915 - resource_subtype
3674536916 - source
3674636917 - sticker_name
@@ -37044,6 +37215,11 @@ paths:
3704437215 - previews.title_link
3704537216 - project
3704637217 - project.name
37218+ - reaction_summary
37219+ - reaction_summary.count
37220+ - reaction_summary.emoji_base
37221+ - reaction_summary.reacted
37222+ - reaction_summary.variant
3704737223 - resource_subtype
3704837224 - source
3704937225 - sticker_name
@@ -37183,6 +37359,11 @@ paths:
3718337359 - previews.title_link
3718437360 - project
3718537361 - project.name
37362+ - reaction_summary
37363+ - reaction_summary.count
37364+ - reaction_summary.emoji_base
37365+ - reaction_summary.reacted
37366+ - reaction_summary.variant
3718637367 - resource_subtype
3718737368 - source
3718837369 - sticker_name
0 commit comments