{
  "opencollection": "1.0.0",
  "info": {
    "name": "OpenProject API V3 (Stable) Actions & Capabilities Activities API",
    "version": "3"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Activities",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get an activity",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://qa.openproject-edge.com/api/v3/activities/:id",
            "params": [
              {
                "name": "id",
                "value": "1",
                "type": "path",
                "description": "Activity id"
              }
            ]
          },
          "docs": "Returns the requested activity resource identified by its unique id."
        },
        {
          "info": {
            "name": "Update activity",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://qa.openproject-edge.com/api/v3/activities/:id",
            "params": [
              {
                "name": "id",
                "value": "1",
                "type": "path",
                "description": "Activity id"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates an activity's comment and, on success, returns the updated activity."
        },
        {
          "info": {
            "name": "List attachments by activity",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://qa.openproject-edge.com/api/v3/activities/:id/attachments",
            "params": [
              {
                "name": "id",
                "value": "1",
                "type": "path",
                "description": "ID of the activity whose attachments will be listed"
              }
            ]
          },
          "docs": "List all attachments of a single activity."
        },
        {
          "info": {
            "name": "Add attachment to activity",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://qa.openproject-edge.com/api/v3/activities/:id/attachments",
            "params": [
              {
                "name": "id",
                "value": "1",
                "type": "path",
                "description": "ID of the activity to receive the attachment"
              }
            ],
            "body": {
              "type": "multipart-form",
              "data": []
            }
          },
          "docs": "Adds an attachment to the specified activity."
        },
        {
          "info": {
            "name": "List emoji reactions by activity",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://qa.openproject-edge.com/api/v3/activities/:id/emoji_reactions",
            "params": [
              {
                "name": "id",
                "value": "1",
                "type": "path",
                "description": "ID of the activity whose emoji reactions will be listed"
              }
            ]
          },
          "docs": "List all emoji reactions of a single activity."
        },
        {
          "info": {
            "name": "Toggle emoji reaction for an activity",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://qa.openproject-edge.com/api/v3/activities/:id/emoji_reactions",
            "params": [
              {
                "name": "id",
                "value": "1",
                "type": "path",
                "description": "ID of the activity to toggle emoji reaction for"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Toggle an emoji reaction for a given activity. If the user has already reacted with the given emoji,\nthe reaction will be removed. Otherwise, a new reaction will be created.\n\n**Note:** The response contains the complete collection of all emoji reactions for this activity.\n\n**Required permission:**\n- `add_work_package_comments`\n- for internal comments: `add_internal_comments`"
        },
        {
          "info": {
            "name": "List emoji reactions by work package activities",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://qa.openproject-edge.com/api/v3/work_packages/:id/activities_emoji_reactions",
            "params": [
              {
                "name": "id",
                "value": "1",
                "type": "path",
                "description": "ID of the work package whose activities' emoji reactions will be listed"
              }
            ]
          },
          "docs": "List all emoji reactions of all activities of a single work package."
        }
      ]
    }
  ],
  "bundled": true
}