EHRbase Admin - Contribution API

The Admin - Contribution API from EHRbase — 1 operation(s) for admin - contribution.

Operations 2

PUT /rest/admin/ehr/{ehr_id}/contribution/{contribution_id} Update contribution #
DELETE /rest/admin/ehr/{ehr_id}/contribution/{contribution_id} Not supported since 2.0.0 #

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/ehrbase-admin-contribution-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

ehrbase-admin-contribution-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: EHRbase Admin - Contribution API
  description: 'EHRbase implements the official openEHR REST API. Additionally, EHRbase provides a custom `status` heartbeat endpoint, an Admin API (if activated) and a Status and Metrics API (if activated) for monitoring and maintenance. Note: The openEHR REST API is documented in their official documentation, not here. Please refer to their separate documentation.'
  license:
    name: Apache 2.0
    url: https://github.com/ehrbase/ehrbase/blob/develop/LICENSE.md
  version: v1
servers:
- url: https://sandkiste.ehrbase.org/ehrbase
  description: Generated server url
tags:
- name: Admin - Contribution
paths:
  /rest/admin/ehr/{ehr_id}/contribution/{contribution_id}:
    put:
      tags:
      - Admin - Contribution
      operationId: updateContribution
      parameters:
      - name: ehr_id
        in: path
        description: Target EHR id to update contribution inside.
        required: true
        schema:
          type: string
      - name: contribution_id
        in: path
        description: Target Contribution id to update
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Contribution has been updated successfully.
          headers:
            Content-Type:
              description: Format of response
              style: simple
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdminUpdateResponseData'
            application/xml:
              schema:
                $ref: '#/components/schemas/AdminUpdateResponseData'
        '401':
          description: Client credentials invalid or have expired.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdminUpdateResponseData'
            application/xml:
              schema:
                $ref: '#/components/schemas/AdminUpdateResponseData'
        '403':
          description: Client does not have permission to access since admin role is missing.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdminUpdateResponseData'
            application/xml:
              schema:
                $ref: '#/components/schemas/AdminUpdateResponseData'
        '404':
          description: EHR or Contribution could not be found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdminUpdateResponseData'
            application/xml:
              schema:
                $ref: '#/components/schemas/AdminUpdateResponseData'
      summary: Update contribution
      x-summary-source: derived
    delete:
      tags:
      - Admin - Contribution
      summary: Not supported since 2.0.0
      operationId: deleteContribution
      parameters:
      - name: ehr_id
        in: path
        description: Target EHR id to update contribution inside.
        required: true
        schema:
          type: string
      - name: contribution_id
        in: path
        description: Target Contribution id to update
        required: true
        schema:
          type: string
      responses:
        '501':
          description: Contribution delete is not supported since 2.0.0.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdminDeleteResponseData'
            application/xml:
              schema:
                $ref: '#/components/schemas/AdminDeleteResponseData'
components:
  schemas:
    AdminDeleteResponseData:
      type: object
      properties:
        deleted:
          type: integer
          format: int32
    AdminUpdateResponseData:
      type: object
      properties:
        updated:
          type: integer
          format: int32
externalDocs:
  description: EHRbase Documentation
  url: https://docs.ehrbase.org/