Activiti Content API

Manage Contents

Operations 12

POST /api/enterprise/content createTemporaryRelatedContent #
POST /api/enterprise/content/raw createTemporaryRawRelatedContent #
GET /api/enterprise/content/{contentId} getContent #
DELETE /api/enterprise/content/{contentId} deleteContent #
GET /api/enterprise/content/{contentId}/raw getRawContent #
GET /api/enterprise/process-instances/{processInstanceId}/content getRelatedContentForProcessInstance #
POST /api/enterprise/process-instances/{processInstanceId}/content createRelatedContentOnProcessInstance #
GET /api/enterprise/process-instances/{processInstanceId}/field-content Retrieve content attached to process instance fields #
POST /api/enterprise/process-instances/{processInstanceId}/raw-content createRelatedContentOnProcessInstance #
GET /api/enterprise/tasks/{taskId}/content Retrieve which content is attached to a task #
POST /api/enterprise/tasks/{taskId}/content To relate content (eg from Alfresco) to a task #
POST /api/enterprise/tasks/{taskId}/raw-content Upload content to a task #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/activiti-content-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

activiti-content-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Activiti Public Rest Content API
  description: The Alfresco Activiti BPM Suite comes with a REST API.
  version: 1.4.0
  contact:
    name: Activiti Community
    url: https://www.activiti.org/
    email: activiti-community@alfresco.com
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.html
servers:
- url: https://{host}/activiti-app
  description: Activiti BPM Server
  variables:
    host:
      default: localhost:8080
      description: The Activiti server host
security:
- basicAuth: []
tags:
- name: Content
  description: Manage Contents
paths:
  /api/enterprise/content:
    post:
      tags:
      - Content
      summary: createTemporaryRelatedContent
      operationId: createTemporaryRelatedContentUsingPOST
      requestBody:
        description: relatedContent
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RelatedContentRepresentation'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RelatedContentRepresentation'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
  /api/enterprise/content/raw:
    post:
      tags:
      - Content
      summary: createTemporaryRawRelatedContent
      operationId: createTemporaryRawRelatedContentUsingPOST_1
      parameters:
      - name: file
        in: formData
        description: file
        required: true
        schema:
          type: file
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RelatedContentRepresentation'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
  /api/enterprise/content/{contentId}:
    get:
      tags:
      - Content
      summary: getContent
      operationId: getContentUsingGET_1
      parameters:
      - name: contentId
        in: path
        description: contentId
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RelatedContentRepresentation'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
    delete:
      tags:
      - Content
      summary: deleteContent
      operationId: deleteContentUsingDELETE_1
      parameters:
      - name: contentId
        in: path
        description: contentId
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
  /api/enterprise/content/{contentId}/raw:
    get:
      tags:
      - Content
      summary: getRawContent
      operationId: getRawContentUsingGET_3
      parameters:
      - name: contentId
        in: path
        description: contentId
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
  /api/enterprise/process-instances/{processInstanceId}/content:
    get:
      tags:
      - Content
      summary: getRelatedContentForProcessInstance
      operationId: getRelatedContentForProcessInstanceUsingGET
      parameters:
      - name: processInstanceId
        in: path
        description: processInstanceId
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResultListDataRepresentation'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
    post:
      tags:
      - Content
      summary: createRelatedContentOnProcessInstance
      operationId: createRelatedContentOnProcessInstanceUsingPOST
      parameters:
      - name: processInstanceId
        in: path
        description: processInstanceId
        required: true
        schema:
          type: string
      requestBody:
        description: relatedContent
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RelatedContentRepresentation'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RelatedContentRepresentation'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
  /api/enterprise/process-instances/{processInstanceId}/field-content:
    get:
      tags:
      - Content
      summary: Retrieve content attached to process instance fields
      operationId: getProcessInstanceContentUsingGET
      parameters:
      - name: processInstanceId
        in: path
        description: processInstanceId
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResultListDataRepresentation'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
  /api/enterprise/process-instances/{processInstanceId}/raw-content:
    post:
      tags:
      - Content
      summary: createRelatedContentOnProcessInstance
      operationId: createRelatedContentOnProcessInstanceUsingPOST_1
      parameters:
      - name: processInstanceId
        in: path
        description: processInstanceId
        required: true
        schema:
          type: string
      - name: file
        in: formData
        description: file
        required: true
        schema:
          type: file
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RelatedContentRepresentation'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
  /api/enterprise/tasks/{taskId}/content:
    get:
      tags:
      - Content
      summary: Retrieve which content is attached to a task
      operationId: getRelatedContentForTaskUsingGET
      parameters:
      - name: taskId
        in: path
        description: taskId
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResultListDataRepresentation'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
    post:
      tags:
      - Content
      summary: To relate content (eg from Alfresco) to a task
      operationId: createRelatedContentOnTaskUsingPOST
      parameters:
      - name: taskId
        in: path
        description: taskId
        required: true
        schema:
          type: string
      - name: isRelatedContent
        in: query
        description: isRelatedContent
        required: false
        schema:
          type: boolean
      requestBody:
        description: relatedContent
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RelatedContentRepresentation'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RelatedContentRepresentation'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
  /api/enterprise/tasks/{taskId}/raw-content:
    post:
      tags:
      - Content
      summary: Upload content to a task
      operationId: createRelatedContentOnTaskUsingPOST_1
      parameters:
      - name: taskId
        in: path
        description: taskId
        required: true
        schema:
          type: string
      - name: file
        in: formData
        description: file
        required: true
        schema:
          type: file
      - name: isRelatedContent
        in: query
        description: isRelatedContent
        required: false
        schema:
          type: boolean
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RelatedContentRepresentation'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
components:
  schemas:
    ResultListDataRepresentation:
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/AbstractRepresentation'
        size:
          type: integer
          format: int32
        start:
          type: integer
          format: int32
        total:
          type: integer
          format: int32
    LightUserRepresentation:
      properties:
        email:
          type: string
        externalId:
          type: string
        firstName:
          type: string
        id:
          type: integer
          format: int64
        lastName:
          type: string
        pictureId:
          type: integer
          format: int64
    RelatedContentRepresentation:
      properties:
        contentAvailable:
          type: boolean
        created:
          type: string
          format: date-time
        createdBy:
          $ref: '#/components/schemas/LightUserRepresentation'
        id:
          type: integer
          format: int64
        link:
          type: boolean
        linkUrl:
          type: string
        mimeType:
          type: string
        name:
          type: string
        previewStatus:
          type: string
        simpleType:
          type: string
        source:
          type: string
        sourceId:
          type: string
        thumbnailStatus:
          type: string
    AbstractRepresentation: {}
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
      description: HTTP Basic Authentication using valid Activiti user credentials